1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-25 20:44:38 +04:00

fix: fix avatar background in dark mode #785

This commit is contained in:
codecalm
2021-10-24 22:04:49 +02:00
parent ad4f9924a1
commit 52fe2d73c4
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -61,7 +61,7 @@
}
.avatar {
background-color: $dark-mode-lighten;
--tblr-avatar-bg: #{$dark-mode-lighten};
}
.avatar-list-stacked .avatar {
+2 -1
View File
@@ -1,5 +1,6 @@
.avatar {
--#{$variable-prefix}avatar-size: #{$avatar-size};
--#{$variable-prefix}avatar-bg: #{$gray-200};
position: relative;
width: var(--#{$variable-prefix}avatar-size);
height: var(--#{$variable-prefix}avatar-size);
@@ -13,7 +14,7 @@
text-transform: uppercase;
vertical-align: bottom;
user-select: none;
background: $gray-200 no-repeat center/cover;
background: var(--#{$variable-prefix}avatar-bg) no-repeat center/cover;
border-radius: $avatar-border-radius;
svg {