776 Commits

Author SHA1 Message Date
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
ConnorSkees
889488121a Remove extra commas in selectors 2020-01-26 19:16:26 -05:00
ConnorSkees
15edae53d6 Lex attributes in a much more robust way :) 2020-01-26 19:07:24 -05:00
ConnorSkees
c7efbc7e05 Properly interpolate values coming from variables 2020-01-26 18:43:07 -05:00
ConnorSkees
1761af0a01 Handle toplevel @include 2020-01-26 17:28:39 -05:00
ConnorSkees
934f9d860d Handle comments between selectors 2020-01-26 16:55:06 -05:00
ConnorSkees
a8ebc91702 Normalize newlines in comments 2020-01-26 16:50:08 -05:00
ConnorSkees
e2a487a59b Handle comments inside call args 2020-01-26 13:53:18 -05:00
ConnorSkees
8756adaaaf Truncate keywords (some of them probably shouldn't be keywords) 2020-01-26 12:34:04 -05:00
ConnorSkees
63dd66f0f7 Handle arbitrary attribute modifiers (kinda) 2020-01-26 12:23:21 -05:00
ConnorSkees
c183ea8c1e Test for returning variable in function and calling functions with variables as parameter 2020-01-26 11:47:46 -05:00
ConnorSkees
65030eb7ea Handle uppercase I in attribute selectors 2020-01-26 11:47:00 -05:00
ConnorSkees
3e45f05d97 Handle whitespace with interpolated super selector 2020-01-26 11:17:48 -05:00
ConnorSkees
4e6ae91825 Handle interpolated super selectors 2020-01-26 11:07:57 -05:00
ConnorSkees
e0026d5e11 Add basic tests for functions 2020-01-25 20:59:16 -05:00
ConnorSkees
fcb1a71557 Test for empty mixins 2020-01-25 18:42:49 -05:00
ConnorSkees
59cead8ebd Refactor tests into separate directory 2020-01-25 11:06:49 -05:00