Skip to content

Commit

Permalink
Fix colors of pane search icons (#2921)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyballentine authored May 30, 2024
1 parent e7cf591 commit dca5291
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/renderer/colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@
/* controls */
--controls-bg: var(--theme-600-a50);
--controls-bg-hover: var(--theme-600);

// pane search
--pane-icon: var(--theme-200);
}

:root[data-theme='light'] {
Expand Down Expand Up @@ -165,6 +168,9 @@
--controls-bg-hover: var(--theme-400);

--type-color-color: #000;

// pane search
--pane-icon: var(--theme-700);
}

// Default theme (copied from Chakra UI)
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/PaneNodeSearchMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const SchemaItem = memo(
onClick={onClick}
>
<IconFactory
accentColor="gray.500"
accentColor="var(--pane-icon)"
icon={icon}
/>
<Text
Expand Down

0 comments on commit dca5291

Please sign in to comment.