]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
move theme-colors (vars+map) after color tints definitions
authormaks <pine3ree@gmail.com>
Thu, 23 Dec 2021 12:58:25 +0000 (13:58 +0100)
committerMark Otto <otto@github.com>
Fri, 25 Feb 2022 22:59:15 +0000 (14:59 -0800)
commitd74870a749d694cb2859d300c24a0a49a0b52bce
tree8bfedd549b441b6e87bea5fad86668aa945f7b69
parentfd9db1758b17e6dc5c259f9efd486638af927777
move theme-colors (vars+map) after color tints definitions

In this way we can use color tints other than grays in our custom theme, w/o having to extend it later (e.g `$primary: $indigo-600;` ). This could be done in the project variables file, but i believe most developers just include a full local copy of  `scss/_variables.scss` before the the original `default` file and change the values the need (maybe also removing the !default flag) so that it's easier to track changes and custom values during upgrades.
scss/_variables.scss