Skip to content

Commit 5f4b50b

Browse files
authored
Merge pull request #577 from miniBill/patch-1
Fix documentation for rgb, rgba, hsl, hsla, hex
2 parents 520a974 + 29918e8 commit 5f4b50b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Css.elm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1565,7 +1565,7 @@ initial =
15651565
}
15661566

15671567

1568-
{-| [RGB color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#rgb())
1568+
{-| [RGB color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#rgb)
15691569
in functional notation.
15701570
-}
15711571
rgb : Int -> Int -> Int -> Color
@@ -1579,7 +1579,7 @@ rgb r g b =
15791579
}
15801580

15811581

1582-
{-| [RGBA color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#rgba()).
1582+
{-| [RGBA color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#rgba).
15831583
-}
15841584
rgba : Int -> Int -> Int -> Float -> Color
15851585
rgba r g b alpha =
@@ -1592,7 +1592,7 @@ rgba r g b alpha =
15921592
}
15931593

15941594

1595-
{-| [HSL color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#hsl())
1595+
{-| [HSL color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#hsl)
15961596
`s` and `l` values are expressed as a number between 0 and 1 and are converted
15971597
to the appropriate percentage at compile-time
15981598
-}
@@ -1611,7 +1611,7 @@ hsl hueVal saturationVal lightnessVal =
16111611
hslaToRgba value hueVal saturationVal lightnessVal 1
16121612

16131613

1614-
{-| [HSLA color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#hsla())
1614+
{-| [HSLA color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#hsla)
16151615
`s` and `l` values are expressed as a number between 0 and 1 and are converted
16161616
to the appropriate percentage at compile-time
16171617
-}
@@ -1631,7 +1631,7 @@ hsla hueVal saturationVal lightnessVal alpha =
16311631
hslaToRgba value hueVal saturationVal lightnessVal alpha
16321632

16331633

1634-
{-| [RGB color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#rgb())
1634+
{-| [RGB color value](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#rgb)
16351635
in hexadecimal notation. You can optionally include `#` as the first character,
16361636
for benefits like syntax highlighting in editors, ease of copy/pasting from
16371637
tools which express these as e.g. `#abcdef0`, etc.

0 commit comments

Comments
 (0)