Skip to content

Commit 2d93dc6

Browse files
sahil839danielpyon
authored andcommitted
styles: Rename night_mode.css to dark_theme.css.
Fixes part of zulip#20228.
1 parent 3d02a3d commit 2d93dc6

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

postcss.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const {media_breakpoints} = require("./static/js/css_variables");
66

77
module.exports = ({file}) => ({
88
plugins: [
9-
(file.basename ?? path.basename(file)) === "night_mode.css" &&
9+
(file.basename ?? path.basename(file)) === "dark_theme.css" &&
1010
// Add postcss-import plugin with postcss-prefixwrap to handle
1111
// the flatpickr dark theme. We do this because flatpickr themes
1212
// are not scoped. See https://github.com/flatpickr/flatpickr/issues/2168.

static/js/bundles/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ import "../../styles/popovers.css";
5151
import "../../styles/recent_topics.css";
5252
import "../../styles/typing_notifications.css";
5353
import "../../styles/hotspots.css";
54-
import "../../styles/night_mode.css";
54+
import "../../styles/dark_theme.css";
5555
import "../../styles/user_status.css";
5656
import "../../styles/widgets.css";
5757

File renamed without changes.

0 commit comments

Comments
 (0)