fix: keep visited links readable in dark mode

Co-authored-by: rafa <rcalvotorrejon@gmail.com>
Signed-off-by: rafa <rcalvotorrejon@gmail.com>
This commit is contained in:
2026-08-12 09:20:34 -04:00
parent f0946be1fc
commit 75c0f07eab
+2 -1
View File
@@ -105,7 +105,8 @@ add_action('wp_head', function () {
--wp--preset--color--base: #0d0d0d;
--wp--preset--color--contrast: #ececec;
}
html[data-fea-theme="dark"] a { color: <?php echo esc_html($accent_dark); ?>; }
html[data-fea-theme="dark"] a,
html[data-fea-theme="dark"] a:visited { color: <?php echo esc_html($accent_dark); ?>; }
html[data-fea-theme="dark"] a:focus-visible,
html[data-fea-theme="dark"] button:focus-visible {
outline-color: <?php echo esc_html($accent_dark); ?> !important;