Skip to content

Commit

Permalink
Hide theme in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
mstijak committed May 8, 2024
1 parent 040b9c3 commit 94554e2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gallery/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@ let themes = {
"~/material-dark": "Material Dark",
"~/space-blue": "Space Blue",
"~/dark": "Dark",
"~/packed-dark": "Packed Dark",
};

if (process.env.NODE_ENV == "development") {
// not ready for prime time
themes["~/packed-dark"] = "Packed Dark";
}

export default (
<cx>
<MasterLayout
Expand Down

0 comments on commit 94554e2

Please sign in to comment.