2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-03-03 23:54:20 +08:00
discourse/themes/foundation/screenshots
Martin Brennan 2891c98339
FEATURE: Toggle light/dark theme screenshots in theme cards (#37257)
Followup to db10d595e7

Instead of doing a horizontal scrollbar for the theme light/dark
screenshots, we want to show a toggle button with a sun/moon icon
to switch between the two screenshots.

Also, when you load the themes page, the screenshot type defaults
to the user's current dark/light mode preference for the theme they
are using.

Finally, the light + dark screenshots for foundation have been updated
since one had some artifacts at the edge.

<img width="1024" height="640" alt="image"
src="https://github.com/user-attachments/assets/7c79a4ec-b574-43ad-930e-013606d8d9f6"
/>
<img width="769" height="638" alt="image"
src="https://github.com/user-attachments/assets/ce66f91f-60cb-4de3-b32c-3e60c0b27520"
/>
<img width="756" height="632" alt="image"
src="https://github.com/user-attachments/assets/18a423ef-c317-4229-b84d-1ea93f04b124"
/>
2026-01-23 12:07:51 +10:00
..
dark.png
light.png