Skip to content

Commit

Permalink
Change background to theme.background.app in Control button, Search a…
Browse files Browse the repository at this point in the history
…nd svg Arrows
  • Loading branch information
Nazeeh21 committed Jun 30, 2021
1 parent 88e5774 commit 93dc1e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/components/src/controls/Boolean.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ const Label = styled.label(({ theme }) => ({
},
},

'input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type': {
background: theme.background.bar,
'input:checked ~ span:first-of-type, input:not(:checked) ~ span:last-of-type': {
background: theme.background.app,
boxShadow: `${opacify(0.1, theme.appBorderColor)} 0 0 2px`,
color: theme.color.defaultText,
padding: '7px 15px',
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/src/components/sidebar/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const Input = styled.input(({ theme }) => ({
'&:focus, &:active': {
outline: 0,
borderColor: theme.color.secondary,
background: theme.input.background,
background: theme.background.app,
},
'&::placeholder': {
color: theme.textMutedColor,
Expand Down
4 changes: 2 additions & 2 deletions lib/ui/src/components/sidebar/Tree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ export const Action = styled.button(({ theme }) => ({
: transparentize(0.6, theme.color.defaultText),

'&:hover': {
color: theme.barSelectedColor,
color: theme.background.app,
},
'&:focus': {
color: theme.barSelectedColor,
color: theme.background.app,
borderColor: theme.color.secondary,

'&:not(:focus-visible)': {
Expand Down

0 comments on commit 93dc1e9

Please sign in to comment.