Skip to content

Commit b945ca1

Browse files
authored
Fix: Downcase theme selection (#2921)
1 parent 430d6a2 commit b945ca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

set_theme.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const fs = require("fs");
22
const path = require("path");
33

44
// Get the theme name from the environment variable, default to "default"
5-
const theme = process.env.PWP__THEME || "default";
5+
const theme = (process.env.PWP__THEME || "default").toLowerCase();
66

77
// Define paths
88
const themesDir = path.resolve(__dirname, "./app/assets/stylesheets/themes");

0 commit comments

Comments
 (0)