ConnorSkees
|
a328617001
|
Implement builtin function change-color()
|
2020-02-14 17:38:10 -05:00 |
|
ConnorSkees
|
af95658953
|
Implement builtin function mix()
|
2020-02-14 16:56:23 -05:00 |
|
ConnorSkees
|
c04f83ddcf
|
Refactor Color functions into multiple impl blocks
|
2020-02-14 15:22:39 -05:00 |
|
ConnorSkees
|
3af2292d5b
|
Implement builtin function complement()
|
2020-02-14 12:56:28 -05:00 |
|
ConnorSkees
|
08bfa8f145
|
Implement one and two args for rgba()
|
2020-02-14 11:52:31 -05:00 |
|
ConnorSkees
|
a2ddc8016f
|
Implement builtin functions fade-in() , fade-out() , opacify() , and transparentize()
|
2020-02-14 11:10:25 -05:00 |
|
ConnorSkees
|
38802b69c5
|
Fix hue algorithm when red == blue and red > green
|
2020-02-14 09:46:50 -05:00 |
|
ConnorSkees
|
201f97a914
|
Fix how hue is calculated when color channels are equal
|
2020-02-14 09:37:05 -05:00 |
|
ConnorSkees
|
be84350d19
|
Implement builtin functions saturate() and desaturate()
|
2020-02-14 09:05:57 -05:00 |
|
ConnorSkees
|
c7c1ad5fe5
|
Implement builtin function darken()
|
2020-02-14 08:54:43 -05:00 |
|
ConnorSkees
|
db8e8eaebb
|
Implement builtin function lighten()
|
2020-02-14 08:43:10 -05:00 |
|
ConnorSkees
|
6427a7ab81
|
Implement builtin function adjust-hue
|
2020-02-14 08:15:19 -05:00 |
|
ConnorSkees
|
7fcfeee97e
|
clippy
|
2020-02-09 19:07:44 -05:00 |
|
ConnorSkees
|
f6b27177ba
|
Use Number as to represent color channels so precision is not lost
|
2020-02-09 18:53:48 -05:00 |
|
ConnorSkees
|
b8d8824db9
|
Lex and parse negative numbers
|
2020-02-09 15:08:33 -05:00 |
|
ConnorSkees
|
bc0c1d35f6
|
Clamp values passed to from_hsla()
|
2020-02-09 14:24:27 -05:00 |
|
ConnorSkees
|
d14ac11396
|
Implement weight for invert()
|
2020-02-09 13:44:27 -05:00 |
|
ConnorSkees
|
1269c9f662
|
Initial implementation of invert() (no support for weight argument)
|
2020-02-09 13:31:58 -05:00 |
|
ConnorSkees
|
8638e2f251
|
Implement builtin functions hue() , saturation() , and lightness()
|
2020-02-09 12:18:41 -05:00 |
|
ConnorSkees
|
e282220f8c
|
Refactor how color repr is created
|
2020-02-09 10:56:45 -05:00 |
|
ConnorSkees
|
901c911b5b
|
Handle percentages and large/small values inside rgb() and rgba()
|
2020-02-09 10:41:05 -05:00 |
|
ConnorSkees
|
3d0d37bf2d
|
Convert colors resulting from functions to named colors when applicable
|
2020-02-09 03:43:46 -05:00 |
|
ConnorSkees
|
5cab99cd6e
|
Implement hsl() and hsla() functions
|
2020-02-09 03:13:31 -05:00 |
|
ConnorSkees
|
6c8dd6de93
|
rustfmt
|
2020-02-08 20:20:03 -05:00 |
|
ConnorSkees
|
c75e5cc553
|
Properly parse floating point numbers and rgba()
|
2020-02-08 20:07:20 -05:00 |
|
ConnorSkees
|
04d2c4ab74
|
Implement built in functions opacity and alpha
|
2020-02-08 17:49:23 -05:00 |
|
ConnorSkees
|
74a81060ba
|
Remove Color tokenkind
|
2020-02-08 13:16:53 -05:00 |
|
ConnorSkees
|
08ca3f6d01
|
Initial implementation of rgb() function
|
2020-02-08 09:37:48 -05:00 |
|
ConnorSkees
|
c5bc6062a0
|
Implement basic color parsing
|
2020-02-08 08:48:31 -05:00 |
|
ConnorSkees
|
76b2685894
|
Lex and parse named colors
|
2020-02-07 00:10:43 -05:00 |
|
ConnorSkees
|
d9339a68b5
|
Refactor colors
|
2020-02-03 16:44:07 -05:00 |
|