Skip to content

Commit

Permalink
Merge pull request superdesk#798 from dzonidoo/css-color-var
Browse files Browse the repository at this point in the history
add var color on sd-list classes
  • Loading branch information
fritzSF authored Aug 4, 2023
2 parents 18b02d4 + 96edc4b commit b4f8046
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/styles/_simple-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ $simple-list-border-color: $neutral-border-color;
flex-direction: row;
align-items: center;
gap: 0.8rem;
color: var(--color-text);

[class^="icon-"], [class*=" icon-"] {
flex-grow: 0;
Expand Down
1 change: 1 addition & 0 deletions app/styles/components/_list-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
background-color: $sd-ListItem-background;
transition: background-color 0.2s linear;
flex-shrink: 0;
color: var(--color-text);

&:hover {
background-color: $sd-ListItem-background-hover;
Expand Down

0 comments on commit b4f8046

Please sign in to comment.