styles: Rename night_mode.css to dark_theme.css.

Fixes part of #20228.
This commit is contained in:
Sahil Batra 2021-11-18 15:28:39 +05:30 committed by Tim Abbott
parent 08404f2824
commit 291f8e570d
3 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ const {media_breakpoints} = require("./static/js/css_variables");
module.exports = ({file}) => ({ module.exports = ({file}) => ({
plugins: [ plugins: [
(file.basename ?? path.basename(file)) === "night_mode.css" && (file.basename ?? path.basename(file)) === "dark_theme.css" &&
// Add postcss-import plugin with postcss-prefixwrap to handle // Add postcss-import plugin with postcss-prefixwrap to handle
// the flatpickr dark theme. We do this because flatpickr themes // the flatpickr dark theme. We do this because flatpickr themes
// are not scoped. See https://github.com/flatpickr/flatpickr/issues/2168. // are not scoped. See https://github.com/flatpickr/flatpickr/issues/2168.

View File

@ -51,7 +51,7 @@ import "../../styles/popovers.css";
import "../../styles/recent_topics.css"; import "../../styles/recent_topics.css";
import "../../styles/typing_notifications.css"; import "../../styles/typing_notifications.css";
import "../../styles/hotspots.css"; import "../../styles/hotspots.css";
import "../../styles/night_mode.css"; import "../../styles/dark_theme.css";
import "../../styles/user_status.css"; import "../../styles/user_status.css";
import "../../styles/widgets.css"; import "../../styles/widgets.css";