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:
+1
-1
@@ -61,7 +61,7 @@
|
||||
}
|
||||
|
||||
.avatar {
|
||||
background-color: $dark-mode-lighten;
|
||||
--tblr-avatar-bg: #{$dark-mode-lighten};
|
||||
}
|
||||
|
||||
.avatar-list-stacked .avatar {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user