css: Replace "night-mode-block" with "dark-theme-block".

This commit is contained in:
Sahil Batra 2021-11-26 15:30:13 +05:30 committed by Tim Abbott
parent 2feb1443df
commit 99acb9a876
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ module.exports = ({file}) => ({
// the flatpickr dark theme. We do this because flatpickr themes
// are not scoped. See https://github.com/flatpickr/flatpickr/issues/2168.
require("postcss-import")({
plugins: [require("postcss-prefixwrap")("%night-mode-block")],
plugins: [require("postcss-prefixwrap")("%dark-theme-block")],
}),
require("postcss-nested"),
require("postcss-extend-rule"),

View File

@ -4,7 +4,7 @@ body.dark-theme {
/* the following block(s) are generated by the import statements.
See postcss.config.js for details.
*/
@extend %night-mode-block;
@extend %dark-theme-block;
background-color: hsl(212, 28%, 18%);
color: hsl(236, 33%, 90%);