mirror of
https://github.com/twbs/bootstrap.git
synced 2026-11-18 07:04:22 +00:00
* Wip
* more updates
* Revamp validation SCSS to use theme-derived CSS custom properties
Replace the verbose $form-validation-states map with a flat
$validation-states map (state -> theme color name). The mixin now
derives all styling from theme tokens (--{theme}-fg, --{theme}-border,
etc.) and uses component token overrides (e.g., --control-border-color)
instead of direct property declarations.
- Extract form-validation-state-selector mixin to scss/mixins/
- Remove all Sass validation color/icon variables
- Remove --form-valid-*/--form-invalid-* root tokens
- Remove $enable-validation-icons and all icon logic
- Refactor _otp-input.scss to use shared mixin
- Update docs references
Made-with: Cursor
* big update
* cleanup
* update migration guide
* fix linter
* Fix bundlewatch
* mdx lint
* fix dupe ids
* consolidate vars, fix docs
* centralize validation for otp
|
History
|
|
|---|---|---|
| .. | ||
| _validation.test.scss | ||