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
Copy file name to clipboardExpand all lines: docs/content/4.0/content/tables.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,10 +212,10 @@ Highlight a table row or cell by adding a `.table-active` class.
212
212
213
213
For the accented tables ([striped rows](#striped-rows), [hoverable rows](#hoverable-rows), and [active tables](#active-tables)), we used some techniques to make these effects work for all our [table variants](#variants):
214
214
215
-
- We start by setting the background of a table cell with the `--coreui-table-bg` custom property. All table variants then set that custom property to colorize the table cells. This way, we don't get into trouble if semi-transparent colors are used as table backgrounds.
216
-
- Then we add a gradient on the table cells with `background-image: linear-gradient(var(--coreui-table-accent-bg), var(--coreui-table-accent-bg));` to layer on top of any specified `background-color`. Since `--coreui-table-accent-bg` is transparent by default, we have an invisible transparent linear gradient by default.
217
-
- When either `.table-striped`, `.table-hover` or `.table-active` classes are added, the `--coreui-table-accent-bg` is set to a semitransparent color to colorize the background.
218
-
- For each table variant, we generate a `--coreui-table-accent-bg` color with the highest contrast depending on that color. For example, the accent color for `.table-primary` is darker while `.table-dark` has a lighter accent color.
215
+
- We start by setting the background of a table cell with the `--cui-table-bg` custom property. All table variants then set that custom property to colorize the table cells. This way, we don't get into trouble if semi-transparent colors are used as table backgrounds.
216
+
- Then we add a gradient on the table cells with `background-image: linear-gradient(var(--cui-table-accent-bg), var(--cui-table-accent-bg));` to layer on top of any specified `background-color`. Since `--cui-table-accent-bg` is transparent by default, we have an invisible transparent linear gradient by default.
217
+
- When either `.table-striped`, `.table-hover` or `.table-active` classes are added, the `--cui-table-accent-bg` is set to a semitransparent color to colorize the background.
218
+
- For each table variant, we generate a `--cui-table-accent-bg` color with the highest contrast depending on that color. For example, the accent color for `.table-primary` is darker while `.table-dark` has a lighter accent color.
219
219
- Text and border colors are generated the same way, and their colors are inherited by default.
Copy file name to clipboardExpand all lines: docs/content/4.0/utilities/colors.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
@@ -35,7 +35,7 @@ Sometimes contextual classes cannot be applied due to the specificity of another
35
35
36
36
In addition to the following Sass functionality, consider reading about our included [CSS custom properties]({{< docsref "/customize/css-variables" >}}) (aka CSS variables) for colors and more.
37
37
38
-
Do you need a gradient in your custom CSS? Just add `background-image: var(--coreui-gradient);`.
38
+
Do you need a gradient in your custom CSS? Just add `background-image: var(--cui-gradient);`.
39
39
### Variables
40
40
41
41
Most `color` utilities are generated by our theme colors, reassigned from our generic color palette variables.
0 commit comments