We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 096cb0d commit 9e4691dCopy full SHA for 9e4691d
src/components/button-link/button-link.astro
@@ -16,7 +16,7 @@ const resolvedIsExternal = isExternal !== undefined ? isExternal : url?.startsWi
16
17
<a
18
class={`font-bold text-lg px-4 py-4 bg-button rounded-[60px] inline-block leading-4 hover:bg-button-hover not-prose
19
- ${secondary ? "bg-primary text-white hover:bg-primary-hover" : "text-text-inverted"}
+ ${secondary || disabled ? "bg-primary text-white hover:bg-primary-hover" : "text-text-inverted"}
20
${secondary ? "text-text" : ""}
21
${className || ""}
22
${disabled ? "opacity-50 pointer-events-none" : ""}`}
0 commit comments