aboutsummaryrefslogtreecommitdiff
path: root/scss/_root.scss
AgeCommit message (Collapse)AuthorFilesLines
2020-09-30Add Sass variable for CSS variable prefix (#31684)Mark Otto1-5/+5
* Add Sass variable for CSS variable prefix * Update other --bs-* var instances
2020-05-15Improve gradientsMartijn Cuppens1-0/+1
- Use a semitransparent gradient from light to dark which works on any background-color - Store the gradient as a custom property (--bs-gradient) - Remove `.bg-gradient-*` variants in favour of `.bg-gradient` which works even when `$enable-gradients` are enabled - Add gradients to navbar, active page links and badges when gradients are enabled
2020-04-15Add `bs-` prefixes to custom properties (#30591)Martijn Cuppens1-4/+4
2019-08-29theming.md: automate _root.scss. (#29326)XhmikosR1-1/+0
2019-08-29theming.md: bring `:root` up to par with Scss. (#29323)XhmikosR1-0/+1
Also, add a warning in _root.scss so that we don't miss it again.
2019-07-14Drop breakpoint CSS custom properties (#29020)Mark Otto1-4/+0
Media queries do not support CSS custom properties (CSS variables), so we've had some useless variables lying around since shipping v4. This finally removes them and the associated documentation content that explained the situation. Fixes #29012.
2017-10-14Escape SassScript in custom variable values (#24354)Gleb Mazovetskiy1-5/+8
This is required for Sass v3.5+ compatibility. See https://github.com/sass/sass/blob/stable/doc-src/SASS_CHANGELOG.md#backwards-incompatibilities----must-read and https://github.com/sass/sass/issues/2383
2017-10-01Generate CSS variables for colors, breakpoints, fonts (#23761)Félix Saparelli1-0/+16
* Generate CSS variables See #23349 Supersedes #23446 * Ignore _root.scss for linting