Skip to content

Commit 029474c

Browse files
committed
build: update postcss config
1 parent ddf5c4e commit 029474c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

build/postcss.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module.exports = context => {
1010
return {
1111
map: context.file.dirname.includes('examples') ? false : mapConfig,
1212
plugins: {
13+
'postcss-drop-empty-css-vars': {},
1314
autoprefixer: {
1415
cascade: false
1516
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint lockfile-lint",
5353
"docs": "npm-run-all docs-build docs-lint",
5454
"docs-build": "hugo --cleanDestinationDir --printUnusedTemplates",
55-
"docs-version": "hugo version",
5655
"docs-compile": "npm run docs-build",
5756
"docs-vnu": "node build/vnu-jar.js",
5857
"docs-lint": "npm run docs-vnu",
@@ -127,6 +126,7 @@
127126
"npm-run-all": "^4.1.5",
128127
"postcss": "^8.4.23",
129128
"postcss-cli": "^10.1.0",
129+
"postcss-drop-empty-css-vars": "^0.0.0",
130130
"rollup": "^3.21.1",
131131
"rollup-plugin-istanbul": "^4.0.0",
132132
"rtlcss": "^4.1.0",

scss/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1932,7 +1932,7 @@ $sidebar-toggler-transition: transform .15s !default;
19321932

19331933
$sidebar-toggler-indicator-width: 4rem !default;
19341934
$sidebar-toggler-indicator-height: 3rem !default;
1935-
$sidebar-toggler-indicator-color: $body-secondary-color !default;
1935+
$sidebar-toggler-indicator-color: $disabled-inverse !default;
19361936
$sidebar-toggler-indicator-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='#{$sidebar-toggler-indicator-color}' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E") !default;
19371937
$sidebar-toggler-hover-bg: rgba(0, 0, 0, .3) !default;
19381938
$sidebar-toggler-indicator-hover-color: $sidebar-nav-link-hover-color !default;

0 commit comments

Comments
 (0)