refactor: use the gradient directly instead of with a custom utility. (#9327)

## Summary

Little simpler.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-9327-refactor-use-the-gradient-directly-instead-of-with-a-custom-utility-3166d73d36508179876af0ef8cea35b7)
by [Unito](https://www.unito.io)

---------

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Alexander Brown
2026-03-03 09:25:04 -08:00
committed by GitHub
parent be04046ec8
commit ab2aaa3852
2 changed files with 2 additions and 27 deletions

View File

@@ -21,7 +21,7 @@ export const buttonVariants = cva({
'text-destructive-background bg-transparent hover:bg-destructive-background/10',
'overlay-white': 'bg-white text-gray-600 hover:bg-white/90',
gradient:
'bg-subscription-gradient text-white border-transparent hover:opacity-90'
'bg-(image:--subscription-button-gradient) text-white border-transparent hover:opacity-90'
},
size: {
sm: 'h-6 rounded-sm px-2 py-1 text-xs',