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:
@@ -105,7 +105,8 @@ add_action('wp_head', function () {
|
|||||||
--wp--preset--color--base: #0d0d0d;
|
--wp--preset--color--base: #0d0d0d;
|
||||||
--wp--preset--color--contrast: #ececec;
|
--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"] a:focus-visible,
|
||||||
html[data-fea-theme="dark"] button:focus-visible {
|
html[data-fea-theme="dark"] button:focus-visible {
|
||||||
outline-color: <?php echo esc_html($accent_dark); ?> !important;
|
outline-color: <?php echo esc_html($accent_dark); ?> !important;
|
||||||
|
|||||||
Reference in New Issue
Block a user