Releases: master-co/css
Releases · master-co/css
v2.0.0-rc.45
v2.0.0-rc.44
v2.0.0-rc.43
v2.0.0-rc.42
New Features
-
defaultMode
config option, resolved #357 @1aron 5d07398 #357Default light mode
// master.css.js export default { defaultMode: 'light' // default }
Generated CSS:
.light, :root { --primary: 0 0 0; }
Now using variables with theme mode such as
fg:blue
does not require addinghtml.light
in advance.-<html class="light"> +<html>
If your application supports light/dark,
html.light
is still required. This change mainly improves the startup experience of projects without theme mode.No default mode
// master.css.js export default { defaultMode: false }
Generated CSS:
.light { --primary: 0 0 0; }