diff --git a/CHANGELOG.md b/CHANGELOG.md index 27b1715..7d7103c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ All notable changes to this project will be documented in this file. +## [0.1.1] - 2026-02-28 + +### Fixed + +- Dark mode: native `` and Select2/SelectWoo widgets; bumped notice selectors to `.woocommerce .woocommerce-*` (specificity `0,2,0`) to beat `woocommerce.css`; suppressed WooCommerce icon font `::before` on notices; added checkout form focus color for dark mode +- `templates/content-product.html.twig` — Added `overflow-hidden` to product card `
` for border-radius clipping + +**Key learnings:** + +- WooCommerce CSS sets `select { background-color: var(--wc-form-color-background, #fff) }` — the custom property is never defined for dark mode, so it falls back to white. Override with `[data-bs-theme="dark"] .woocommerce select`. +- Select2/SelectWoo hardcodes `#fff` backgrounds in `select2.css` — needs comprehensive overrides for selection containers, dropdowns, search fields, and highlighted options. +- WooCommerce notice CSS uses `border-top: 3px solid`, `background-color: #f6f5f8`, and WooCommerce icon font `::before` at specificity `0,1,0`. Single-class overrides don't win — must use `.woocommerce .woocommerce-*` (specificity `0,2,0`) and explicitly reset `border-top`. +- Never set `background-image` without `background-repeat: no-repeat` / `background-size` / `background-position` — SVGs will tile. diff --git a/README.md b/README.md index 7275836..0135795 100644 --- a/README.md +++ b/README.md @@ -141,8 +141,8 @@ for po in languages/wc-bootstrap-*.po; do msgfmt -o "${po%.po}.mo" "$po"; done Releases are automated via Gitea Actions. Push a tag matching `vX.X.X` to trigger a release build. ```bash -git tag -a v0.1.0 -m "Version 0.1.0 - Initial release" -git push origin v0.1.0 +git tag -a v0.1.1 -m "Version 0.1.1 - Bugfix release" +git push origin v0.1.1 ``` ## License diff --git a/style.css b/style.css index c1d1b9d..5a74ffb 100644 --- a/style.css +++ b/style.css @@ -7,7 +7,7 @@ Description: A Bootstrap 5 child theme for WP Bootstrap that overrides all WooCo Requires at least: 6.7 Tested up to: 6.7 Requires PHP: 8.3 -Version: 0.1.0 +Version: 0.1.1 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Template: wp-bootstrap