1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-20 20:31:26 +02:00

Reduce bundle size by importing variables in _forms.scss directly

This commit is contained in:
louismaxime.piton
2023-08-24 11:41:15 +02:00
parent a8efd9f3e3
commit eac8f88c4e
3 changed files with 23 additions and 17 deletions

View File

@@ -357,7 +357,7 @@ If your form layout allows it, you can swap the `.{valid|invalid}-feedback` clas
As part of Bootstrap's evolving CSS variables approach, forms now use local CSS variables for validation for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.
{{< scss-docs name="root-form-validation-variables" file="scss/_root.scss" >}}
{{< scss-docs name="root-form-validation-variables" file="scss/_forms.scss" >}}
These variables are also color mode adaptive, meaning they change color while in dark mode.