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

@ -1,18 +1,18 @@
const colors = {
base00: "#161616",
base01: "#262626",
base02: "#393939",
base03: "#525252",
base04: "#dde1e6",
base05: "#f2f4f8",
base06: "#ffffff",
base07: "#08bdba",
base08: "#ee5396",
base09: "#ff7eb6",
base0A: "#ff6f00",
base0B: "#42be65",
base0C: "#3ddbd9",
base0D: "#33b1ff",
base0E: "#be95ff",
base0F: "#82cfff",
base00: "#191724",
base01: "#1f1d2e",
base02: "#26233a",
base03: "#6e6a86",
base04: "#908caa",
base05: "#e0def4",
base06: "#e0def4",
base07: "#524f67",
base08: "#eb6f92",
base09: "#f6c177",
base0A: "#ebbcba",
base0B: "#31748f",
base0C: "#9ccfd8",
base0D: "#c4a7e7",
base0E: "#f6c177",
base0F: "#524f67",
}

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

View file

@ -29,7 +29,7 @@ BarComponent {
layer.effect: MultiEffect {
colorization: 1.0
colorizationColor: Colors.text
brightness: 0.5
brightness: 0.0
}
}
StyledText {

View file

@ -56,7 +56,7 @@ PopupWindow {
layer.effect: MultiEffect {
colorization: 1.0
colorizationColor: Colors.text
brightness: 0.5
}
MouseArea {