diff --git a/postcss.config.js b/postcss.config.js index d7f53cc6d2..40a1f9f70d 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -6,7 +6,7 @@ const {media_breakpoints} = require("./static/js/css_variables"); module.exports = ({file}) => ({ 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 // the flatpickr dark theme. We do this because flatpickr themes // are not scoped. See https://github.com/flatpickr/flatpickr/issues/2168. diff --git a/static/js/bundles/app.js b/static/js/bundles/app.js index 411310509e..ff1ec73e24 100644 --- a/static/js/bundles/app.js +++ b/static/js/bundles/app.js @@ -51,7 +51,7 @@ import "../../styles/popovers.css"; import "../../styles/recent_topics.css"; import "../../styles/typing_notifications.css"; import "../../styles/hotspots.css"; -import "../../styles/night_mode.css"; +import "../../styles/dark_theme.css"; import "../../styles/user_status.css"; import "../../styles/widgets.css"; diff --git a/static/styles/night_mode.css b/static/styles/dark_theme.css similarity index 100% rename from static/styles/night_mode.css rename to static/styles/dark_theme.css