BB Custom Dark Mode
A pro-grade dark mode engine for Beaver Builder, built on Global Colours
by totaldsgn · github.com/ttldsgn/bb-custom-dark-mode · website
★ 1stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ttldsgn/bb-custom-dark-mode/archive/refs/heads/main.zipFrom the readme
BB Custom Dark Mode
A pro-grade dark mode engine for Beaver Builder that maps your existing Global Colour palette to dark-mode equivalents — no hardcoded hex values, no separate colour management.
How It Works
When a visitor toggles dark mode, the plugin overrides Beaver Builder's CSS custom properties on body.dark-mode:
Because BB renders all module colours as var(--fl-global-) references, a single property swap cascades across every module on the page — no per-module configuration needed. The user's preference is stored in localStorage and optionally synced with the OS prefers-color-scheme setting.
Features
- Global Colours Manager — add, edit, and delete Beaver Builder global colours directly from the plugin settings page. Changes are written to BB's own Global Styles storage, so colours created here appear in BB's colour picker and vice versa. Supports hex, rgb, rgba, and hsl values with a full Iris colour picker including alpha channel.
- Global Colour Mapping — visually map any BB Global Colour to its dark-mode counterpart using a live swatch picker
- Site Background Mapping — dedicated light → dark background override for body and .fl-page-content
- CSS Variable Bridge
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v3.9.1 | Jun 27, 2026 |
| v3.9.0 | Jun 25, 2026 |
| v3.7.2 | May 31, 2026 |
| v3.7.0 | May 27, 2026 |
| v3.6.2 | May 23, 2026 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.