From c7c8239c5f82813d93295ef1507421a130cb6cfb Mon Sep 17 00:00:00 2001 From: Erzbir Date: Sat, 16 May 2026 15:44:48 +0800 Subject: [PATCH] feat: customizable link style in post --- src/styles/main.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/styles/main.scss b/src/styles/main.scss index b31b192..7e09ee8 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -12,6 +12,8 @@ --color-theme-header: ; --color-theme-code-text: var(--color-theme-foreground); --color-theme-scrollbar: rgba(134, 134, 134, 0.45) rgba(255, 255, 255, 0); + --color-theme-link: var(--color-theme-accent); + --text-decoration-theme-link: none; --list-theme-marker: "►"; --size-theme-font: 1rem; --height-theme-line: calc(var(--size-theme-font) * 1.8); @@ -163,8 +165,8 @@ table { } a { - color: var(--color-theme-accent); - text-decoration: none; + color: var(--color-theme-link); + text-decoration: var(--text-decoration-theme-link); } button {