A quick PoC that uses vars in user-colors.css. Anything not defined by the user takes its default value.
All vars are kept in the root scope for simplicity. The big drawback here is needing unique and consequently verbose naming. SCSS/sass would cleaner, but that's another dependency.
A quick PoC that uses vars in
user-colors.css
. Anything not defined by the user takes its default value.All vars are kept in the root scope for simplicity. The big drawback here is needing unique and consequently verbose naming. SCSS/sass would cleaner, but that's another dependency.