wip: theme system

- Add theme id
- WIP theme cache key
- Force scheme (light/dark) for dynamic theme
- でびるんちゃんかわいい
This commit is contained in:
2025-11-09 00:32:28 +08:00
parent 7a3c186743
commit 3679831201
12 changed files with 221 additions and 968 deletions

View File

@ -35,3 +35,11 @@ class ThemeQmlExposer(QObject):
@Property(QColor, notify=themeChanged)
def error(self):
return self._themeImpl.customPalette["error"]
@Property(QColor, notify=themeChanged)
def toolTipBase(self):
return self._themeImpl.customPalette["toolTipBase"]
@Property(QColor, notify=themeChanged)
def toolTipText(self):
return self._themeImpl.customPalette["toolTipText"]