make text color derive from base00

This commit is contained in:
lucy 2026-08-25 20:45:16 +02:00
commit d216659564
4 changed files with 30 additions and 19 deletions

View file

@ -2,16 +2,27 @@ pragma ComponentBehavior: Bound
pragma Singleton
import QtQuick
import Quickshell
import Quickshell.Io
import "Colors.js" as Colors
Singleton {
id: root
Process {
running: true
id: checkRosePine
command: [ "tinty", "current" ]
stdout: StdioCollector {
id: collector
}
onExited: { console.log(collector.text) }
}
readonly property color accent: base0D
readonly property color barBg: base01
readonly property color moduleBg: Qt.hsla(base01.hslHue, base01.hslSaturation, base01.hslLightness + 0.05, 1.0)
readonly property color activeModuleBg: Qt.hsla(base01.hslHue, base01.hslSaturation, base01.hslLightness + 0.1, 1.0)
readonly property color text: base07
readonly property color text: Qt.lighter(base00, 7)
readonly property color base00: Colors.colors.base00
readonly property color base01: Colors.colors.base01
readonly property color base02: Colors.colors.base02