Add a theme-level switch to toggle between dark mode and light mode

Created on 24 July 2025, 2 days ago

Problem/Motivation

At the moment, most of Mercury's SDCs have a prop that toggles between dark mode and light mode. This is awkward and leads to weird presentational inconsistencies.

Proposed resolution

Add a setting for dark mode, defaulting to "on", at the theme level. The body tag should receive a dark or light CSS class accordingly.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024