diff --git a/.changeset/eight-books-give.md b/.changeset/eight-books-give.md new file mode 100644 index 0000000000..732d795670 --- /dev/null +++ b/.changeset/eight-books-give.md @@ -0,0 +1,5 @@ +--- +"@coinbase/onchainkit": patch +--- + +Fix: Move `` styling to configurable parent diff --git a/src/transaction/components/TransactionButton.tsx b/src/transaction/components/TransactionButton.tsx index b00536f93e..8c6a382726 100644 --- a/src/transaction/components/TransactionButton.tsx +++ b/src/transaction/components/TransactionButton.tsx @@ -144,9 +144,10 @@ export function TransactionButton({ pressable.primary, border.radius, 'w-full rounded-xl', - 'px-4 py-3 font-medium text-base text-white leading-6', + 'px-4 py-3 font-medium leading-6', isDisabled && pressable.disabled, text.headline, + color.inverse, className, )} onClick={handleSubmit} @@ -154,9 +155,7 @@ export function TransactionButton({ disabled={isDisabled} data-testid="ockTransactionButton_Button" > -
- {buttonContent} -
+ {buttonContent} ); }