Skip to content

Commit

Permalink
fix(core/avatar): adapt colors (#1141)
Browse files Browse the repository at this point in the history
  • Loading branch information
jul-lam committed Mar 5, 2024
1 parent b866234 commit f8f36c6
Show file tree
Hide file tree
Showing 14 changed files with 4 additions and 31 deletions.
6 changes: 3 additions & 3 deletions packages/core/src/components/avatar/avatar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@
min-height: 2rem;
min-width: 2rem;
border-radius: 100px;
background-color: var(--theme-color-component-3);
color: var(--theme-color-std-text);
background-color: var(--theme-avatar--background);
color: var(--theme-avatar--color);
}

#avatar-path-background {
fill: var(--theme-avatar--background);
}

#avatar-path-person {
fill: var(--theme-color-4);
fill:var(--theme-avatar--color);
}
}
}
Expand Down
29 changes: 1 addition & 28 deletions packages/core/src/components/menu-avatar/menu-avatar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,34 +33,6 @@
margin-right: 0.35rem;
transition: 0.15s;

> .avatar-image {
height: 2rem;
width: 2rem;
min-height: 2rem;
min-width: 2rem;
border-radius: 100px;
}

> .avatar-initials {
display: flex;
align-items: center;
justify-content: center;
height: 2rem;
width: 2rem;
min-height: 2rem;
min-width: 2rem;
border-radius: 100px;
background-color: var(--theme-color-component-3);
}

#avatar-path-background {
fill: var(--theme-avatar--background);
}

#avatar-path-person {
fill: var(--theme-color-4);
}

.avatar-name {
display: flex;
flex-direction: column;
Expand All @@ -70,6 +42,7 @@
line-height: 1.14;

.text-default-single {
color: var(--theme-nav-item-primary--color);
@include ellipsis;
}
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f8f36c6

Please sign in to comment.