mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
feat(v2): introduce new minification of CSS bundle (#3716)
* feat(v2): optimize CSS bundle * Move to separate preset * Move custom scrollbar styles to separate class * Cleanup styles * Remove unactual styles * Various CSS optimizations, cleanup styles for NProgress * Add ability to back to old way of minifying CSS * chore(v2): downgrade babel-plugin-dynamic-import-node to 2.3.0 * Use env var for back to simple CSS minifier * remove unnecessary typing [skip-ci] * Remove missing dep * Update website/docs/cli.md Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
This commit is contained in:
parent
9afe4b5447
commit
487a9f98e4
20 changed files with 386 additions and 107 deletions
|
@ -0,0 +1,8 @@
|
|||
:root {
|
||||
--color-primary: red;
|
||||
--color-secondary: green;
|
||||
--color-primary: blue;
|
||||
--color-header: gray !important;
|
||||
--color-header: black;
|
||||
--color-secondary: yellow !important;
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
:root {
|
||||
--color-primary: red;
|
||||
--color-primary: red;
|
||||
--color-secondary: green;
|
||||
--color-primary: blue;
|
||||
--color-header: gray;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue