Opened 3 years ago

Last modified 6 months ago

#17338 assigned enhancement

Make Discourse embed on website respect light/dark mode

Reported by: jt15s Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Website/Forums 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 (5)

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, 2 years ago

Resolution: invalid
Status: newclosed

comment:3 by nephele, 2 years 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...)

comment:4 by waddlesplash, 6 months ago

Component: Website/www.haiku-os.orgWebsite/Forums

comment:5 by waddlesplash, 6 months ago

Owner: changed from waddlesplash to nobody
Status: reopenedassigned
Note: See TracTickets for help on using tickets.