ConnorSkees
|
2f54de15c5
|
Allow optional alpha argument in rgb()
|
2020-02-09 15:07:29 -05:00 |
|
ConnorSkees
|
d6ed0391db
|
Handle function calls in call args
|
2020-02-09 14:27:54 -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
|
22670a7e4b
|
Implement builtin function str-length
|
2020-02-08 20:38:37 -05:00 |
|
ConnorSkees
|
07845beee9
|
Implement to-upper-case() and to-lower-case()
|
2020-02-08 20:32:10 -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
|
4585558266
|
Add (variable|function|mixin)-exists builtin functions
|
2020-02-08 17:41:54 -05:00 |
|
ConnorSkees
|
cbec684052
|
Test for hyphen/dash interchangable and number after interpolation
|
2020-02-08 17:33:52 -05:00 |
|
ConnorSkees
|
29917d95d4
|
Handle == and !=
|
2020-02-08 15:53:57 -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
|
6607101d4d
|
Implement Add for more types
|
2020-02-03 15:36:11 -05:00 |
|
ConnorSkees
|
ed44f125f7
|
Add builtin function inspect()
|
2020-02-03 15:18:12 -05:00 |
|
ConnorSkees
|
f0185855c0
|
Add more feature-exists tests for unimplemented features
|
2020-02-03 15:08:14 -05:00 |
|
ConnorSkees
|
816688cb84
|
Implement unitless builtin function
|
2020-02-03 08:10:55 -05:00 |
|
ConnorSkees
|
901bdcae3b
|
Implement type-of builtin function
|
2020-02-03 07:56:21 -05:00 |
|
ConnorSkees
|
c92781a20e
|
Add unit function
|
2020-02-03 07:35:04 -05:00 |
|
ConnorSkees
|
e57a189c77
|
Handle quotes in feature-exists
|
2020-02-03 07:27:57 -05:00 |
|
ConnorSkees
|
8eb9620a1a
|
Refactor builtin function declaration
|
2020-02-03 07:11:35 -05:00 |
|
ConnorSkees
|
6faebf5105
|
HACK: parse interpolations into values then tokens
|
2020-02-02 21:11:22 -05:00 |
|
ConnorSkees
|
4263fd2532
|
Devour whitespace after {
|
2020-02-02 18:01:09 -05:00 |
|
ConnorSkees
|
231252a9d9
|
Remove redundant tests
|
2020-02-02 17:44:39 -05:00 |
|
ConnorSkees
|
9c97c734ef
|
Strip whitespace inside pseudo paren selectors
|
2020-02-02 15:21:47 -05:00 |
|
ConnorSkees
|
ee44982198
|
Handle pseudo elements like ::before
|
2020-02-02 15:06:46 -05:00 |
|
ConnorSkees
|
89060a0e83
|
Implement ident substraction
|
2020-02-02 14:46:58 -05:00 |
|
ConnorSkees
|
ffff80109b
|
Implement ident addition
|
2020-02-02 11:17:23 -05:00 |
|
ConnorSkees
|
6bc96aeff4
|
clippy and rustfmt
|
2020-02-02 10:27:08 -05:00 |
|
ConnorSkees
|
bad318aae8
|
Handle no space between colon when also missing semicolon
|
2020-02-01 23:22:36 -05:00 |
|
ConnorSkees
|
b8bacbde8b
|
Refactor tests into separate files
|
2020-02-01 23:09:22 -05:00 |
|
ConnorSkees
|
ea03f71928
|
Refactor style parsing
|
2020-02-01 21:59:23 -05:00 |
|
ConnorSkees
|
8e42d73c1e
|
Initial implementation of nested styles
|
2020-02-01 19:33:56 -05:00 |
|
ConnorSkees
|
06be720f49
|
Tests for nested selector combinators
|
2020-02-01 11:31:49 -05:00 |
|
ConnorSkees
|
3699f987c8
|
Print 2 newlines between unrelated styles
|
2020-01-29 21:25:07 -05:00 |
|
ConnorSkees
|
304c7b7489
|
Move cfg(test) to toplevel
|
2020-01-29 21:05:03 -05:00 |
|
ConnorSkees
|
d464124ae0
|
Handle !default
|
2020-01-29 21:02:32 -05:00 |
|
ConnorSkees
|
ae708091a6
|
Allow numbers in variable names
|
2020-01-27 17:21:18 -05:00 |
|
ConnorSkees
|
7975d468f1
|
Remove quotes from interpolation (naively)
|
2020-01-27 17:15:02 -05:00 |
|