Skip to content

Commit

Permalink
merge-upstream: allow custom gray icon filter
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Dec 29, 2023
1 parent 030503c commit 3281e80
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/mode-tools/mode-tools.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import "../../css/colors.css";
@import "../../css/units.css";
@import "../../css/filters.css";

.mode-tools {
display: flex;
Expand All @@ -11,6 +12,7 @@
margin-right: calc(2 * $grid-unit);
width: 2rem;
height: 2rem;
filter: $filter-icon-gray;
}

[dir="ltr"] .mod-dashed-border {
Expand Down
2 changes: 2 additions & 0 deletions src/components/tool-select-base/tool-select-base.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import '../../css/colors.css';
@import "../../css/units.css";
@import "../../css/filters.css";

$border-radius: .25rem;

Expand Down Expand Up @@ -28,6 +29,7 @@ img.tool-select-icon {
height: 2rem;
flex-grow: 1;
vertical-align: middle;
filter: $filter-icon-gray;
}

.mod-tool-select.is-selected .tool-select-icon {
Expand Down
1 change: 1 addition & 0 deletions src/css/filters.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$filter-icon-gray: var(--paint-filter-icon-gray, none);

0 comments on commit 3281e80

Please sign in to comment.