A few dark theme issues

AI-generated summary

In a discussion titled ‘A few dark theme issues’ within the Bug category, DeanMarkTaylor reported several visibility problems, including poor contrast in the admin interface, email previews, and user mentions. While mcwumbly expressed general dislike for the dark theme, DeanMarkTaylor clarified that the primary goal was to identify specific usability flaws rather than debate the theme’s existence. codinghorror emphasized that the thread’s purpose is to find cases where colors are dramatically wrong, noting that strict WCAG guidelines may not apply to all gaming communities. dandv shared an external article arguing against inverted color schemes. Specific issues identified included invisible blockquote borders and unstyled mobile mentions. In response, Alankrit_Choudh shared a custom CSS solution to improve mention visibility. tgxworld confirmed the mobile styling issue and linked to two GitHub commits addressing the contrast and styling of mentions.

Here are some of dark theme issues seems you are working on that.

Searching for something in CSS in /admin/customize/css_html/

/admin/site_settings/category/required

/admin/email/preview-digest

10 „Gefällt mir“

The colour contrast on mentions is bad, sample:

Real:
@DeanMarkTaylor

Screenshot:

8 „Gefällt mir“

My main issue with the dark theme is that we are using it at all here… when will it go away?

1 „Gefällt mir“

I believe the reason there is such dislike for the dark theme is colours don’t contrast enough - causing poor usability.

No, that’s not the purpose. We are here to find cases where the colors are dramatically wrong. Please don’t post multiple times about “not enough contrast per WCAG guidelines” as that is not the goal.

(this color scheme is not a default and the gaming communities that use these kinds of dark settings don’t care about those guidelines, at all)

1 „Gefällt mir“

Goal now made clear.

1 „Gefällt mir“

https://wiki.dandascalescu.com/essays/against_inverted_color_schemes

2 „Gefällt mir“

I definitely agree that name mentions are very hard to read cc @tgxworld.

5 „Gefällt mir“

I think copying the .btn colors is probably best there.

Also, looks like the left edge of blockquotes is invisible:

test

@testwest

6 „Gefällt mir“

I’m unsure if it’s “as-designed” but mobile mentions aren’t styled, and simply appear as text links:

3 „Gefällt mir“

I am using a dark theme on discourse from quite some time. I had few members complain about the mentions not quite visible.

Hence, i am using this custom CSS.

        a.mention,a.mention-group {
	padding:2px 4px;
	color:#000;
	background:#C0C0C0;
	border-radius:5px;
	font-weight:bold;
	font-size:.93em;
}

Example above.

3 „Gefällt mir“

I increased the contrast of mentions in

Mentions are not styled on mobile as well.

5 „Gefällt mir“