1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-10 21:32:22 +04:00

change $body-color to CSS variable

fixes: #1385
This commit is contained in:
codecalm
2022-11-24 12:08:13 +01:00
parent 7a6a5c723f
commit 7889304771
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
.example-content { .example-content {
font-size: $font-size-base; font-size: $font-size-base;
line-height: $line-height-base; line-height: $line-height-base;
color: $body-color; color: var(--#{$prefix}body-color);
flex: 1; flex: 1;
max-width: 100%; max-width: 100%;
+1 -1
View File
@@ -47,7 +47,7 @@ body {
margin: 0 auto; margin: 0 auto;
max-width: var(--#{$prefix}theme-boxed-width); max-width: var(--#{$prefix}theme-boxed-width);
border-radius: var(--#{$prefix}theme-boxed-border-radius); border-radius: var(--#{$prefix}theme-boxed-border-radius);
color: $body-color; color: var(--#{$prefix}body-color);
@include media-breakpoint-up(md) { @include media-breakpoint-up(md) {
border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color); border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
+1 -1
View File
@@ -516,7 +516,7 @@ Card list group
&:active, &:active,
&:hover { &:hover {
border-color: $card-border-color; border-color: $card-border-color;
color: $body-color; color: var(--#{$prefix}body-color);
} }
&.active { &.active {
+1 -1
View File
@@ -44,7 +44,7 @@
.page-item-title { .page-item-title {
font-size: $h3-font-size; font-size: $h3-font-size;
font-weight: var(--#{$prefix}font-weight-normal); font-weight: var(--#{$prefix}font-weight-normal);
color: $body-color; color: var(--#{$prefix}body-color);
.page-link:hover & { .page-link:hover & {
color: $link-color; color: $link-color;
+2 -2
View File
@@ -91,7 +91,7 @@
display: block; display: block;
padding: $table-cell-padding-x $table-cell-padding-y !important; padding: $table-cell-padding-x $table-cell-padding-y !important;
border: none; border: none;
color: $body-color !important; color: var(--#{$prefix}body-color) !important;
&[data-label] { &[data-label] {
&:before { &:before {
@@ -132,7 +132,7 @@
&:hover, &:hover,
&.asc, &.asc,
&.desc { &.desc {
color: $body-color; color: var(--#{$prefix}body-color);
} }
&:after, &:after,
+1 -1
View File
@@ -99,6 +99,6 @@ Image check
.form-imagecheck:hover &, .form-imagecheck:hover &,
.form-imagecheck-input:focus ~ .form-imagecheck-figure &, .form-imagecheck-input:focus ~ .form-imagecheck-figure &,
.form-imagecheck-input:checked ~ .form-imagecheck-figure & { .form-imagecheck-input:checked ~ .form-imagecheck-figure & {
color: $body-color; color: var(--#{$prefix}body-color);
} }
} }