Skip to content

Commit

Permalink
Switch ImageInput's button variant (#2642)
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer authored Aug 8, 2024
1 parent aa230ca commit d53ccb1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/thick-games-rescue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sumup/circuit-ui': minor
---

Switched the ImageInput's button variant from `primary` to `secondary` to improve its appearance on dark backgrounds.
4 changes: 2 additions & 2 deletions packages/circuit-ui/components/ImageInput/ImageInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export const ImageInput = ({
<IconButton
type="button"
size="s"
variant="primary"
variant="secondary"
destructive
onClick={handleClear}
disabled={isLoading || disabled}
Expand All @@ -277,7 +277,7 @@ export const ImageInput = ({
<IconButton
type="button"
size="s"
variant="primary"
variant="secondary"
aria-hidden="true"
tabIndex={-1}
disabled={isLoading || disabled}
Expand Down

0 comments on commit d53ccb1

Please sign in to comment.