You've already forked wp-bootstrap
v0.3.2 - Fix dark mode conflicts with WordPress global styles
Fix dark mode body colors overridden by WordPress theme.json styles.color, add broad dark mode rules for plugin form elements, fix footer-columns template, and add style variation bridge function. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
15
CHANGELOG.md
15
CHANGELOG.md
@@ -2,6 +2,21 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [0.3.2] - 2026-02-08
|
||||
|
||||
### Fixed
|
||||
|
||||
- Dark mode body colors overridden by WordPress global styles (`styles.color` in `theme.json` generated conflicting `body` CSS)
|
||||
- Dark mode styling for plugin-generated form elements (`select`, `input`, `textarea`) that lack Bootstrap classes
|
||||
- Footer columns template used hardcoded `bg-dark text-light` instead of semantic `bg-body-tertiary`
|
||||
- Style variation bridge function ran with default palette when no variation was active, causing unnecessary CSS overrides
|
||||
|
||||
### Changed
|
||||
|
||||
- Removed `styles.color` from `theme.json` to prevent WordPress from generating body background/text CSS that conflicts with Bootstrap dark mode
|
||||
- Added `!important` override in `_custom.scss` for `html[data-bs-theme="dark"] body` to ensure Bootstrap dark mode takes precedence
|
||||
- Added broad dark mode rules for native form elements in `_custom.scss`
|
||||
|
||||
## [0.3.1] - 2026-02-08
|
||||
|
||||
### Added
|
||||
|
||||
Reference in New Issue
Block a user