Size
An overview of all available size CSS variables
Base
Sample | CSS variable | Output value | Source value |
---|---|---|---|
--base-size-2 | 0.125rem | 2px | |
--base-size-4 | 0.25rem | 4px | |
--base-size-6 | 0.375rem | 6px | |
--base-size-8 | 0.5rem | 8px | |
--base-size-12 | 0.75rem | 12px | |
--base-size-16 | 1rem | 16px | |
--base-size-20 | 1.25rem | 20px | |
--base-size-24 | 1.5rem | 24px | |
--base-size-28 | 1.75rem | 28px | |
--base-size-32 | 2rem | 32px | |
--base-size-36 | 2.25rem | 36px | |
--base-size-40 | 2.5rem | 40px | |
--base-size-44 | 2.75rem | 44px | |
--base-size-48 | 3rem | 48px | |
--base-size-64 | 4rem | 64px | |
--base-size-80 | 5rem | 80px | |
--base-size-96 | 6rem | 96px | |
--base-size-112 | 7rem | 112px | |
--base-size-128 | 8rem | 128px |
Border
Border size
Sample | CSS variable | Output value | Source value |
---|---|---|---|
--boxShadow-thick | inset 0 0 0 0.125rem | inset 0 0 0 {borderWidth.thick} | |
--boxShadow-thicker | inset 0 0 0 0.25rem | inset 0 0 0 {borderWidth.thicker} | |
--boxShadow-thin | inset 0 0 0 0.0625rem | inset 0 0 0 {borderWidth.thin} | |
--borderWidth-default | 0.0625rem | {borderWidth.thin} | |
--borderWidth-thick | 0.125rem | 2px | |
--borderWidth-thicker | 0.25rem | 4px | |
--borderWidth-thin | 0.0625rem | 1px |
Border radius
Sample | CSS variable | Output value | Source value |
---|---|---|---|
--borderRadius-default | 0.375rem | {borderRadius.medium} | |
--borderRadius-full | 624.9375rem | 9999px | |
--borderRadius-large | 0.75rem | 12px | |
--borderRadius-medium | 0.375rem | 6px | |
--borderRadius-small | 0.1875rem | 3px |
Outline
Sample | CSS variable | Output value | Source value |
---|---|---|---|
--outline-focus-offset | -0.125rem | -2px | |
--outline-focus-width | 0.125rem | 2px |
Breakpoints
CSS variable | Output value | Source value |
---|---|---|
--breakpoint-xsmall | 20rem | 320px |
--breakpoint-small | 34rem | 544px |
--breakpoint-medium | 48rem | 768px |
--breakpoint-large | 63.25rem | 1012px |
--breakpoint-xlarge | 80rem | 1280px |
--breakpoint-xxlarge | 87.5rem | 1400px |
Viewport
CSS variable | Output value |
---|---|
--viewportRange-landscape | (orientation: landscape) |
--viewportRange-narrow | (max-width: calc(48rem - 0.02px)) |
--viewportRange-narrowLandscape | (max-width: calc(63.25rem - 0.02px) and (max-height: calc(34rem - 0.02px)) and (orientation: landscape)) |
--viewportRange-portrait | (orientation: portrait) |
--viewportRange-regular | (min-width: 48rem) |
--viewportRange-wide | (min-width: 87.5rem) |
Layout
Stack
Sample | CSS variable | Output value | Source value |
---|---|---|---|
--stack-gap-condensed | 0.5rem | {base.size.8} | |
--stack-gap-normal | 1rem | {base.size.16} | |
--stack-gap-spacious | 1.5rem | {base.size.24} | |
--stack-padding-condensed | 0.5rem | {base.size.8} | |
--stack-padding-normal | 1rem | {base.size.16} | |
--stack-padding-spacious | 1.5rem | {base.size.24} |
Controls
Overlay
CSS variable | Output value | Source value |
---|---|---|
--overlay-borderRadius | 0.375rem | {borderRadius.medium} |
--overlay-height-large | 27rem | 432px |
--overlay-height-medium | 20rem | 320px |
--overlay-height-small | 16rem | 256px |
--overlay-height-xlarge | 37.5rem | 600px |
--overlay-offset | 0.25rem | 4px |
--overlay-padding-condensed | 0.5rem | {base.size.8} |
--overlay-padding-normal | 1rem | {base.size.16} |
--overlay-paddingBlock-condensed | 0.25rem | {base.size.4} |
--overlay-paddingBlock-normal | 0.75rem | {base.size.12} |
--overlay-width-large | 40rem | 640px |
--overlay-width-medium | 30rem | 480px |
--overlay-width-small | 20rem | 320px |
--overlay-width-xlarge | 60rem | 960px |
--overlay-width-xsmall | 12rem | 192px |