Structs§
- CssPath 🔒
Functions§
- get_
differences 🔒 - get_
inside_ 🔒paren - get_
string 🔒 - When encountering a
"
or a'
, returns the whole string, including the quote characters. - handle_
common_ 🔒chars - load_
css_ 🔒paths - The entry point to parse the CSS rules. Every time we encounter a
{
, we then parse the rules inside it. - parse_
property_ 🔒name - Returns a CSS property name. Ends when encountering a
:
character. - parse_
property_ 🔒value - Try to get the value of a CSS property (the
#fff
incolor: #fff
). It’ll stop when it encounters a{
or a;
character. - parse_
rules 🔒 - This is used to parse inside a CSS
{}
block. If we encounter a new{
inside it, we consider it as a new block and therefore recurse intoparse_rules
. - parse_
selectors 🔒 - skip_
comment 🔒 - Skips a
/*
comment. - skip_
line_ 🔒comment - Skips a line comment (
//
). - test_
theme_ 🔒against