Design tokens
Semantic CSS variables for customising Vectis UI, with their purpose and default values.
For token references, the tables show both the resolved value and the CSS expression, such as var(--vectis-color-gray-900). Override a semantic token to change its role; changing a primitive affects all roles that reference it.
Primitives appear in the references rather than in a separate table. For override examples, see Theming.
This site uses a violet accent. The tables show the library’s default indigo values.
Colours
Colours for surfaces, text, borders, tones and calendar events. Each tone defines a solid colour, hover and pressed states, a tinted surface, a border and text.
| Token | Description | Light | Dark |
|---|---|---|---|
| Surfaces | |||
--vectis-color-surface | The default page background | oklch(100% 0 0)var(--vectis-color-white) | oklch(13% 0.028 261.692)var(--vectis-color-gray-950) |
--vectis-color-surface-muted | A muted background (secondary areas) | oklch(96.7% 0.003 264.542)var(--vectis-color-gray-100) | oklch(27.8% 0.033 256.848)var(--vectis-color-gray-800) |
--vectis-color-surface-raised | Raised surfaces: cards | oklch(100% 0 0)var(--vectis-color-white) | oklch(21% 0.034 264.665)var(--vectis-color-gray-900) |
--vectis-color-surface-overlay | Floating surfaces: dialogs, popovers, menus | oklch(100% 0 0)var(--vectis-color-white) | oklch(21% 0.034 264.665)var(--vectis-color-gray-900) |
--vectis-color-surface-sunken | Sunken surfaces: wells, code areas | oklch(98.5% 0.002 247.839)var(--vectis-color-gray-50) | oklch(11% 0.006 260) |
--vectis-color-surface-inverse | Inverted-contrast surfaces: tooltips | oklch(21% 0.034 264.665)var(--vectis-color-gray-900) | oklch(27.8% 0.033 256.848)var(--vectis-color-gray-800) |
--vectis-color-surface-skeleton | The background of VSkeletonLoader's silhouettes, from which its highlight is derived | oklch(92.8% 0.006 264.531)var(--vectis-color-gray-200) | oklch(27.8% 0.033 256.848)var(--vectis-color-gray-800) |
| Text | |||
--vectis-color-text-on-inverse | Text set on an inverted surface | oklch(100% 0 0)var(--vectis-color-white) | oklch(98.5% 0.002 247.839)var(--vectis-color-gray-50) |
--vectis-color-text | The running text of the interface | oklch(21% 0.034 264.665)var(--vectis-color-gray-900) | oklch(98.5% 0.002 247.839)var(--vectis-color-gray-50) |
--vectis-color-text-muted | Secondary text: hints, captions, descriptions, start icons | oklch(44.6% 0.03 256.802)var(--vectis-color-gray-600) | oklch(87.2% 0.01 258.338)var(--vectis-color-gray-300) |
--vectis-color-text-subtle | Placeholders, disabled text | oklch(55.1% 0.027 264.364)var(--vectis-color-gray-500) | oklch(70.7% 0.022 261.325)var(--vectis-color-gray-400) |
--vectis-color-text-on-accent | Text set on an accent/danger/success background | oklch(100% 0 0)var(--vectis-color-white) | oklch(100% 0 0)var(--vectis-color-white) |
--vectis-color-text-on-warning | Text set on a solid warning background (amber too light for white) | oklch(13% 0.028 261.692)var(--vectis-color-gray-950) | Same as light |
| Borders | |||
--vectis-color-border | Dividers, and the frames of cards, tables and panels | oklch(92.8% 0.006 264.531)var(--vectis-color-gray-200) | oklch(27.8% 0.033 256.848)var(--vectis-color-gray-800) |
--vectis-color-border-strong | The borders of form controls | oklch(87.2% 0.01 258.338)var(--vectis-color-gray-300) | oklch(37.3% 0.034 259.733)var(--vectis-color-gray-700) |
--vectis-color-border-on-fill | A veil edging or dividing a filled background: VButtonGroup seams, VColorPicker swatches | oklch(0% 0 0 / 0.12) | oklch(100% 0 0 / 0.15) |
| Accent | |||
--vectis-color-accent | The brand color: solid buttons, checked controls, the selected item | oklch(51.1% 0.262 276.966)var(--vectis-color-indigo-600) | oklch(58.5% 0.233 277.117)var(--vectis-color-indigo-500) |
--vectis-color-accent-hover | The accent color under the pointer | oklch(45.7% 0.24 277.023)var(--vectis-color-indigo-700) | oklch(67.3% 0.182 276.935)var(--vectis-color-indigo-400) |
--vectis-color-accent-active | The accent color while pressed | oklch(39.8% 0.195 277.366)var(--vectis-color-indigo-800) | oklch(78.5% 0.115 274.713)var(--vectis-color-indigo-300) |
--vectis-color-accent-surface | A tinted accent background (badges, selections) | oklch(96.2% 0.018 272.314)var(--vectis-color-indigo-50) | oklch(25.7% 0.09 281.288)var(--vectis-color-indigo-950) |
--vectis-color-accent-border | The border of a tinted accent element, matching the accent surface | oklch(87% 0.065 274.039)var(--vectis-color-indigo-200) | oklch(35.9% 0.144 278.697)var(--vectis-color-indigo-900) |
--vectis-color-accent-text | Accent text on a neutral or tinted background | oklch(45.7% 0.24 277.023)var(--vectis-color-indigo-700) | oklch(78.5% 0.115 274.713)var(--vectis-color-indigo-300) |
| Danger | |||
--vectis-color-danger | Destructive actions and errors: solid buttons, error states | oklch(57.7% 0.245 27.325)var(--vectis-color-red-600) | oklch(57.7% 0.245 27.325)var(--vectis-color-red-600) |
--vectis-color-danger-hover | The danger color under the pointer | oklch(50.5% 0.213 27.518)var(--vectis-color-red-700) | oklch(50.5% 0.213 27.518)var(--vectis-color-red-700) |
--vectis-color-danger-active | The danger color while pressed | oklch(44.4% 0.177 26.899)var(--vectis-color-red-800) | oklch(44.4% 0.177 26.899)var(--vectis-color-red-800) |
--vectis-color-danger-surface | A tinted danger background (soft buttons and chips, a destructive menu item) | oklch(97.1% 0.013 17.38)var(--vectis-color-red-50) | oklch(25.8% 0.092 26.042)var(--vectis-color-red-950) |
--vectis-color-danger-border | The border of a tinted danger element, matching the danger surface | oklch(88.5% 0.062 18.334)var(--vectis-color-red-200) | oklch(39.6% 0.141 25.723)var(--vectis-color-red-900) |
--vectis-color-danger-text | Danger text on a neutral or tinted background: error messages, a destructive menu item | oklch(50.5% 0.213 27.518)var(--vectis-color-red-700) | oklch(80.8% 0.114 19.571)var(--vectis-color-red-300) |
| Success | |||
--vectis-color-success | A positive outcome: solid chips, badges, notifications | oklch(52.7% 0.154 150.069)var(--vectis-color-green-700) | oklch(52.7% 0.154 150.069)var(--vectis-color-green-700) |
--vectis-color-success-hover | The success color under the pointer | oklch(44.8% 0.119 151.328)var(--vectis-color-green-800) | oklch(44.8% 0.119 151.328)var(--vectis-color-green-800) |
--vectis-color-success-active | The success color while pressed | oklch(39.3% 0.095 152.535)var(--vectis-color-green-900) | oklch(39.3% 0.095 152.535)var(--vectis-color-green-900) |
--vectis-color-success-surface | A tinted success background (soft chips, badges, notifications) | oklch(98.2% 0.018 155.826)var(--vectis-color-green-50) | oklch(26.6% 0.065 152.934)var(--vectis-color-green-950) |
--vectis-color-success-border | The border of a tinted success element, matching the success surface | oklch(92.5% 0.084 155.995)var(--vectis-color-green-200) | oklch(39.3% 0.095 152.535)var(--vectis-color-green-900) |
--vectis-color-success-text | Success text on a neutral or tinted background | oklch(44.8% 0.119 151.328)var(--vectis-color-green-800) | oklch(87.1% 0.15 154.449)var(--vectis-color-green-300) |
| Warning | |||
--vectis-color-warning | A situation that calls for attention: solid chips, badges, notifications | oklch(66.6% 0.179 58.318)var(--vectis-color-amber-600) | oklch(76.9% 0.188 70.08)var(--vectis-color-amber-500) |
--vectis-color-warning-hover | The warning color under the pointer | oklch(55.5% 0.163 48.998)var(--vectis-color-amber-700) | oklch(82.8% 0.189 84.429)var(--vectis-color-amber-400) |
--vectis-color-warning-active | The warning color while pressed | oklch(47.3% 0.137 46.201)var(--vectis-color-amber-800) | oklch(87.9% 0.169 91.605)var(--vectis-color-amber-300) |
--vectis-color-warning-surface | A tinted warning background (soft chips, badges, notifications) | oklch(98.7% 0.022 95.277)var(--vectis-color-amber-50) | oklch(27.9% 0.077 45.635)var(--vectis-color-amber-950) |
--vectis-color-warning-border | The border of a tinted warning element, matching the warning surface | oklch(92.4% 0.12 95.746)var(--vectis-color-amber-200) | oklch(41.4% 0.112 45.904)var(--vectis-color-amber-900) |
--vectis-color-warning-text | Warning text on a neutral or tinted background | oklch(41.4% 0.112 45.904)var(--vectis-color-amber-900) | oklch(87.9% 0.169 91.605)var(--vectis-color-amber-300) |
| Backdrop | |||
--vectis-color-backdrop | The veil behind modal dialogs | oklch(0% 0 0 / 0.45) | oklch(0% 0 0 / 0.6) |
| Calendar events | |||
--vectis-color-event-surface | The face of a calendar event that carries no color of its own | oklch(0.95 0.045 265) | oklch(0.3 0.05 265) |
--vectis-color-event-border | The edge of that calendar event, and the bar marking its leading side | oklch(0.85 0.08 265) | oklch(0.42 0.08 265) |
--vectis-color-event-text | The title of that calendar event | oklch(0.4 0.11 265) | oklch(0.9 0.06 265) |
Focus ring
Colour, width and offset of the keyboard focus outline. Its colour is independent of the accent so you can adjust its contrast against the background.
| Token | Description | Light | Dark |
|---|---|---|---|
--vectis-focus-ring-color | The keyboard focus ring, which has to stand out against the page | oklch(58.5% 0.233 277.117)var(--vectis-color-indigo-500) | oklch(67.3% 0.182 276.935)var(--vectis-color-indigo-400) |
--vectis-focus-ring-width | The thickness of the focus ring | 2px | Same as light |
--vectis-focus-ring-offset | The gap between a control and its focus ring | 2px | Same as light |
Typography
Font families and text roles. Each role groups font size, weight, line height and, where defined, letter spacing.
For font loading and configuration, see Font family.
| Token | Description | Default value |
|---|---|---|
--vectis-text-family | The running font of every component | system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serifvar(--vectis-font-family-sans) |
--vectis-text-family-heading | The font of the display and heading roles, the running font until it is overridden | system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serifvar(--vectis-font-family-display) |
--vectis-text-family-code | The font of code content (the code role, VInputOTP) | ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospacevar(--vectis-font-family-mono) |
| Role | Size | Weight | Line height | Letter spacing |
|---|---|---|---|---|
--vectis-text-display-*Large hero title | 3remvar(--vectis-font-size-5xl) | 700var(--vectis-font-weight-bold) | 1var(--vectis-font-leading-none) | -0.015emvar(--vectis-font-tracking-tight) |
--vectis-text-heading-1-*Page title | 2.25remvar(--vectis-font-size-4xl) | 700var(--vectis-font-weight-bold) | 1.25var(--vectis-font-leading-tight) | -0.015emvar(--vectis-font-tracking-tight) |
--vectis-text-heading-2-*Section heading | 1.5remvar(--vectis-font-size-2xl) | 600var(--vectis-font-weight-semibold) | 1.25var(--vectis-font-leading-tight) | -0.015emvar(--vectis-font-tracking-tight) |
--vectis-text-heading-3-*Subsection heading | 1.125remvar(--vectis-font-size-lg) | 600var(--vectis-font-weight-semibold) | 1.4var(--vectis-font-leading-snug) | none |
--vectis-text-heading-4-*Group or card heading | 1remvar(--vectis-font-size-md) | 600var(--vectis-font-weight-semibold) | 1.4var(--vectis-font-leading-snug) | none |
--vectis-text-subtitle-*Subtitle in a dialog or accordion item | 0.875remvar(--vectis-font-size-sm) | 400var(--vectis-font-weight-regular) | 1.5var(--vectis-font-leading-normal) | none |
--vectis-text-body-xl-*Page or section introduction | 1.125remvar(--vectis-font-size-lg) | 400var(--vectis-font-weight-regular) | 1.65var(--vectis-font-leading-relaxed) | none |
--vectis-text-body-lg-*Large body text for extended reading | 1remvar(--vectis-font-size-md) | 400var(--vectis-font-weight-regular) | 1.65var(--vectis-font-leading-relaxed) | none |
--vectis-text-body-md-*Default body text, menu items, notifications and fields | 0.875remvar(--vectis-font-size-sm) | 400var(--vectis-font-weight-regular) | 1.5var(--vectis-font-leading-normal) | none |
--vectis-text-body-sm-*Secondary details and notes | 0.75remvar(--vectis-font-size-xs) | 400var(--vectis-font-weight-regular) | 1.5var(--vectis-font-leading-normal) | none |
--vectis-text-label-*Label above a form field | 0.875remvar(--vectis-font-size-sm) | 500var(--vectis-font-weight-medium) | 1.4var(--vectis-font-leading-snug) | none |
--vectis-text-choice-*Label beside a checkbox, radio button or switch | 0.875remvar(--vectis-font-size-sm) | 400var(--vectis-font-weight-regular) | 1.4var(--vectis-font-leading-snug) | none |
--vectis-text-caption-*Field hint or counter | 0.75remvar(--vectis-font-size-xs) | 400var(--vectis-font-weight-regular) | 1.4var(--vectis-font-leading-snug) | none |
--vectis-text-overline-*Group heading in a menu, combobox or side navigation, with wider letter spacing | 0.75remvar(--vectis-font-size-xs) | 500var(--vectis-font-weight-medium) | 1.4var(--vectis-font-leading-snug) | 0.05emvar(--vectis-font-tracking-wide) |
--vectis-text-code-*Inline code and code blocks | 0.875remvar(--vectis-font-size-sm) | 400var(--vectis-font-weight-regular) | 1.5var(--vectis-font-leading-normal) | none |
--vectis-text-control-*Button, chip or tab label. Font size follows the control’s size. | none | 500var(--vectis-font-weight-medium) | 1var(--vectis-font-leading-none) | none |
Corner radii
Buttons and chips also read --vectis-radius-button and --vectis-radius-chip. Both are unset by default and fall back to --vectis-radius-interactive, wherever it is overridden. Set one to round those components apart from the fields, for instance pill buttons beside rectangular fields.
| Token | Description | Default value |
|---|---|---|
--vectis-radius-interactive | Inputs and controls; buttons and chips fall back to it | 0.375remvar(--vectis-radius-md) |
--vectis-radius-surface | Cards, alerts | 0.5remvar(--vectis-radius-lg) |
--vectis-radius-overlay | Dialogs, popovers, menus | 0.75remvar(--vectis-radius-xl) |
--vectis-radius-pill | Full rounding: switches, badges, pill-shaped chips | 9999pxvar(--vectis-radius-full) |
Motion
Transition durations, shared by both themes. Looping animations such as the spinner use primitive duration tokens instead.
| Token | Description | Default value |
|---|---|---|
--vectis-duration-fast | Color and border changes on hover, focus and press | 150msvar(--vectis-duration-150) |
--vectis-duration-base | The default: a panel opening, a value moving | 200msvar(--vectis-duration-200) |
--vectis-duration-slow | Movements large enough to be followed by the eye | 300msvar(--vectis-duration-300) |
Sizes
Density, control heights and icon sizes. Set --vectis-density-delta to var(--vectis-space-1), in the theme or on a container, to take 4px off every control and component padding.
| Token | Description | Default value |
|---|---|---|
| Density | ||
--vectis-density-delta | What the density takes off every control height and component padding: 0px for the standard scale, the --vectis-space-1 step for the compact one | 0px |
| Control heights | ||
--vectis-control-height-xs | The height of every control at size="xs" (24px), less the density delta | 1.5rem |
--vectis-control-height-sm | The height of every control at size="sm" (32px), less the density delta | 2rem |
--vectis-control-height-md | The height of every control at size="md" (40px), less the density delta | 2.5rem |
--vectis-control-height-lg | The height of every control at size="lg" (48px), less the density delta | 3rem |
--vectis-control-height-xl | The height of every control at size="xl" (56px), less the density delta | 3.5rem |
| Icon sizes | ||
--vectis-icon-size-sm | The icon size of xs controls (16px) | 1rem |
--vectis-icon-size-md | The icon size of sm and md controls (20px) | 1.25rem |
--vectis-icon-size-lg | The icon size of lg and xl controls (24px) | 1.5rem |
Component dimensions
Dimensions specific to each component, such as track thickness or panel width. Group headings link to the component documentation.
| Token | Description | Default value |
|---|---|---|
| Avatar group | ||
--vectis-control-size-avatar-ring | The ring separating stacked avatars (VAvatarGroup) | 2px |
| Badge | ||
--vectis-control-size-badge-h | The height of a VBadge pill | 1.25rem |
--vectis-control-size-badge-dot | The diameter of VBadge in dot mode | 0.625rem |
--vectis-control-size-badge-ring | The detaching ring of a bordered VBadge | 2px |
| Calendar | ||
--vectis-control-size-calendar-hour | The height of one hour in VCalendar's time grid | 4rem |
--vectis-control-size-calendar-gutter | The column of hour labels beside VCalendar's time grid, wide enough for a 12-hour clock's '12:00 AM' on one line | 4.5rem |
--vectis-control-size-calendar-tick | How far an hour's rule runs back into VCalendar's gutter, tying the label to its line | 0.375rem |
--vectis-control-size-calendar-edge | The strip at the side of VCalendar that pages the view when a dragged event rests on it | 3rem |
--vectis-control-size-calendar-day-min | The width a VCalendar day column may not go below, past which the grid scrolls | 5rem |
--vectis-control-size-calendar-handle | The strip along a VCalendar card's bottom edge that its end is dragged by | 0.5rem |
--vectis-control-size-calendar-allday-lane | One lane of VCalendar's all-day band | 1.5rem |
--vectis-control-size-calendar-allday-max | The height past which VCalendar's all-day band scrolls instead of growing | 7rem |
--vectis-control-size-calendar-now-dot | The dot on VCalendar's current-time line | 0.625rem |
--vectis-control-size-calendar-event-edge | The width of the coloured leading edge of a VCalendar event | 3px |
--vectis-control-size-calendar-gap | The gap VCalendar keeps between two events, side by side in a day or stacked in a month | 0.125rem |
--vectis-control-size-calendar-grip | The length of the grip drawn on a VCalendar card's resize strip | 1rem |
--vectis-control-size-calendar-grip-thickness | The thickness of that grip, which is also its distance from the card's bottom edge | 2px |
--vectis-control-size-calendar-year-month | The narrowest a mini-month of VCalendar's year view gets before the year reflows | 13rem |
--vectis-control-size-calendar-month-cell | The minimum height of a day in VCalendar's month view | 8.5rem |
--vectis-control-size-calendar-year-cell | The side of a day square in the mini-months of VCalendar's year view | 1.5rem |
| Card | ||
--vectis-control-size-card-media | The width a horizontal VCard gives its media before the content wraps under it (192px) | 12rem |
--vectis-control-size-card-body-min | The narrowest content of a horizontal VCard: below it, the media moves above the content | 16rem |
| Carousel | ||
--vectis-control-size-carousel-block | The default block size of VCarousel's viewport, which a vertical carousel needs to lay its slides out | 24rem |
--vectis-control-size-carousel-indicator | The diameter of a VCarousel indicator dot (its hit area comes from --vectis-control-height-xs) | 0.625rem |
--vectis-control-size-carousel-indicator-active | The length of the active VCarousel indicator, which stretches from a dot into a pill | 1.25rem |
| Checkbox, Radio | ||
--vectis-control-border-width | The border of checkable controls (VCheckbox, VRadio) | 2px |
--vectis-control-size-check | The box of checkable controls (VCheckbox, VRadio) | 1.25rem |
--vectis-control-size-check-mark | The tick inside VCheckbox's box | 0.875rem |
--vectis-control-size-check-dot | The dot inside VRadio's circle | 0.5rem |
| Colour picker | ||
--vectis-control-size-color-picker-width | The width of VColorPicker (256px) | 16rem |
--vectis-control-size-color-picker-area | The height of VColorPicker's saturation and brightness area (160px) | 10rem |
--vectis-control-size-color-picker-track | The thickness of VColorPicker's hue and opacity tracks (12px) | 0.75rem |
--vectis-control-size-color-picker-thumb | The diameter of VColorPicker's thumbs, on the area and the tracks (20px) | 1.25rem |
--vectis-control-size-color-picker-preview | The disc showing the current colour in VColorPicker (32px) | 2rem |
--vectis-control-size-color-picker-format | The width of VColorPicker's format menu, which holds its longest name (96px) | 6rem |
--vectis-control-size-color-picker-swatch | The side of a VColorPicker swatch (24px) | 1.5rem |
--vectis-control-size-color-picker-checker | The side of the checkerboard showing through a translucent colour (8px) | 0.5rem |
| Combobox | ||
--vectis-control-size-combobox-list-max-block | The maximum height of VCombobox's list panel (the scrolling area) | 18rem |
| Command palette | ||
--vectis-control-size-command-palette-width | The default width of VCommandPalette (640px), when no width is given | 40rem |
--vectis-control-size-command-palette-list-max-block | The tallest VCommandPalette's list of commands grows before it scrolls (320px) | 20rem |
--vectis-control-size-command-palette-offset | The distance from the top of the viewport to VCommandPalette, which keeps its search field still as the list changes height (96px) | 6rem |
| Data table | ||
--vectis-control-size-table-search | The width of VDataTable's search field | 16rem |
| Date picker | ||
--vectis-control-size-date-picker-cell | The side of a VDatePicker day cell | 2.5rem |
--vectis-control-size-date-picker-day | The diameter of the disc a VDatePicker day is drawn on; the cell grows to hold it | 2.5remvar(--vectis-control-height-md) |
--vectis-control-size-date-picker-dot | The diameter of a VDatePicker event dot | 0.25rem |
--vectis-control-size-date-picker-nav-min | The minimum width of VDatePicker's month/year picker buttons (about 86px) | 5.375rem |
| Dialog | ||
--vectis-control-size-dialog-width | The default width of VDialog and VDialogAlert (400px), when no width is given | 25rem |
| Drawer | ||
--vectis-control-size-drawer-sm | The width of a small VDrawer on a side, or the height of one at the top or bottom (320px) | 20rem |
--vectis-control-size-drawer-md | The width of a medium VDrawer on a side, or the height of one at the top or bottom (400px) | 25rem |
--vectis-control-size-drawer-lg | The width of a large VDrawer on a side, or the height of one at the top or bottom (560px) | 35rem |
| Empty state | ||
--vectis-control-size-empty-state-media-sm | The diameter of the icon badge of a small VEmptyState (40px) | 2.5rem |
--vectis-control-size-empty-state-media-md | The diameter of the icon badge of a medium VEmptyState (48px) | 3rem |
--vectis-control-size-empty-state-media-lg | The diameter of the icon badge of a large VEmptyState (64px) | 4rem |
--vectis-control-size-empty-state-text-max | The widest the title and description of a VEmptyState run before they wrap (448px) | 28rem |
| Field | ||
--vectis-control-size-field-label | The width of a VField label placed beside its control, before the control wraps under it (160px) | 10rem |
--vectis-control-size-field-control-min | The narrowest control of a VField with a side label: below it, the label moves above the control | 16rem |
| File picker | ||
--vectis-control-size-file-picker-min-block | The minimum height of VFilePicker's drop zone: icon, two lines, separator and button | 10rem |
--vectis-control-size-file-picker-icon | The large icon at the top of VFilePicker's drop zone | 2.5rem |
--vectis-control-size-file-picker-thumb | The thumbnail square of a VFilePicker preview row (an image, or its type icon) | 2.5rem |
| Hover card | ||
--vectis-control-size-hover-card-max | The widest a VHoverCard grows (320px) | 20rem |
| Input | ||
--vectis-control-action-size-sm | The inner buttons of sm input fields (clear, a clickable icon) | 1.25rem |
--vectis-control-action-size-md | The inner buttons of md input fields (clear, a clickable icon) | 1.5rem |
--vectis-control-action-size-lg | The inner buttons of lg input fields (clear, a clickable icon) | 1.75rem |
| Menu | ||
--vectis-control-size-menu-min | The minimum width of VMenu's panel | 11rem |
--vectis-control-size-menu-max | The maximum width of VMenu's panel | 20rem |
| Meter, Meter group, Progress linear | ||
--vectis-control-size-bar-thickness-xs | The thickness of an xs VProgressLinear or VMeter bar (2px) | 0.125rem |
--vectis-control-size-bar-thickness-sm | The thickness of a small VProgressLinear or VMeter bar (4px) | 0.25rem |
--vectis-control-size-bar-thickness-md | The thickness of a medium VProgressLinear or VMeter bar (8px) | 0.5rem |
--vectis-control-size-bar-thickness-lg | The thickness of a large VProgressLinear or VMeter bar (12px) | 0.75rem |
--vectis-control-size-bar-thickness-xl | The thickness of an xl VProgressLinear or VMeter bar, which holds the value written inside it (20px) | 1.25rem |
--vectis-control-size-bar-length | The default length of a vertical VProgressLinear, VMeter or VMeterGroup bar, which a height set on the component replaces | 10rem |
| Meter group | ||
--vectis-control-size-meter-group-swatch | The diameter of the colour swatch before each row of a VMeterGroup legend (8px) | 0.5rem |
| Meter | ||
--vectis-control-size-meter-segment-gap | The gap between two VMeter segments (2px) | 0.125rem |
| Progress circular | ||
--vectis-control-size-progress-circular-diameter | The default diameter of VProgressCircular | 3rem |
--vectis-control-size-progress-circular-thickness | The default stroke thickness of VProgressCircular (4px) | 0.25rem |
| Rating | ||
--vectis-control-size-rating-sm | The icon of a small VRating (20px) | 1.25rem |
--vectis-control-size-rating-md | The icon of a medium VRating (24px) | 1.5rem |
--vectis-control-size-rating-lg | The icon of a large VRating (32px) | 2rem |
| Resizable | ||
--vectis-control-size-resizable-hit | The width of the strip around a VResizable handle that catches the pointer (12px) | 0.75rem |
--vectis-control-size-resizable-grip-length | The length of the grip VResizable draws on its handles under grip (24px) | 1.5rem |
--vectis-control-size-resizable-grip-thickness | The thickness of the grip VResizable draws on its handles under grip (8px) | 0.5rem |
| Select | ||
--vectis-control-size-select-list-max-block | The maximum height of VSelect's list panel (the scrolling area) | 18rem |
| Separator | ||
--vectis-control-size-separator-sm | The stroke of a small VSeparator, the default hairline | 1px |
--vectis-control-size-separator-md | The stroke of a medium VSeparator | 2px |
--vectis-control-size-separator-lg | The stroke of a large VSeparator | 4px |
| Skeleton loader | ||
--vectis-control-size-skeleton-surface | The default height of a surface-shaped VSkeletonLoader: a card, an image (96px) | 6rem |
| Slider | ||
--vectis-control-size-slider-track | The thickness of VSlider's track | 0.375rem |
--vectis-control-size-slider-thumb | The diameter of VSlider's thumb | 1.25rem |
--vectis-control-size-slider-length | The default length of a vertical VSlider | 10rem |
--vectis-control-size-slider-field | The width of VSlider's number fields | 5rem |
| Snackbar | ||
--vectis-control-size-snackbar-min | The minimum width of a snackbar (288px) | 18rem |
--vectis-control-size-snackbar-max | The maximum width of a snackbar (576px) | 36rem |
| Stepper | ||
--vectis-control-size-stepper-indicator | The diameter of the circle holding a VStepper step number (32px) | 2rem |
--vectis-control-size-stepper-connector-min | The shortest a horizontal VStepper connector gets between two steps (24px) | 1.5rem |
| Switch | ||
--vectis-control-size-switch-w | The width of VSwitch's track | 2.25rem |
--vectis-control-size-switch-h | The height of VSwitch's track | 1.25rem |
--vectis-control-size-switch-pad | The gap between VSwitch's thumb and the edge of its track | 0.125rem |
| Tabs | ||
--vectis-control-size-tab-indicator | The thickness of the active tab indicator (VTabs, every variant but inset) | 2px |
| Time picker | ||
--vectis-control-size-time-picker-dial | The diameter of VTimePicker's clock face | 16rem |
--vectis-control-size-time-picker-number | A numeral cell on VTimePicker's face, and the hand's dot on a marker | 3rem |
--vectis-control-size-time-picker-center | The center dot of VTimePicker's face | 0.5rem |
--vectis-control-size-time-picker-hand | The thickness of the hand on VTimePicker's face | 2px |
--vectis-control-size-time-picker-hand-minor | The dot of VTimePicker's hand on a minute off the 5-minute markers | 1rem |
| Timeline | ||
--vectis-control-size-timeline-dot-sm | The dot marking an event of a small VTimeline (8px) | 0.5rem |
--vectis-control-size-timeline-dot-md | The dot marking an event of a VTimeline (10px) | 0.625rem |
--vectis-control-size-timeline-icon-sm | The round badge holding the icon of an event in a small VTimeline (24px) | 1.5rem |
--vectis-control-size-timeline-icon-md | The round badge holding the icon of an event in a VTimeline (32px) | 2rem |
--vectis-control-size-timeline-item-min | The narrowest an event of a horizontal VTimeline gets before the list scrolls (192px) | 12rem |
| Toast | ||
--vectis-control-size-toast-width | The default width of a toast | 22rem |
| Tooltip | ||
--vectis-control-size-tooltip-max | The widest a tooltip grows before it wraps (288px) | 18rem |