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

Add Sass variable for CSS variable prefix (#31684)

* Add Sass variable for CSS variable prefix

* Update other --bs-* var instances
This commit is contained in:
Mark Otto
2020-09-29 22:32:58 -07:00
committed by GitHub
parent 7e195a8d22
commit 3cf51c6ac9
9 changed files with 56 additions and 52 deletions

View File

@@ -448,7 +448,7 @@ $utilities: map-merge(
"gradient": (
property: background-image,
class: bg,
values: (gradient: var(--bs-gradient))
values: (gradient: var(--#{$variable-prefix}gradient))
),
"white-space": (
property: white-space,
@@ -475,7 +475,7 @@ $utilities: map-merge(
"font-family": (
property: font-family,
class: font,
values: (monospace: var(--bs-font-monospace))
values: (monospace: var(--#{$variable-prefix}font-monospace))
),
"user-select": (
property: user-select,