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); }