Skip to content

Commit

Permalink
fix: theme Selectable buttons (#2334)
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbulat authored Nov 15, 2024
1 parent 510581c commit 20b33e5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/app/src/library/GenerateNominations/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@ export const GenerateNominations = ({
onClick={() => clearNominations()}
marginRight
/>

{['Active Low Commission', 'Optimal Selection'].includes(
method || ''
) && (
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/library/List/Selectable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const Selectable = ({
displayFor === 'canvas' ? ButtonMonoInvert : ButtonMonoInvert;

return (
<SelectableWrapper>
<SelectableWrapper className="list">
{selectToggleable === true ? (
<ButtonType
text={selectActive ? t('cancel') : t('select')}
Expand Down
6 changes: 6 additions & 0 deletions packages/app/src/library/List/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ export const SelectableWrapper = styled.div`
> button {
margin-bottom: 0.75rem;
}
&.list {
button {
color: var(--text-color-primary);
}
}
`;

export const ListStatusHeader = styled.h4`
Expand Down

0 comments on commit 20b33e5

Please sign in to comment.