Skip to content

Commit

Permalink
Make aborted and disabled icon colours themable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonny-vb authored Dec 6, 2024
1 parent 0f0b023 commit 53c7c58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/main/scss/abstracts/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ $semantics: (
// Status icon colors
--weather-icon-color: var(--accent-color);
--unstable-build-icon-color: var(--orange);
--aborted-icon-color: var(--black)
--disabled-icon-color: var(--black);

// Background colors
--background: var(--white);
Expand Down
4 changes: 2 additions & 2 deletions src/main/scss/components/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@

.icon-aborted,
.icon-aborted-anime {
@include status-icon-color(var(--black));
@include status-icon-color(var(--aborted-icon-color));
}

.icon-disabled,
.icon-disabled-anime {
@include status-icon-color(var(--black), 0.5);
@include status-icon-color(var(--disabled-icon-color), 0.5);
}

.icon-grey,
Expand Down

0 comments on commit 53c7c58

Please sign in to comment.