Opened 3 years ago

Last modified 23 months ago

#17338 reopened enhancement

Make Discourse embed on website respect light/dark mode

Reported by: jt15s Owned by: waddlesplash
Priority: normal Milestone: Unscheduled
Component: Website/www.haiku-os.org Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

The Discourse embeds on the bottom of every blog post/news item should respect whatever display mode the website is in; if the website is in light mode the embed should be in light mode and if the website is in dark mode the embed should switch accordingly.

Thanks!

Change History (3)

comment:1 by nephele, 3 years ago

I think you need to complain to upstream, discuss is already configured to automatically pick the right mode, I don't see how the website would be different.

The second issue is that emails send by discuss do not respect dark/light mode preference.

comment:2 by waddlesplash, 23 months ago

Resolution: invalid
Status: newclosed

comment:3 by nephele, 23 months ago

Resolution: invalid
Status: closedreopened

The linked post mentions that there is no current plan to respect the media querry in the embed, so we need to find a different solution to this. (probably same for emails, ugh)

either use one of the javascript based methods they mention or implement this on our own regardless. (I get the feeling that patching discuss might be the only option in generall, there are lots of "web 2.0" finicky features in it that break really easily...)

Note: See TracTickets for help on using tickets.