Keyboard shortcut: Ctrl + K
Get started

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.

TokenDescriptionLightDark
Surfaces
--vectis-color-surfaceThe default page backgroundoklch(100% 0 0)var(--vectis-color-white)oklch(13% 0.028 261.692)var(--vectis-color-gray-950)
--vectis-color-surface-mutedA 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-raisedRaised surfaces: cardsoklch(100% 0 0)var(--vectis-color-white)oklch(21% 0.034 264.665)var(--vectis-color-gray-900)
--vectis-color-surface-overlayFloating surfaces: dialogs, popovers, menusoklch(100% 0 0)var(--vectis-color-white)oklch(21% 0.034 264.665)var(--vectis-color-gray-900)
--vectis-color-surface-sunkenSunken surfaces: wells, code areasoklch(98.5% 0.002 247.839)var(--vectis-color-gray-50)oklch(11% 0.006 260)
--vectis-color-surface-inverseInverted-contrast surfaces: tooltipsoklch(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-skeletonThe background of VSkeletonLoader's silhouettes, from which its highlight is derivedoklch(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-inverseText set on an inverted surfaceoklch(100% 0 0)var(--vectis-color-white)oklch(98.5% 0.002 247.839)var(--vectis-color-gray-50)
--vectis-color-textThe running text of the interfaceoklch(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-mutedSecondary text: hints, captions, descriptions, start iconsoklch(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-subtlePlaceholders, disabled textoklch(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-accentText set on an accent/danger/success backgroundoklch(100% 0 0)var(--vectis-color-white)oklch(100% 0 0)var(--vectis-color-white)
--vectis-color-text-on-warningText 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-borderDividers, and the frames of cards, tables and panelsoklch(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-strongThe borders of form controlsoklch(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-fillA veil edging or dividing a filled background: VButtonGroup seams, VColorPicker swatchesoklch(0% 0 0 / 0.12)oklch(100% 0 0 / 0.15)
Accent
--vectis-color-accentThe brand color: solid buttons, checked controls, the selected itemoklch(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-hoverThe accent color under the pointeroklch(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-activeThe accent color while pressedoklch(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-surfaceA 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-borderThe border of a tinted accent element, matching the accent surfaceoklch(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-textAccent text on a neutral or tinted backgroundoklch(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-dangerDestructive actions and errors: solid buttons, error statesoklch(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-hoverThe danger color under the pointeroklch(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-activeThe danger color while pressedoklch(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-surfaceA 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-borderThe border of a tinted danger element, matching the danger surfaceoklch(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-textDanger text on a neutral or tinted background: error messages, a destructive menu itemoklch(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-successA positive outcome: solid chips, badges, notificationsoklch(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-hoverThe success color under the pointeroklch(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-activeThe success color while pressedoklch(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-surfaceA 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-borderThe border of a tinted success element, matching the success surfaceoklch(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-textSuccess text on a neutral or tinted backgroundoklch(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-warningA situation that calls for attention: solid chips, badges, notificationsoklch(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-hoverThe warning color under the pointeroklch(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-activeThe warning color while pressedoklch(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-surfaceA 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-borderThe border of a tinted warning element, matching the warning surfaceoklch(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-textWarning text on a neutral or tinted backgroundoklch(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-backdropThe veil behind modal dialogsoklch(0% 0 0 / 0.45)oklch(0% 0 0 / 0.6)
Calendar events
--vectis-color-event-surfaceThe face of a calendar event that carries no color of its ownoklch(0.95 0.045 265)oklch(0.3 0.05 265)
--vectis-color-event-borderThe edge of that calendar event, and the bar marking its leading sideoklch(0.85 0.08 265)oklch(0.42 0.08 265)
--vectis-color-event-textThe title of that calendar eventoklch(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.

TokenDescriptionLightDark
--vectis-focus-ring-colorThe keyboard focus ring, which has to stand out against the pageoklch(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-widthThe thickness of the focus ring2pxSame as light
--vectis-focus-ring-offsetThe gap between a control and its focus ring2pxSame 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.

Font families
TokenDescriptionDefault value
--vectis-text-familyThe running font of every componentsystem-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serifvar(--vectis-font-family-sans)
--vectis-text-family-headingThe font of the display and heading roles, the running font until it is overriddensystem-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serifvar(--vectis-font-family-display)
--vectis-text-family-codeThe font of code content (the code role, VInputOTP)ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospacevar(--vectis-font-family-mono)
Text roles
RoleSizeWeightLine heightLetter spacing
--vectis-text-display-*Large hero title3remvar(--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 title2.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 heading1.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 heading1.125remvar(--vectis-font-size-lg)600var(--vectis-font-weight-semibold)1.4var(--vectis-font-leading-snug)none
--vectis-text-heading-4-*Group or card heading1remvar(--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 item0.875remvar(--vectis-font-size-sm)400var(--vectis-font-weight-regular)1.5var(--vectis-font-leading-normal)none
--vectis-text-body-xl-*Page or section introduction1.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 reading1remvar(--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 fields0.875remvar(--vectis-font-size-sm)400var(--vectis-font-weight-regular)1.5var(--vectis-font-leading-normal)none
--vectis-text-body-sm-*Secondary details and notes0.75remvar(--vectis-font-size-xs)400var(--vectis-font-weight-regular)1.5var(--vectis-font-leading-normal)none
--vectis-text-label-*Label above a form field0.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 switch0.875remvar(--vectis-font-size-sm)400var(--vectis-font-weight-regular)1.4var(--vectis-font-leading-snug)none
--vectis-text-caption-*Field hint or counter0.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 spacing0.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 blocks0.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.none500var(--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.

TokenDescriptionDefault value
--vectis-radius-interactiveInputs and controls; buttons and chips fall back to it0.375remvar(--vectis-radius-md)
--vectis-radius-surfaceCards, alerts0.5remvar(--vectis-radius-lg)
--vectis-radius-overlayDialogs, popovers, menus0.75remvar(--vectis-radius-xl)
--vectis-radius-pillFull rounding: switches, badges, pill-shaped chips9999pxvar(--vectis-radius-full)

Motion

Transition durations, shared by both themes. Looping animations such as the spinner use primitive duration tokens instead.

TokenDescriptionDefault value
--vectis-duration-fastColor and border changes on hover, focus and press150msvar(--vectis-duration-150)
--vectis-duration-baseThe default: a panel opening, a value moving200msvar(--vectis-duration-200)
--vectis-duration-slowMovements large enough to be followed by the eye300msvar(--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.

TokenDescriptionDefault value
Density
--vectis-density-deltaWhat the density takes off every control height and component padding: 0px for the standard scale, the --vectis-space-1 step for the compact one0px
Control heights
--vectis-control-height-xsThe height of every control at size="xs" (24px), less the density delta1.5rem
--vectis-control-height-smThe height of every control at size="sm" (32px), less the density delta2rem
--vectis-control-height-mdThe height of every control at size="md" (40px), less the density delta2.5rem
--vectis-control-height-lgThe height of every control at size="lg" (48px), less the density delta3rem
--vectis-control-height-xlThe height of every control at size="xl" (56px), less the density delta3.5rem
Icon sizes
--vectis-icon-size-smThe icon size of xs controls (16px)1rem
--vectis-icon-size-mdThe icon size of sm and md controls (20px)1.25rem
--vectis-icon-size-lgThe 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.

TokenDescriptionDefault value
Avatar group
--vectis-control-size-avatar-ringThe ring separating stacked avatars (VAvatarGroup)2px
Badge
--vectis-control-size-badge-hThe height of a VBadge pill1.25rem
--vectis-control-size-badge-dotThe diameter of VBadge in dot mode0.625rem
--vectis-control-size-badge-ringThe detaching ring of a bordered VBadge2px
Calendar
--vectis-control-size-calendar-hourThe height of one hour in VCalendar's time grid4rem
--vectis-control-size-calendar-gutterThe column of hour labels beside VCalendar's time grid, wide enough for a 12-hour clock's '12:00 AM' on one line4.5rem
--vectis-control-size-calendar-tickHow far an hour's rule runs back into VCalendar's gutter, tying the label to its line0.375rem
--vectis-control-size-calendar-edgeThe strip at the side of VCalendar that pages the view when a dragged event rests on it3rem
--vectis-control-size-calendar-day-minThe width a VCalendar day column may not go below, past which the grid scrolls5rem
--vectis-control-size-calendar-handleThe strip along a VCalendar card's bottom edge that its end is dragged by0.5rem
--vectis-control-size-calendar-allday-laneOne lane of VCalendar's all-day band1.5rem
--vectis-control-size-calendar-allday-maxThe height past which VCalendar's all-day band scrolls instead of growing7rem
--vectis-control-size-calendar-now-dotThe dot on VCalendar's current-time line0.625rem
--vectis-control-size-calendar-event-edgeThe width of the coloured leading edge of a VCalendar event3px
--vectis-control-size-calendar-gapThe gap VCalendar keeps between two events, side by side in a day or stacked in a month0.125rem
--vectis-control-size-calendar-gripThe length of the grip drawn on a VCalendar card's resize strip1rem
--vectis-control-size-calendar-grip-thicknessThe thickness of that grip, which is also its distance from the card's bottom edge2px
--vectis-control-size-calendar-year-monthThe narrowest a mini-month of VCalendar's year view gets before the year reflows13rem
--vectis-control-size-calendar-month-cellThe minimum height of a day in VCalendar's month view8.5rem
--vectis-control-size-calendar-year-cellThe side of a day square in the mini-months of VCalendar's year view1.5rem
Card
--vectis-control-size-card-mediaThe width a horizontal VCard gives its media before the content wraps under it (192px)12rem
--vectis-control-size-card-body-minThe narrowest content of a horizontal VCard: below it, the media moves above the content16rem
Carousel
--vectis-control-size-carousel-blockThe default block size of VCarousel's viewport, which a vertical carousel needs to lay its slides out24rem
--vectis-control-size-carousel-indicatorThe diameter of a VCarousel indicator dot (its hit area comes from --vectis-control-height-xs)0.625rem
--vectis-control-size-carousel-indicator-activeThe length of the active VCarousel indicator, which stretches from a dot into a pill1.25rem
Checkbox, Radio
--vectis-control-border-widthThe border of checkable controls (VCheckbox, VRadio)2px
--vectis-control-size-checkThe box of checkable controls (VCheckbox, VRadio)1.25rem
--vectis-control-size-check-markThe tick inside VCheckbox's box0.875rem
--vectis-control-size-check-dotThe dot inside VRadio's circle0.5rem
Colour picker
--vectis-control-size-color-picker-widthThe width of VColorPicker (256px)16rem
--vectis-control-size-color-picker-areaThe height of VColorPicker's saturation and brightness area (160px)10rem
--vectis-control-size-color-picker-trackThe thickness of VColorPicker's hue and opacity tracks (12px)0.75rem
--vectis-control-size-color-picker-thumbThe diameter of VColorPicker's thumbs, on the area and the tracks (20px)1.25rem
--vectis-control-size-color-picker-previewThe disc showing the current colour in VColorPicker (32px)2rem
--vectis-control-size-color-picker-formatThe width of VColorPicker's format menu, which holds its longest name (96px)6rem
--vectis-control-size-color-picker-swatchThe side of a VColorPicker swatch (24px)1.5rem
--vectis-control-size-color-picker-checkerThe side of the checkerboard showing through a translucent colour (8px)0.5rem
Combobox
--vectis-control-size-combobox-list-max-blockThe maximum height of VCombobox's list panel (the scrolling area)18rem
Command palette
--vectis-control-size-command-palette-widthThe default width of VCommandPalette (640px), when no width is given40rem
--vectis-control-size-command-palette-list-max-blockThe tallest VCommandPalette's list of commands grows before it scrolls (320px)20rem
--vectis-control-size-command-palette-offsetThe 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-searchThe width of VDataTable's search field16rem
Date picker
--vectis-control-size-date-picker-cellThe side of a VDatePicker day cell2.5rem
--vectis-control-size-date-picker-dayThe diameter of the disc a VDatePicker day is drawn on; the cell grows to hold it2.5remvar(--vectis-control-height-md)
--vectis-control-size-date-picker-dotThe diameter of a VDatePicker event dot0.25rem
--vectis-control-size-date-picker-nav-minThe minimum width of VDatePicker's month/year picker buttons (about 86px)5.375rem
Dialog
--vectis-control-size-dialog-widthThe default width of VDialog and VDialogAlert (400px), when no width is given25rem
Drawer
--vectis-control-size-drawer-smThe width of a small VDrawer on a side, or the height of one at the top or bottom (320px)20rem
--vectis-control-size-drawer-mdThe width of a medium VDrawer on a side, or the height of one at the top or bottom (400px)25rem
--vectis-control-size-drawer-lgThe 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-smThe diameter of the icon badge of a small VEmptyState (40px)2.5rem
--vectis-control-size-empty-state-media-mdThe diameter of the icon badge of a medium VEmptyState (48px)3rem
--vectis-control-size-empty-state-media-lgThe diameter of the icon badge of a large VEmptyState (64px)4rem
--vectis-control-size-empty-state-text-maxThe widest the title and description of a VEmptyState run before they wrap (448px)28rem
Field
--vectis-control-size-field-labelThe width of a VField label placed beside its control, before the control wraps under it (160px)10rem
--vectis-control-size-field-control-minThe narrowest control of a VField with a side label: below it, the label moves above the control16rem
File picker
--vectis-control-size-file-picker-min-blockThe minimum height of VFilePicker's drop zone: icon, two lines, separator and button10rem
--vectis-control-size-file-picker-iconThe large icon at the top of VFilePicker's drop zone2.5rem
--vectis-control-size-file-picker-thumbThe thumbnail square of a VFilePicker preview row (an image, or its type icon)2.5rem
Hover card
--vectis-control-size-hover-card-maxThe widest a VHoverCard grows (320px)20rem
Input
--vectis-control-action-size-smThe inner buttons of sm input fields (clear, a clickable icon)1.25rem
--vectis-control-action-size-mdThe inner buttons of md input fields (clear, a clickable icon)1.5rem
--vectis-control-action-size-lgThe inner buttons of lg input fields (clear, a clickable icon)1.75rem
Menu
--vectis-control-size-menu-minThe minimum width of VMenu's panel11rem
--vectis-control-size-menu-maxThe maximum width of VMenu's panel20rem
Meter, Meter group, Progress linear
--vectis-control-size-bar-thickness-xsThe thickness of an xs VProgressLinear or VMeter bar (2px)0.125rem
--vectis-control-size-bar-thickness-smThe thickness of a small VProgressLinear or VMeter bar (4px)0.25rem
--vectis-control-size-bar-thickness-mdThe thickness of a medium VProgressLinear or VMeter bar (8px)0.5rem
--vectis-control-size-bar-thickness-lgThe thickness of a large VProgressLinear or VMeter bar (12px)0.75rem
--vectis-control-size-bar-thickness-xlThe thickness of an xl VProgressLinear or VMeter bar, which holds the value written inside it (20px)1.25rem
--vectis-control-size-bar-lengthThe default length of a vertical VProgressLinear, VMeter or VMeterGroup bar, which a height set on the component replaces10rem
Meter group
--vectis-control-size-meter-group-swatchThe diameter of the colour swatch before each row of a VMeterGroup legend (8px)0.5rem
Meter
--vectis-control-size-meter-segment-gapThe gap between two VMeter segments (2px)0.125rem
Progress circular
--vectis-control-size-progress-circular-diameterThe default diameter of VProgressCircular3rem
--vectis-control-size-progress-circular-thicknessThe default stroke thickness of VProgressCircular (4px)0.25rem
Rating
--vectis-control-size-rating-smThe icon of a small VRating (20px)1.25rem
--vectis-control-size-rating-mdThe icon of a medium VRating (24px)1.5rem
--vectis-control-size-rating-lgThe icon of a large VRating (32px)2rem
Resizable
--vectis-control-size-resizable-hitThe width of the strip around a VResizable handle that catches the pointer (12px)0.75rem
--vectis-control-size-resizable-grip-lengthThe length of the grip VResizable draws on its handles under grip (24px)1.5rem
--vectis-control-size-resizable-grip-thicknessThe thickness of the grip VResizable draws on its handles under grip (8px)0.5rem
Select
--vectis-control-size-select-list-max-blockThe maximum height of VSelect's list panel (the scrolling area)18rem
Separator
--vectis-control-size-separator-smThe stroke of a small VSeparator, the default hairline1px
--vectis-control-size-separator-mdThe stroke of a medium VSeparator2px
--vectis-control-size-separator-lgThe stroke of a large VSeparator4px
Skeleton loader
--vectis-control-size-skeleton-surfaceThe default height of a surface-shaped VSkeletonLoader: a card, an image (96px)6rem
Slider
--vectis-control-size-slider-trackThe thickness of VSlider's track0.375rem
--vectis-control-size-slider-thumbThe diameter of VSlider's thumb1.25rem
--vectis-control-size-slider-lengthThe default length of a vertical VSlider10rem
--vectis-control-size-slider-fieldThe width of VSlider's number fields5rem
Snackbar
--vectis-control-size-snackbar-minThe minimum width of a snackbar (288px)18rem
--vectis-control-size-snackbar-maxThe maximum width of a snackbar (576px)36rem
Stepper
--vectis-control-size-stepper-indicatorThe diameter of the circle holding a VStepper step number (32px)2rem
--vectis-control-size-stepper-connector-minThe shortest a horizontal VStepper connector gets between two steps (24px)1.5rem
Switch
--vectis-control-size-switch-wThe width of VSwitch's track2.25rem
--vectis-control-size-switch-hThe height of VSwitch's track1.25rem
--vectis-control-size-switch-padThe gap between VSwitch's thumb and the edge of its track0.125rem
Tabs
--vectis-control-size-tab-indicatorThe thickness of the active tab indicator (VTabs, every variant but inset)2px
Time picker
--vectis-control-size-time-picker-dialThe diameter of VTimePicker's clock face16rem
--vectis-control-size-time-picker-numberA numeral cell on VTimePicker's face, and the hand's dot on a marker3rem
--vectis-control-size-time-picker-centerThe center dot of VTimePicker's face0.5rem
--vectis-control-size-time-picker-handThe thickness of the hand on VTimePicker's face2px
--vectis-control-size-time-picker-hand-minorThe dot of VTimePicker's hand on a minute off the 5-minute markers1rem
Timeline
--vectis-control-size-timeline-dot-smThe dot marking an event of a small VTimeline (8px)0.5rem
--vectis-control-size-timeline-dot-mdThe dot marking an event of a VTimeline (10px)0.625rem
--vectis-control-size-timeline-icon-smThe round badge holding the icon of an event in a small VTimeline (24px)1.5rem
--vectis-control-size-timeline-icon-mdThe round badge holding the icon of an event in a VTimeline (32px)2rem
--vectis-control-size-timeline-item-minThe narrowest an event of a horizontal VTimeline gets before the list scrolls (192px)12rem
Toast
--vectis-control-size-toast-widthThe default width of a toast22rem
Tooltip
--vectis-control-size-tooltip-maxThe widest a tooltip grows before it wraps (288px)18rem