ConnorSkees
|
f6b27177ba
|
Use Number as to represent color channels so precision is not lost
|
2020-02-09 18:53:48 -05:00 |
|
ConnorSkees
|
2f54de15c5
|
Allow optional alpha argument in rgb()
|
2020-02-09 15:07:29 -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
|
835fe61bb4
|
Implement subtraction for colors
|
2020-02-09 11:07:13 -05:00 |
|
ConnorSkees
|
2b3d8fcce7
|
Implement addition between colors and idents
|
2020-02-09 10:49:37 -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
|
2a6ec38fd4
|
Special case builtin function opacity(number)
|
2020-02-08 18:55:48 -05:00 |
|
ConnorSkees
|
bf98382b0b
|
Improve alpha/opacity function tests
|
2020-02-08 18:51:29 -05:00 |
|
ConnorSkees
|
44d257494a
|
Properly print decimal numbers
|
2020-02-08 18:43:18 -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 |
|