You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alerts use local CSS variables on `.alert` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.
220
220
@@ -224,43 +224,10 @@ Alerts use local CSS variables on `.alert` for enhanced real-time customization.
CoreUI allows defining variant colors in two ways.
230
-
231
-
Check out [our Sass maps and loops docs]({{< docsref "/customize/sass#maps-and-loops" >}}) for how to customize these loops and extend CoreUI's base-modifier approach to your own code.
232
-
233
-
#### Manual
234
-
235
-
You can define each color manually and keep full control of the component appearance.
236
-
237
-
{{< highlight scss >}}
238
-
$alert-variants: (
239
-
"primary": (
240
-
"background": $your-bg-color,
241
-
"border": $your-border-color,
242
-
"color": $your-color,
243
-
"link-color": $your-link-color
244
-
)
245
-
...
246
-
);
247
-
{{< /highlight >}}
248
-
249
-
#### Color function
250
-
251
-
The color set can be generated automatically thanks to our `alert-color-map` function.
Copy file name to clipboardExpand all lines: docs/content/components/badge.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ Apply the `.rounded-pill` modifier class to make badges rounded.
93
93
94
94
## Customizing
95
95
96
-
### CSS Variables
96
+
### CSS variables
97
97
98
98
Badges use local CSS variables on `.badge` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.
Copy file name to clipboardExpand all lines: docs/content/components/breadcrumb.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ For more information, see the [ARIA Authoring Practices Guide breadcrumb pattern
103
103
104
104
## Customizing
105
105
106
-
### CSS Variables
106
+
### CSS variables
107
107
108
108
Breadcrumbs use local CSS variables on `.breadcrumb` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.
Copy file name to clipboardExpand all lines: docs/content/components/callout.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Callout component is prepared for any length of text, as well as an optional ele
27
27
28
28
## Customizing
29
29
30
-
### CSS Variables
30
+
### CSS variables
31
31
32
32
Callouts use local CSS variables on `.callout` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.
Copy file name to clipboardExpand all lines: docs/content/components/card.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -747,7 +747,7 @@ Just like with card groups, card footers will automatically line up.
747
747
748
748
## Customizing
749
749
750
-
### CSS Variables
750
+
### CSS variables
751
751
752
752
Cards use local CSS variables on `.card` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.
Dropdowns use local CSS variables on `.dropdown-menu` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.
Copy file name to clipboardExpand all lines: docs/content/components/list-group.md
+3-33Lines changed: 3 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -475,7 +475,7 @@ tabElms.forEach(tabElm => {
475
475
476
476
## Customizing
477
477
478
-
### CSS Variables
478
+
### CSS variables
479
479
480
480
List groups use local CSS variables on `.list-group` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.
481
481
@@ -485,40 +485,10 @@ List groups use local CSS variables on `.list-group` for enhanced real-time cust
0 commit comments