fix(nitro themes): mkae nitro themes work?
This commit is contained in:
parent
788d0c12a8
commit
736b56ffd4
3 changed files with 2 additions and 6 deletions
|
|
@ -74,7 +74,7 @@ const config = {
|
|||
constModules: {
|
||||
globals: {
|
||||
"bunny-build-info": {
|
||||
version: `"v1.1.0"`
|
||||
version: `"1.2.0"`
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ export function serve(options) {
|
|||
|
||||
server.listen(args.port ?? 4040);
|
||||
|
||||
console.info(chalk.bold.yellowBright("Serving ra1n on:"));
|
||||
console.info(chalk.bold.yellowBright("Serving Kettu on:"));
|
||||
|
||||
const netInterfaces = os.networkInterfaces();
|
||||
for (const netinterfaces of Object.values(netInterfaces)) {
|
||||
|
|
|
|||
|
|
@ -25,10 +25,6 @@ function getBarStyle() {
|
|||
return (lowerTheme.includes("dark") || lowerTheme.includes("midnight")) ? "light-content" : "dark-content";
|
||||
}
|
||||
|
||||
if (typeof ThemeStore?.isDark === "boolean") {
|
||||
return ThemeStore.isDark ? "light-content" : "dark-content";
|
||||
}
|
||||
|
||||
return "dark-content";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue