summaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-07 19:42:14 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-07 19:42:14 +1100
commit630885daab9bae4ed8fd911fee1b51e4241f7bd7 (patch)
treeda6ddb3c83a98a27329371dada53a7d3a92f5f9a /src/services
parentlauncher: fixes (diff)
downloadcaelestia-shell-630885daab9bae4ed8fd911fee1b51e4241f7bd7.tar.gz
caelestia-shell-630885daab9bae4ed8fd911fee1b51e4241f7bd7.tar.bz2
caelestia-shell-630885daab9bae4ed8fd911fee1b51e4241f7bd7.zip
update for scheme refactor
Diffstat (limited to 'src/services')
-rw-r--r--src/services/palette.ts22
1 files changed, 18 insertions, 4 deletions
diff --git a/src/services/palette.ts b/src/services/palette.ts
index 95915c0..952543f 100644
--- a/src/services/palette.ts
+++ b/src/services/palette.ts
@@ -32,7 +32,9 @@ export interface IPalette {
base: Hex;
mantle: Hex;
crust: Hex;
- accent: Hex;
+ primary: Hex;
+ secondary: Hex;
+ tertiary: Hex;
}
@register({ GTypeName: "Palette" })
@@ -200,8 +202,18 @@ export default class Palette extends GObject.Object {
}
@property(String)
- get accent() {
- return this.#colours.accent;
+ get primary() {
+ return this.#colours.primary;
+ }
+
+ @property(String)
+ get secondary() {
+ return this.#colours.secondary;
+ }
+
+ @property(String)
+ get tertiary() {
+ return this.#colours.tertiary;
}
#notify() {
@@ -232,7 +244,9 @@ export default class Palette extends GObject.Object {
this.notify("base");
this.notify("mantle");
this.notify("crust");
- this.notify("accent");
+ this.notify("primary");
+ this.notify("secondary");
+ this.notify("tertiary");
}
update() {