summaryrefslogtreecommitdiff
path: root/ui/styles/variables.css
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-05-06 02:33:49 -0400
committerOwen Jacobson <owen@grimoire.ca>2025-05-06 02:43:31 -0400
commita61a1031b0b55d07bae370e26ea4984a853bd513 (patch)
tree550abe9f8c7ad6f83075d1a0e4a8625053ab3d21 /ui/styles/variables.css
parentfaacbb2757ecbe947d6a6534d28da5c815f5b3ff (diff)
Split up link colours and use fewer wildcard patterns to re-style them.
This was causing problems with message colouring, as these rules had specificity similar to constructs like `.message.deleted`. This approach removes their browser default styles, then adds styling specific to the channel sidebar, the app bar, and the message view.
Diffstat (limited to 'ui/styles/variables.css')
-rw-r--r--ui/styles/variables.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/styles/variables.css b/ui/styles/variables.css
index c43832c..211b236 100644
--- a/ui/styles/variables.css
+++ b/ui/styles/variables.css
@@ -18,6 +18,7 @@
/* Light text is a bit hard to read; I may need to adjust it. */
--light-text: color-mix(in srgb, var(--colour-base) 40%, white);
--dark-text: color-mix(in srgb, var(--colour-base) 40%, black);
+ --link-text: color-mix(in srgb, var(--colour-base) 40%, blue);
/* Header */
--colour-header-bg: color-mix(in srgb, var(--colour-base) 30%, black);
@@ -56,6 +57,7 @@
);
--colour-message-run-self-text: var(--dark-text);
--colour-message-run-other-text: var(--dark-text);
+ --colour-message-run-link-text: var(--link-text);
--colour-message-run-username-bg: color-mix(in srgb, var(--colour-base) 70%, white);
--colour-message-run-username-border: color-mix(in srgb, var(--colour-base) 50%, black);