From b8668601776c00e0e14d52cd1b7282790091181a Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Thu, 14 Jul 2022 11:54:23 +0800 Subject: [PATCH] fix: admin ui theme system not working in production env Signed-off-by: Ryan Wang --- tailwind.config.js | 1 + vite.config.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/tailwind.config.js b/tailwind.config.js index 82945ac9..82ede74f 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -39,4 +39,5 @@ module.exports = { ], }), ], + safelist: ["theme-dark"], }; diff --git a/vite.config.ts b/vite.config.ts index d6881370..e1f7b541 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -57,6 +57,7 @@ export default ({ mode }: { mode: string }) => { description: "Web Client For Halo", theme_color: "#fff", }, + disable: true, }), ], resolve: {