Skip to content

Commit 0c431f5

Browse files
committed
2 new variants for the popover button
1 parent 664311d commit 0c431f5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

apps/webapp/app/components/primitives/Popover.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,18 @@ const popoverArrowTriggerVariants = {
205205
text: "group-hover:text-text-bright",
206206
icon: "text-text-dimmed group-hover:text-text-bright",
207207
},
208+
primary: {
209+
trigger:
210+
"bg-indigo-600 border border-indigo-500 text-text-bright hover:bg-indigo-500 hover:border-indigo-400 disabled:opacity-50 disabled:pointer-events-none",
211+
text: "text-text-bright hover:text-white",
212+
icon: "text-text-bright",
213+
},
214+
secondary: {
215+
trigger:
216+
"bg-secondary border border-charcoal-600 text-text-bright hover:bg-charcoal-600 hover:border-charcoal-550 disabled:opacity-60 disabled:pointer-events-none",
217+
text: "text-text-bright",
218+
icon: "text-text-bright",
219+
},
208220
tertiary: {
209221
trigger: "bg-tertiary text-text-bright hover:bg-charcoal-600",
210222
text: "text-text-bright",

0 commit comments

Comments
 (0)