From 8f3e67723ce0b168029244b0cea9611e631ea2cb Mon Sep 17 00:00:00 2001 From: Georgi Matev Date: Mon, 24 Oct 2022 16:18:43 -0700 Subject: [PATCH] Make links visible in light mode (#1315) ## Description Use specific color for light mode links to make them stand out ## Type of change - [ ] :sunflower: Feature - [x] :bug: Bugfix - [ ] :world_map: Documentation - [ ] :robot: Test - [ ] :computer: CI/Deployment - [ ] :hamster: Trivial/Minor ## Issue(s) ## Test Plan - [x] :muscle: Manual - [ ] :zap: Unit test - [ ] :green_heart: E2E --- docs/src/css/custom.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/src/css/custom.scss b/docs/src/css/custom.scss index 761d022cc..0df5a7d26 100644 --- a/docs/src/css/custom.scss +++ b/docs/src/css/custom.scss @@ -18,6 +18,10 @@ --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); } +[data-theme='light'] { + --ifm-link-color: #087EA4; +} + /* For readability concerns, you should choose a lighter palette in dark mode. */ [data-theme='dark'] { --ifm-color-primary: #cdd4f9; @@ -32,6 +36,7 @@ html[data-theme='dark'] { --ifm-background-color: #111629; + --ifm-link-color: #087EA4; } .navbar { @@ -267,4 +272,4 @@ html[class*='docs-doc-id-cli'] .markdown table thead tr { :nth-of-type(4) { width: 50%; } -} \ No newline at end of file +}