Styling

Types

Dark Mode 2.1.0

Native Browser 2.1.0

Dark Mode can change your layout to dark if your browser and OS support this feature and switch to dark or light depend on the OS/browser choice.

<body class="darkmode">

Force 2.5.0

Dark Mode can can be forced to a user dynamically with the help of force class.

<body class="darkmode force">

Native Show in Dark Mode 2.1.0

Element only shown on OS/browser supporting Dark Mode.

Do my browser support Dark mode and is enabled? Yes!

Help Preserve this Project

Support for the continued development of RenUI comes directly from the community.

Donate Today