diff --git a/website/src/components/brand/styles/dotnet-upgrade.module.css b/website/src/components/brand/styles/dotnet-upgrade.module.css index 13f5fefe..9b406f2e 100644 --- a/website/src/components/brand/styles/dotnet-upgrade.module.css +++ b/website/src/components/brand/styles/dotnet-upgrade.module.css @@ -538,6 +538,17 @@ border-block-start: none; } +/* Raw markdown links inherit the UA default blue/purple otherwise, which is + too harsh in dark mode; route them through the themed link token instead. */ +.articleSection a { + color: var(--brand-color-text-link-rest); +} + +.articleSection a:hover, +.articleSection a:focus-visible { + color: var(--brand-color-text-link-pressed); +} + .articleHeading { margin: 0; /* Two medium gaps separate the title from the text below, while the diff --git a/website/src/components/brand/styles/github-copilot-app.module.css b/website/src/components/brand/styles/github-copilot-app.module.css index 78c277c8..8f73bf82 100644 --- a/website/src/components/brand/styles/github-copilot-app.module.css +++ b/website/src/components/brand/styles/github-copilot-app.module.css @@ -960,6 +960,17 @@ border-block-start: none; } +/* Raw markdown links inherit the UA default blue/purple otherwise, which is + too harsh in dark mode; route them through the themed link token instead. */ +.articleSection a { + color: var(--brand-color-text-link-rest); +} + +.articleSection a:hover, +.articleSection a:focus-visible { + color: var(--brand-color-text-link-pressed); +} + .articleHeading { margin: 0; margin-block-end: var(--base-size-16);