When I’m sitting in a bright environment, it’s a bit hard too read links (aka anchors) when in dark mode as the colour for the links is a little dark, even with my screen brightness turned up (I’m guessing it’s a contrast, not brightness, issue). Could we increase the link brightness in dark mode, or is this all managed by Discourse?
Sure, sorry—combining a modified and refined version of @hugovk link underline CSS from this mentioned thread and adding the color suggested here, we have:
p a {
color: #428fd0;
text-decoration: underline;
text-underline-offset: 2px;
}
In addition to adding the color, unlike the original this will apply only to links in paragraphs, as otherwise it affects a variety of other UI elements that are clickable links but are not links as their primary semantic purpose, and for which the underline and/or color don’t necessarily make sense (e.g. titles, headings, buttons, etc). Also, I greatly reduced the text-underline-offset to still improve legibility while being more similar to the typical convention on other sites and not look too “off”, and also specified it in CSS pixels, as it appears the actual offset only works in fixed stops of two CSS pixels, and it will only be used in p elements (which for our purposes have text of fairly consistent size.