Skip to content

Commit

Permalink
fix: Coloring for icons in the list to only target non-special leafs. (
Browse files Browse the repository at this point in the history
…#230)

fixes #177
  • Loading branch information
Zoramite committed Aug 13, 2021
1 parent ab4e21a commit c68543f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/sass/_scheme.sass
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
--color-tertiary: #eeeeee
--color-on-tertiary: #000000

--color-tertiary-dark: #bcbcbc
--color-tertiary-dark: #aaaaaa
--color-on-tertiary-dark: #000000

--color-extreme: #C71F25
Expand Down
2 changes: 1 addition & 1 deletion src/sass/editor.sass
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
overflow: hidden

&--docked-menu
column-gap: $le-space-xxxsmall
column-gap: $le-space-xxsmall
grid-template-columns: minmax(300px, 15%) 1fr

*
Expand Down
5 changes: 4 additions & 1 deletion src/sass/ui/_list.sass
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,11 @@
margin: 0 $le-space-medium 0 0

.le__list__item__icon
// Use the tertiary color when not special.
:not(.le__list__item--heading):not(.le__list__item--selected):not(.le__list__item--primary):not(.le__list__item--secondary) > &
color: var(--color-tertiary-dark)

align-items: center
color: var(--color-tertiary-dark)
display: flex
justify-content: center
height: $le-font-size-icon-menu
Expand Down

0 comments on commit c68543f

Please sign in to comment.