Skip to content

Commit

Permalink
Try decreasing opacity of disabled button
Browse files Browse the repository at this point in the history
We really want a "lighter" or "darker" version of the red here; but
let's try this for now.
  • Loading branch information
jonathansick committed Apr 9, 2024
1 parent 8c57d81 commit 1b6bbde
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/squareone/src/components/Button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,8 @@ export const GhostButton = styled.button`

export const RedGhostButton = styled(GhostButton)`
--ghost-button-color: var(--rsd-color-red-500);
&:disabled {
opacity: 0.5;
}
`;

0 comments on commit 1b6bbde

Please sign in to comment.