Skip to content
iv-ui v0.3.0

Tokens

Every design decision is a CSS custom property. This is the full generated list.

Tokens are the only source of color, type, space, and motion. Components reference them; apps override them. Values below are read from tokens.css at build time.

192 / 192

Color

SwatchTokenDarkLight
--iv_accent #c7a24a #8a6f2f
--iv_accent-dim #8a6f2f #6b5523
--iv_accent-foreground var(--iv_surface) var(--iv_surface)
--iv_accent-surface rgba(199, 162, 74, 0.12) rgba(138, 111, 47, 0.1)
--iv_background var(--iv_surface) var(--iv_surface)
--iv_background-foreground var(--iv_foreground) var(--iv_foreground)
--iv_border #26262a #d4d3cf
--iv_border-error #e0503a #b33a22
--iv_border-focus #4a4a50 #82817c
--iv_border-hover #3a3a3f #b3b2ad
--iv_bracket var(--iv_accent-dim) var(--iv_accent-dim)
--iv_card var(--iv_surface-raised) var(--iv_surface-raised)
--iv_card-foreground var(--iv_foreground) var(--iv_foreground)
--iv_card-pad-x 1rem 1rem
--iv_card-pad-x-lg 1.25rem 1.25rem
--iv_card-pad-x-sm 0.75rem 0.75rem
--iv_card-pad-y 0.875rem 0.875rem
--iv_card-pad-y-lg 1.25rem 1.25rem
--iv_card-pad-y-sm 0.625rem 0.625rem
--iv_caret var(--iv_accent) var(--iv_accent)
--iv_cursor var(--iv_accent) var(--iv_accent)
--iv_destructive var(--iv_error) var(--iv_error)
--iv_destructive-foreground var(--iv_surface) var(--iv_surface)
--iv_destructive-surface var(--iv_error-surface) var(--iv_error-surface)
--iv_error #e0503a #b33a22
--iv_error-dim #b23c2a #8c2c1a
--iv_error-surface rgba(224, 80, 58, 0.12) rgba(179, 58, 34, 0.1)
--iv_foreground #f2f2f2 #141414
--iv_foreground-dim #8a8a90 #6e6d68
--iv_foreground-hover #dcdcdc #232322
--iv_foreground-inverse #000000 #ffffff
--iv_info #5d8ee8 #2f5fc4
--iv_info-dim #3a6fcc #244a99
--iv_info-surface rgba(93, 142, 232, 0.12) rgba(47, 95, 196, 0.1)
--iv_input var(--iv_surface-raised) var(--iv_surface-raised)
--iv_muted var(--iv_surface-elevated) var(--iv_surface-elevated)
--iv_muted-foreground var(--iv_foreground-dim) var(--iv_foreground-dim)
--iv_overlay rgba(0, 0, 0, 0.5) rgba(0, 0, 0, 0.25)
--iv_popover var(--iv_surface-elevated) var(--iv_surface-elevated)
--iv_popover-foreground var(--iv_foreground) var(--iv_foreground)
--iv_popover-margin 4px 4px
--iv_popover-max-w 20rem 20rem
--iv_popover-min-w 10rem 10rem
--iv_primary var(--iv_foreground) var(--iv_foreground)
--iv_primary-foreground var(--iv_surface) var(--iv_surface)
--iv_primary-hover var(--iv_foreground-hover) var(--iv_foreground-hover)
--iv_reverse-bg var(--iv_foreground) var(--iv_foreground)
--iv_reverse-fg var(--iv_surface) var(--iv_surface)
--iv_reverse-hover var(--iv_foreground-hover) var(--iv_foreground-hover)
--iv_ring rgba(255, 255, 255, 0.12) rgba(0, 0, 0, 0.08)
--iv_ring-width 1px 1px
--iv_secondary var(--iv_surface-elevated) var(--iv_surface-elevated)
--iv_secondary-foreground var(--iv_foreground) var(--iv_foreground)
--iv_success #7c9b7c #3b6e3b
--iv_success-dim #557255 #2c552c
--iv_success-surface rgba(124, 155, 124, 0.12) rgba(59, 110, 59, 0.1)
--iv_surface #000000 #fcfcfc
--iv_surface-elevated #18181a #e8e8e8
--iv_surface-hover #1f1f22 #dddcdb
--iv_surface-overlay rgba(255, 255, 255, 0.08) rgba(0, 0, 0, 0.04)
--iv_surface-raised #101011 #f2f2f2

Component

SwatchTokenDarkLight
--iv_article-width 880px 880px
--iv_avatar-lg 48px 48px
--iv_avatar-md 36px 36px
--iv_avatar-sm 28px 28px
--iv_avatar-xs 20px 20px
--iv_badge-h-md 26px 26px
--iv_badge-h-sm 20px 20px
--iv_badge-pad-x-md 12px 12px
--iv_badge-pad-x-sm 8px 8px
--iv_btn-pad-x 20px 20px
--iv_btn-pad-x-lg 26px 26px
--iv_btn-pad-x-sm 14px 14px
--iv_control-md 20px 20px
--iv_control-pad-x 15px 15px
--iv_control-pad-x-lg 18px 18px
--iv_control-pad-x-sm 12px 12px
--iv_control-pad-y 10px 10px
--iv_control-pad-y-lg 14px 14px
--iv_control-pad-y-sm 6px 6px
--iv_control-sm 16px 16px
--iv_dialog-lg 640px 640px
--iv_dialog-md 520px 520px
--iv_dialog-sm 400px 400px
--iv_disabled-opacity 0.5 0.5
--iv_hazard-angle 45deg 45deg
--iv_hazard-stripe repeating-linear-gradient( var(--iv_hazard-angle), transparent 0 4px, var(--iv_surface-overlay) 4px 8px ) repeating-linear-gradient( var(--iv_hazard-angle), transparent 0 4px, var(--iv_surface-overlay) 4px 8px )
--iv_menu-lead-size 18px 18px
--iv_progress-h-md 6px 6px
--iv_progress-h-sm 4px 4px
--iv_radio-border 1.5px 1.5px
--iv_radio-dot 8px 8px
--iv_radio-dot-sm 5px 5px
--iv_select-dropdown-max-h 240px 240px
--iv_separator-size 1px 1px
--iv_sheet-lg 560px 560px
--iv_sheet-md 440px 440px
--iv_sheet-sm 320px 320px
--iv_skeleton-radius var(--iv_radius) var(--iv_radius)
--iv_slider-track 6px 6px
--iv_slider-track-sm 4px 4px
--iv_submenu-min-w 12rem 12rem
--iv_switch-h 22px 22px
--iv_switch-h-sm 18px 18px
--iv_switch-w 40px 40px
--iv_switch-w-sm 32px 32px
--iv_table-cell-pad-x 1rem 1rem
--iv_table-cell-pad-y 0.625rem 0.625rem
--iv_thumb-md 18px 18px
--iv_thumb-sm 14px 14px
--iv_toast-close-size 32px 32px
--iv_toast-min-w 260px 260px
--iv_tooltip-margin 4px 4px

Layers

SwatchTokenDarkLight
--iv_blur 12px 12px
--iv_dialog-gap 4rem 4rem
--iv_scrollbar-size 8px 8px
--iv_tooltip-gap 4px 4px
--iv_z-dropdown 50 50
--iv_z-overlay 100 100
--iv_z-toast 110 110

Motion

SwatchTokenDarkLight
--iv_ease-emphasized cubic-bezier(0.2, 0, 0, 1) cubic-bezier(0.2, 0, 0, 1)
--iv_ease-in cubic-bezier(0.32, 0, 0.67, 0) cubic-bezier(0.32, 0, 0.67, 0)
--iv_ease-in-out cubic-bezier(0.65, 0, 0.35, 1) cubic-bezier(0.65, 0, 0.35, 1)
--iv_ease-out cubic-bezier(0.16, 1, 0.3, 1) cubic-bezier(0.16, 1, 0.3, 1)
--iv_ease-snappy cubic-bezier(0.3, 0.7, 0.7, 0.3) cubic-bezier(0.3, 0.7, 0.7, 0.3)
--iv_ease-spring cubic-bezier(0.34, 1.56, 0.64, 1) cubic-bezier(0.34, 1.56, 0.64, 1)
--iv_motion-fade 0.28s 0.28s
--iv_motion-fly 0.34s 0.34s
--iv_motion-scale 0.36s 0.36s
--iv_motion-slide 0.38s 0.38s
--iv_motion-subtle 0.22s 0.22s
--iv_spin-duration 0.75s 0.75s
--iv_spin-easing cubic-bezier(0.3, 0.7, 0.7, 0.3) cubic-bezier(0.3, 0.7, 0.7, 0.3)
--iv_spinner-border 2px 2px
--iv_transition-base 0.32s 0.32s
--iv_transition-fast 0.2s 0.2s
--iv_transition-slow 0.48s 0.48s

Shape

SwatchTokenDarkLight
--iv_outline-offset 3px 3px
--iv_outline-width 1px 1px
--iv_radius 4px 4px
--iv_radius-lg calc(var(--iv_radius) + 4px) calc(var(--iv_radius) + 4px)
--iv_radius-pill 999px 999px
--iv_radius-sm calc(var(--iv_radius) - 4px) calc(var(--iv_radius) - 4px)
--iv_shadow-lg 0 24px 60px rgba(0, 0, 0, 0.65), 0 2px 6px rgba(0, 0, 0, 0.45) 0 24px 60px rgba(0, 0, 0, 0.65), 0 2px 6px rgba(0, 0, 0, 0.45)
--iv_shadow-md 0 4px 20px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.45) 0 4px 20px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.45)
--iv_shadow-sm 0 1px 2px rgba(0, 0, 0, 0.55) 0 1px 2px rgba(0, 0, 0, 0.55)

Space

SwatchTokenDarkLight
--iv_spacing-2xl 24px 24px
--iv_spacing-2xs 2px 2px
--iv_spacing-lg 16px 16px
--iv_spacing-md 12px 12px
--iv_spacing-sm 8px 8px
--iv_spacing-xl 20px 20px
--iv_spacing-xs 4px 4px

Typography

SwatchTokenDarkLight
--iv_font-mono 'IBM Plex Mono', monospace 'IBM Plex Mono', monospace
--iv_font-sans 'Sora', system-ui, sans-serif 'Sora', system-ui, sans-serif
--iv_font-ui var(--iv_font-mono) var(--iv_font-mono)
--iv_leading-base 1.5 1.5
--iv_leading-heading 1.3 1.3
--iv_leading-loose 1.75 1.75
--iv_leading-none 1 1
--iv_leading-prose 1.6 1.6
--iv_leading-tight 1.25 1.25
--iv_text-base 1rem 1rem
--iv_text-body 0.9rem 0.9rem
--iv_text-body-sm 0.875rem 0.875rem
--iv_text-btn 0.95rem 0.95rem
--iv_text-btn-sm 0.825rem 0.825rem
--iv_text-caption 0.75rem 0.75rem
--iv_text-chips 10.5px 10.5px
--iv_text-chips-sm 13px 13px
--iv_text-display 2rem 2rem
--iv_text-h1 1.5rem 1.5rem
--iv_text-h2 1.25rem 1.25rem
--iv_text-h3 1.1rem 1.1rem
--iv_text-label 0.85rem 0.85rem
--iv_text-lg 1.05rem 1.05rem
--iv_text-sm 0.8rem 0.8rem
--iv_text-title 1rem 1rem
--iv_text-xl 1.1rem 1.1rem
--iv_text-xs 0.75rem 0.75rem
--iv_tracking-base 0 0
--iv_tracking-tight -0.01em -0.01em
--iv_tracking-wide 0.02em 0.02em
--iv_tracking-wider 0.05em 0.05em
--iv_typeset-flow 1.25em 1.25em
--iv_typeset-leading 1.6 1.6
--iv_typeset-measure 68ch 68ch
--iv_typeset-size 0.9rem 0.9rem
--iv_weight-bold 700 700
--iv_weight-medium 500 500
--iv_weight-normal 400 400
--iv_weight-semibold 600 600
Naming All tokens use the --iv_ prefix. Color tokens come in pairs: a surface (--iv_surface, --iv_accent-surface) and a foreground (--iv_foreground, --iv_accent).
iv-ui
↑ ↓ navigate ↵ open esc close minisearch · 482 records