From d1e5dca3d09e128b2910574acfea0af1b829c16d Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Thu, 23 Feb 2023 23:44:41 -0800 Subject: [PATCH] markdown: use --link for link color --- src/app/(drift)/(posts)/components/preview/preview.module.css | 4 ---- src/app/styles/markdown.css | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/(drift)/(posts)/components/preview/preview.module.css b/src/app/(drift)/(posts)/components/preview/preview.module.css index 0fd5b8e0..7db3dc3b 100644 --- a/src/app/(drift)/(posts)/components/preview/preview.module.css +++ b/src/app/(drift)/(posts)/components/preview/preview.module.css @@ -45,10 +45,6 @@ color: var(--darker-gray); } -.markdownPreview a { - color: #0070f3; -} - /* Auto-linked headers */ .markdownPreview h1 a, .markdownPreview h2 a, diff --git a/src/app/styles/markdown.css b/src/app/styles/markdown.css index 9a4f8868..f92e8ccf 100644 --- a/src/app/styles/markdown.css +++ b/src/app/styles/markdown.css @@ -129,3 +129,7 @@ table td { article > :not(:first-child) { margin-top: 1.5rem; } + +article a { + color: var(--link); +}