Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

styles: Rename night_mode.css to dark_theme.css.

Sahil Batra291f8e570dbe
diff --git a/postcss.config.js b/postcss.config.js
index d7f53cc6d28..40a1f9f70d3 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 411310509ea..ff1ec73e24a 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