fix(nitro themes): mkae nitro themes work?

This commit is contained in:
cocobo1 2025-09-14 11:11:07 +03:00
parent 788d0c12a8
commit 736b56ffd4
3 changed files with 2 additions and 6 deletions

View file

@ -74,7 +74,7 @@ const config = {
constModules: {
globals: {
"bunny-build-info": {
version: `"v1.1.0"`
version: `"1.2.0"`
}
}
},

View file

@ -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)) {

View file

@ -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";
}