From fee7bf492eec2baed1afe65868d7a4a7cc05330a Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 27 Jan 2025 22:25:17 +1100 Subject: fix caret styles Cause the reset at the end overrides it, so move it after --- scss/widgets.scss | 10 ---------- style.scss | 8 ++++++++ 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/scss/widgets.scss b/scss/widgets.scss index 9d57964..856960f 100644 --- a/scss/widgets.scss +++ b/scss/widgets.scss @@ -3,16 +3,6 @@ @use "lib"; @use "font"; -* { - selection { - background-color: color.change(scheme.$overlay2, $alpha: 0.3); - } - - & { - caret-color: scheme.$rosewater; - } -} - label.icon { @include font.icon; } diff --git a/style.scss b/style.scss index bd741b9..c6192c5 100644 --- a/style.scss +++ b/style.scss @@ -1,3 +1,6 @@ +@use "sass:color"; +@use "scss/scheme"; + // Common widgets @use "scss/widgets"; @@ -11,4 +14,9 @@ * { all: unset; // Remove GTK theme styles + caret-color: scheme.$rosewater; + + selection { + background-color: color.change(scheme.$overlay2, $alpha: 0.3); + } } -- cgit v1.2.3-freya