Standardize shell UI theme tokens

This commit is contained in:
Ryan Hughes
2026-05-18 20:13:12 -04:00
parent 44dff2d23d
commit 8b2bb217d6
43 changed files with 1622 additions and 873 deletions
+7
View File
@@ -3,6 +3,8 @@ import QtQml.Models
import Quickshell
import Quickshell.Io
import qs.Commons as NoctaliaCommons
import "plugins/bar"
import "services"
@@ -598,18 +600,23 @@ ShellRoot {
try { colorsRaw = Qt.atob(String(colorsB64 || "")) } catch (e) { colorsRaw = "" }
try { shellRaw = Qt.atob(String(shellB64 || "")) } catch (e2) { shellRaw = "" }
NoctaliaCommons.Color.resumeThemeReloads()
NoctaliaCommons.Style.resumeThemeReloads()
NoctaliaCommons.Color.loadColors(colorsRaw)
NoctaliaCommons.Color.loadShell(shellRaw)
NoctaliaCommons.Style.loadShell(shellRaw)
NoctaliaCommons.Style.scheduleRefresh()
return "ok"
}
function suspendThemeReloads(): string {
NoctaliaCommons.Color.suspendThemeReloads()
NoctaliaCommons.Style.suspendThemeReloads()
return "ok"
}
function reloadTheme(): string {
NoctaliaCommons.Color.reloadTheme()
NoctaliaCommons.Style.reloadTheme()
return "ok"
}