@snowball-tech/fractal
Version:
Fractal's (Snowball's design system) React component library based on RadixUI and TailwindCSS
2 lines • 1.19 kB
JavaScript
const e=`toggle`;let t=function(e){return e.Primary=`primary`,e.Secondary=`secondary`,e}({});const n=`primary`,r={primary:`bg-white text-dark aria-not-pressed:shadow-subtle aria-not-pressed:hover:shadow-brutal aria-not-pressed:focus:shadow-brutal aria-not-pressed:active:shadow-none border-1 border-normal aria-not-pressed:active:-translate-x-quarter aria-not-pressed:active:translate-y-half aria-not-pressed:hover:translate-x-0 aria-not-pressed:hover:-translate-y-quarter aria-not-pressed:focus:translate-x-0 aria-not-pressed:focus:-translate-y-quarter aria-pressed:bg-secondary aria-pressed:text-light`,secondary:`bg-white text-dark aria-not-pressed:hover:bg-primary aria-not-pressed:focus:bg-primary border-1 border-normal aria-pressed:bg-secondary aria-pressed:text-light`},i={primary:`bg-white text-disabled shadow-none border-1 border-disabled aria-pressed:bg-secondary aria-pressed:text-disabled`,secondary:`bg-white text-disabled shadow-none border-1 border-disabled aria-pressed:bg-secondary aria-pressed:text-disabled`};export{n as DEFAULT_VARIANT,e as GROUP_NAME,t as Variants,i as disabledVariantClassNames,r as variantClassNames};
//# sourceMappingURL=Toggle.constants.js.map