16 Commits

Author SHA1 Message Date
Evan Wallace
a33449bba6 initial support for conditional css imports (#953) 2021-03-11 10:11:21 -08:00
Evan Wallace
7817a19c3c remove support for "@namespace" 2021-02-25 15:03:17 -08:00
Evan Wallace
24f23055b3 fix #760: verbatim whitespace for css variables 2021-02-07 18:29:05 -08:00
Evan Wallace
694e2cc83d improve handling of escape sequences in css tokens 2020-10-24 03:08:09 -07:00
Evan Wallace
9f40a9545c parse css colors before minifying 2020-09-30 00:54:26 -07:00
Evan Wallace
25afa74c36 lower css color syntax for older browsers 2020-09-30 00:10:15 -07:00
Evan Wallace
2ba28c6729 minify some css colors 2020-09-29 22:03:28 -07:00
Evan Wallace
74b71cf226 fix #415: extract paths from css url tokens 2020-09-29 00:32:08 -07:00
Evan Wallace
d10cb700b4 decode and re-encode css strings 2020-09-28 22:50:45 -07:00
Evan Wallace
6da1e88005 change the token representation in the css ast 2020-09-28 19:32:11 -07:00
Evan Wallace
4ae5ca0772 special parsing for "@keyframes" rules 2020-09-28 17:51:46 -07:00
Evan Wallace
5382eb3307 comments for css code 2020-09-26 19:50:27 -07:00
Evan Wallace
eee9be7275 add import records to css 2020-09-26 18:22:58 -07:00
Evan Wallace
316804b68f @charset and @namespace 2020-09-26 18:22:58 -07:00
Evan Wallace
02f5e2e681 add css printer tests 2020-09-26 18:22:58 -07:00
Evan Wallace
99bafd0d45 add an initial css lexer+parser+printer (#20) 2020-09-12 16:18:18 -07:00