diff --git a/.changeset/green-badgers-switch.md b/.changeset/green-badgers-switch.md new file mode 100644 index 00000000000..ef057a33da4 --- /dev/null +++ b/.changeset/green-badgers-switch.md @@ -0,0 +1,5 @@ +--- +'@shopify/polaris': patch +--- + +Fixed an issue with the `primary` variant styles conflicting with the `tertiary` variant in `Button` diff --git a/polaris-react/src/components/Button/Button.tsx b/polaris-react/src/components/Button/Button.tsx index 33128d430da..9c881f1e76f 100644 --- a/polaris-react/src/components/Button/Button.tsx +++ b/polaris-react/src/components/Button/Button.tsx @@ -129,7 +129,6 @@ export function Button({ styles.Button, variant === 'primary' && styles.primary, variant === 'plain' && styles.plain, - variant === 'tertiary' && styles.primary, variant === 'tertiary' && styles.tertiary, variant === 'monochromePlain' && styles.monochrome, variant === 'monochromePlain' && styles.plain,