Dark Mode

Dark Mode is built-in Smooth UI, every components have their dark mode.

Use with xstyled color modes

xstyled has a built-in support for color modes and dark mode. If you use it, Smooth UI is already compatible except one thing: custom properties. Smooth UI is very dynamic and it is yet possible to achieve everything using custom properties.

To disable it, set useCustomProperties to false in your theme.

Use dark mode without xstyled

To enable dark mode, add a theme and specify colorMode: 'dark':

See theming documentation.