1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month๐Ÿšจ Slop police๐Ÿšจ Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. fewtone
  3. FewTone UI Tokens

FewTone UI Tokens

lib

Sizes, motion durations, easing, focus ring and popover animations that FewTone UI components use. Adds only what your project does not define yet.

pnpm dlx shadcn@latest add "https://ui.fewtone.com/r/tokens.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore

Light Mode

--size-control-sm:

2rem

--size-control-md:

2.25rem

--size-control-lg:

2.5rem

--size-icon-sm:

0.875rem

--size-icon-md:

1rem

--size-icon-lg:

1.25rem

--size-roll-fade:

0.25em

--size-roll-fade-x:

0.5em

--size-sheet-top-gap:

max(2.75rem, calc(env(safe-area-inset-top) + 0.5rem))

--size-sheet-max:

calc(100svh - max(2.75rem, calc(env(safe-area-inset-top) + 0.5rem)))

--size-sheet-inset-bottom:

calc(1rem + env(safe-area-inset-bottom))

--duration-instant:

80ms

--duration-fast:

150ms

--duration-base:

220ms

--duration-slow:

350ms

--duration-slower:

500ms

--z-overlay:

1200

--z-modal:

1300

--z-popover:

1400

--z-toast:

1500

--z-tooltip:

1600

--focus-ring-width:

2px

--focus-ring-offset:

2px

--opacity-disabled:

0.5

--ease-spring:

linear(0, 0.157, 0.48, 0.77, 0.97, 1.07, 1.1, 1.09, 1.05, 1.02, 1, 0.995, 1)

--destructive-foreground:

oklch(1 0 0)

--overlay:

color-mix(in oklch, oklch(0 0 0) 40%, transparent)

Dark Mode

--destructive-foreground:

oklch(1 0 0)

--overlay:

color-mix(in oklch, oklch(0 0 0) 60%, transparent)

Theme

--animate-popover-in:

popover-in var(--duration-fast) cubic-bezier(0.22, 1, 0.36, 1) both

--animate-popover-out:

popover-out var(--duration-instant) cubic-bezier(0.55, 0, 1, 0.45) both

--animate-collapsible-open:

collapsible-open var(--duration-slow) cubic-bezier(0.22, 1, 0.36, 1)

--animate-collapsible-close:

collapsible-close var(--duration-base) cubic-bezier(0.55, 0, 1, 0.45) both

CSS