From 7911973a83d929bc3cb5170b93b22fc90c15b140 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Wed, 22 Oct 2025 21:52:08 +0300 Subject: [PATCH] style: fix broken colored links inside read-only notes --- apps/client/src/stylesheets/theme-dark.css | 2 +- apps/client/src/stylesheets/theme-light.css | 2 +- apps/client/src/stylesheets/theme-next-dark.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/client/src/stylesheets/theme-dark.css b/apps/client/src/stylesheets/theme-dark.css index 2d08163d6..3b434d529 100644 --- a/apps/client/src/stylesheets/theme-dark.css +++ b/apps/client/src/stylesheets/theme-dark.css @@ -86,7 +86,7 @@ body ::-webkit-calendar-picker-indicator { --custom-color: var(--dark-theme-custom-color); } -.reference-link, +:root .reference-link, .ck-content a.reference-link > span { color: var(--dark-theme-custom-color, inherit); } diff --git a/apps/client/src/stylesheets/theme-light.css b/apps/client/src/stylesheets/theme-light.css index 3bf49341c..2bdb06a1c 100644 --- a/apps/client/src/stylesheets/theme-light.css +++ b/apps/client/src/stylesheets/theme-light.css @@ -86,7 +86,7 @@ html { --custom-color: var(--light-theme-custom-color); } -.reference-link, +:root .reference-link, .ck-content a.reference-link > span { color: var(--light-theme-custom-color, inherit); } \ No newline at end of file diff --git a/apps/client/src/stylesheets/theme-next-dark.css b/apps/client/src/stylesheets/theme-next-dark.css index 5b012996e..8df2e2e0a 100644 --- a/apps/client/src/stylesheets/theme-next-dark.css +++ b/apps/client/src/stylesheets/theme-next-dark.css @@ -277,7 +277,7 @@ --custom-bg-color: hsl(var(--custom-color-hue), 20%, 33%, 0.4); } -.reference-link, +:root .reference-link, .ck-content a.reference-link > span { color: var(--dark-theme-custom-color, inherit); }