Skip to main content

GravityView Theme: CSS Design Tokens

Every visual aspect of a GravityView 3.0 View is controlled by a --gv-* CSS custom property (design token). Override them to theme your Views without touching GravityView's stylesheet.

How theming works

  • Tokens are scoped to .gv-themed, which GravityView stamps on each opted-in View container, so only themed Views are restyled.
  • Defaults are declared at zero specificity (:where(.gv-themed) inside @layer gravitykit-base), so any unlayered rule on the container or a descendant wins without a specificity war.
  • Browser floor: @layer requires Chromium 99+, Firefox 97+, Safari 15.4+. @property typing enhances progressively above that.

Override on the container, never on :root

Set tokens on the View container (or a descendant selector). Overrides on :root lose to the container-level defaults and silently do nothing.

/* Works: targets a descendant of the themed container. */
body .gv-container { --gv-color-primary: #7a1f1f; }

/* Works: one View by ID. */
.gv-container-123 { --gv-color-primary: #7a1f1f; }

/* Does NOT work: :root loses to the container-level default. */
:root { --gv-color-primary: #7a1f1f; }

Target a View with placeholders

When you enter rules in GravityView's Custom CSS field (the Custom Code tab of the View editor's Settings box), GravityView swaps four placeholders for that View's own values as the page loads, so you can target a single View without hardcoding its container ID:

PlaceholderReplaced withExample output
VIEW_SELECTORA high-specificity CSS selector targeting only this View.gv-container.gv-container-123
VIEW_WRAPPERA CSS selector targeting the View's outer wrapper, including widget areas[id^="gv-view-123-"]
VIEW_IDThe View's ID number123
GF_FORM_IDThe connected Gravity Forms form ID5

Prefer VIEW_SELECTOR for token overrides: its double-class selector (.gv-container.gv-container-123) outranks the layered defaults, so your values win without !important and without pinning the View ID by hand.

/* In GravityView's Custom CSS field. VIEW_SELECTOR resolves to this View. */
VIEW_SELECTOR { --gv-color-primary: #7a1f1f; }

Placeholders resolve only inside a View's Custom CSS/JavaScript field, not in your theme's stylesheet. Developers can add or change them with the gk/gravityview/custom-code/placeholders filter. See Adding Custom CSS to Your Website for the full walkthrough.

Using the tokens as data

The same tokens are published as JSON, in the Design Tokens (DTCG) format, if you want to pull them into Style Dictionary, Terrazzo, Tokens Studio or Figma. See Design Tokens (JSON).

Token reference

238 tokens
CSS variableDefaultControlDescription
--gv-color-primarythemeable#204ce5colorSubmit buttons, active pagination, links, accent borders.
--gv-color-primary-hoverthemeable#1c44cecolorHover variant of Primary, derived via OKLCh L−10%.
--gv-color-primary-subtle#c3d9ffcolorTint for soft hovers on light surfaces. Not a focus-ring color (1.43:1 vs white fails SC 1.4.11).
--gv-color-on-primarythemeable#ffffffcolorText and icons that sit on top of the Primary color.
--gv-color-textthemeable#112337colorDefault text color across the View.
--gv-color-text-hover#112337colorText color when hovering an entry card.
--gv-color-text-secondarythemeable#54667acolorCaptions, sub-titles, search-widget labels, and supporting copy.
--gv-color-text-mutedthemeable#5b6470colorSmall helper text: captions, descriptions.
--gv-color-text-disabledthemeable#a1a8b1colorText on disabled controls. Derived from text-muted blended toward surface-disabled.
--gv-color-on-disabledthemeable#a1a8b1colorForeground color used on surface-disabled. Mirrors text-disabled.
--gv-color-placeholderthemeable#5f6772colorEmpty-state hint text inside search fields.
--gv-field-label-colorthemeable#5b6470colorThe small header above each field value when "Show Label" is on.
--gv-control-bgthemeable#ffffffcolorInside of search fields and dropdown selects.
--gv-control-border-color#6b7280colorBorder color of inputs, selects, and other form controls.
--gv-control-bg-disabledthemeable#edeef0colorBackground of disabled inputs and selects.
--gv-control-border-color-disabledthemeable#888888colorBorder color of disabled inputs and selects.
--gv-control-text-disabledthemeable#a1a8b1colorText color inside disabled inputs and selects.
--gv-button-bg#204ce5colorBackground of primary buttons. Aliases Primary by default.
--gv-button-color#ffffffcolorText color of primary buttons.
--gv-button-bg-hover#1c44cecolorBackground of primary buttons on hover.
--gv-button-bg-disabledthemeable#edeef0colorBackground of primary buttons when disabled.
--gv-button-color-disabledthemeable#a1a8b1colorText color of primary buttons when disabled.
--gv-color-surfacethemeable#ffffffcolorDefault background for entry cards, list items, pagination, and panels.
--gv-color-surface-hoverthemeable#fafafacolorBackground when hovering an entry card or list item.
--gv-color-surface-altthemeable#f2f3f5colorSearch-bar surface and edit-entry section panels.
--gv-color-surface-errorthemeable#fbe2dccolorBackground of error notices and invalid Edit Entry fields.
--gv-color-surface-successthemeable#dcf2dfcolorBackground of success notices.
--gv-color-surface-warningthemeable#fef0d6colorBackground of warning notices.
--gv-color-surface-infothemeable#cffafecolorBackground of informational notices.
--gv-color-surface-disabledthemeable#edeef0colorBackground of disabled controls.
--gv-color-header-bgthemeable#f2f3f5colorBackground of the table header row.
--gv-color-header-bg-hover#f2f3f5colorBackground when hovering the table header row.
--gv-color-header-textthemeable#5b6470colorColor of the column header text in tables.
--gv-color-header-text-hover#5b6470colorText color when hovering the table header.
--gv-color-zebra-bgthemeable#ffffffcolorBackground of every other row in a table for zebra striping.
--gv-color-borderthemeable#888888colorForm input borders and table footer rule.
--gv-color-border-strongthemeable#6b7280colorDefault outline color for form controls (4.74:1 vs surface; clears SC 1.4.11).
--gv-color-border-light#e5e7ebcolorDecorative dividers and hairline separators only. Never the sole outline of an interactive control.
--gv-color-row-dividerthemeable#e5e7ebcolorBorder between repeating rows in a table or list.
--gv-color-entry-border#e5e7ebcolorAlias that wires `--gv-entry-border-color` to Border Light.
--gv-color-errorthemeable#c02b0acolorInvalid Edit Entry input borders, validation messages, and required-field markers.
--gv-color-error-hoverthemeable#922008colorOKLCh-derived hover variant of Error.
--gv-color-on-errorthemeable#ffffffcolorForeground (text/icon) used on solid error surfaces.
--gv-color-successthemeable#23692fcolorSuccess notices and confirmation indicators.
--gv-color-success-hoverthemeable#1a4f23colorOKLCh-derived hover variant of Success.
--gv-color-on-successthemeable#ffffffcolorForeground used on solid success surfaces.
--gv-color-warning#febc48colorDecorative-only warning hue. Never emitted as bare text; only as backgrounds or inside .gv-status mixin.
--gv-color-warning-icon#b07000colorIcon-stroke color for .gv-status--warning. Decorative; paired with text per SC 1.4.1. Must keep ≥ 3:1 vs surface-warning.
--gv-color-infothemeable#0e7490colorInformational notices. Teal/cyan, distinct from Primary blue.
--gv-color-info-hoverthemeable#0a5e74colorOKLCh-derived hover variant of Info.
--gv-color-on-infothemeable#ffffffcolorForeground used on solid info surfaces.
--gv-focus-ring-colorthemeable#2563ebcolorColor of the focus-visible indicator. 5.17:1 vs surface; clears SC 1.4.11 non-text.
--gv-entry-bg#ffffffcolorBackground color of entry cards.
--gv-color-row-hover-bgvar(--gv-color-surface-hover)text
--gv-color-row-hover-textvar(--gv-color-text-hover)text
--gv-entry-bg-hovervar(--gv-entry-bg)text
--gv-table-cell-border-colorvar(--gv-color-border-light)text
--gv-button-border-colorvar(--gv-button-bg)text
--gv-button-border-color-hovervar(--gv-button-bg-hover)text
--gv-button-secondary-bgtransparenttext
--gv-button-secondary-colorvar(--gv-color-text)text
--gv-button-secondary-border-colorvar(--gv-color-border)text
--gv-button-secondary-bg-hovervar(--gv-color-surface-alt)text
--gv-button-secondary-color-hovervar(--gv-color-text)text
--gv-button-secondary-border-color-hovervar(--gv-color-text)text
--gv-button-danger-bgtransparenttext
--gv-button-danger-colorvar(--gv-color-error)text
--gv-button-danger-border-colorvar(--gv-color-error)text
--gv-button-danger-bg-hovervar(--gv-color-surface-error)text
--gv-button-danger-color-hovervar(--gv-color-error-hover)text
--gv-button-danger-border-color-hovervar(--gv-color-error-hover)text
--gv-pagination-button-bgvar(--gv-color-surface)text
--gv-pagination-button-colorvar(--gv-color-text)text
--gv-pagination-button-bg-hovercolor-mix(in oklch, var(--gv-color-surface) 90%, #000)text
--gv-pagination-button-color-hovervar(--gv-color-text)text
--gv-pagination-button-bg-activevar(--gv-color-primary)text
--gv-pagination-button-color-activevar(--gv-color-on-primary)text
--gv-font-familythemeableinheritselect
options: inherit | system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif | Georgia, "Times New Roman", serif | "SF Mono", Monaco, Consolas, "Liberation Mono", monospace
Typeface used across the View. "Inherit" follows the page theme.
--gv-font-size-basethemeable1remnumber
units: px, rem, em, min 1, step 1
Body-text size. Other sizes (small, large) scale proportionally.
--gv-font-size-xscalc(var(--gv-font-size-base) * 0.75)numberScale step 0.75×: small captions and chips.
--gv-font-size-smcalc(var(--gv-font-size-base) * 0.875)numberScale step 0.875×: secondary text.
--gv-font-size-mdcalc(var(--gv-font-size-base) * 1.125)numberScale step 1.125×: small headings.
--gv-font-size-lgcalc(var(--gv-font-size-base) * 1.25)numberScale step 1.25×: medium headings.
--gv-font-size-xlcalc(var(--gv-font-size-base) * 1.5)numberScale step 1.5×: large headings.
--gv-font-size-2xlcalc(var(--gv-font-size-base) * 1.875)numberScale step 1.875×: hero headings.
--gv-font-weight-lightthemeable300number
min 100, max 900, step 100
Optional emphasis-down weight (300).
--gv-font-weight-normalthemeable400number
min 100, max 900, step 100
Body text weight (400).
--gv-font-weight-medium500number
min 100, max 900, step 100
Medium-emphasis weight (500).
--gv-font-weight-semibold600number
min 100, max 900, step 100
Field labels and other strong-emphasis weight (600).
--gv-font-weight-boldthemeable700number
min 100, max 900, step 100
Headings and strong emphasis (700).
--gv-line-height-tight1.25numberTight line-height: 1.25.
--gv-line-height-normalthemeable1.5select
options: 1.25 | 1.5 | 1.75
Vertical rhythm of body text. Higher values are airier.
--gv-line-height-relaxed1.75numberRelaxed line-height: 1.75.
--gv-line-height-cjk1.85numberLine height for stacked-diacritic scripts (Thai, Burmese, Devanagari, etc.).
--gv-field-label-font-sizethemeablecalc(var(--gv-font-size-base) * 0.75)number
units: px, rem, em, min 1, step 1
Size of the small header above each field value when "Show Label" is on.
--gv-field-label-font-weight600numberFont weight used for field labels.
--gv-field-label-text-transformthemeablenoneselect
options: none | uppercase | capitalize | lowercase
Casing applied to field labels. Default `none` is SC 1.4.12 text-spacing safe.
--gv-field-label-letter-spacingthemeable0.05emtextLetter-spacing applied to field labels (only relevant when transform is uppercase).
--gv-field-label-directioncolumntext
--gv-button-font-sizevar(--gv-font-size-sm)text
--gv-button-font-weightvar(--gv-font-weight-medium)text
--gv-space-14pxnumber4px base spacing increment.
--gv-space-28pxnumber8px base spacing increment.
--gv-space-312pxnumber12px base spacing increment.
--gv-space-416pxnumber16px base spacing increment.
--gv-space-520pxnumber20px base spacing increment.
--gv-space-624pxnumber24px base spacing increment.
--gv-space-832pxnumber32px base spacing increment.
--gv-space-1040pxnumber40px base spacing increment.
--gv-space-1248pxnumber48px base spacing increment.
--gv-space-1664pxnumber64px base spacing increment.
--gv-entry-padding-topthemeable24pxnumber
units: px, rem, em, %, min 0, step 2
Inner padding of entry cards on one side.
--gv-entry-padding-rightthemeable24pxnumber
units: px, rem, em, %, min 0, step 2
Inner padding of entry cards on one side.
--gv-entry-padding-bottomthemeable24pxnumber
units: px, rem, em, %, min 0, step 2
Inner padding of entry cards on one side.
--gv-entry-padding-leftthemeable24pxnumber
units: px, rem, em, %, min 0, step 2
Inner padding of entry cards on one side.
--gv-entry-padding-block-start24pxnumber
units: px, rem, em, %, min 0, step 2
Inner padding of entry cards on one side.
--gv-entry-padding-block-end24pxnumber
units: px, rem, em, %, min 0, step 2
Inner padding of entry cards on one side.
--gv-entry-padding-inline-start24pxnumber
units: px, rem, em, %, min 0, step 2
Inner padding of entry cards on one side.
--gv-entry-padding-inline-end24pxnumber
units: px, rem, em, %, min 0, step 2
Inner padding of entry cards on one side.
--gv-widget-padding-blockthemeable20pxnumber
units: px, rem, em, %, min 0, step 2
Padding inside the search bar and widget areas.
--gv-widget-padding-inlinethemeable16pxnumber
units: px, rem, em, %, min 0, step 2
Padding inside the search bar and widget areas.
--gv-widget-margin-block-end32pxnumberBottom spacing between widget areas.
--gv-search-field-min-widthclamp(140px, 50vw, 200px)textMinimum inline-size of each search field. Clamps on narrow viewports.
--gv-search-row-gap16pxnumberVertical gap between rows of search fields.
--gv-search-col-gap16pxnumberHorizontal gap between side-by-side search fields.
--gv-toolbar-gap8pxnumberGap between toolbar children.
--gv-toolbar-padding16pxnumberInner padding of toolbar containers.
--gv-toolbar-margin-block-end16pxnumberBottom spacing of toolbar containers.
--gv-pagination-gap4pxnumberGap between pagination buttons.
--gv-pagination-button-size36pxnumberPagination button width / height. 36px meets SC 2.5.8 AA (24px floor) but not SC 2.5.5 AAA (44px).
--gv-checkbox-size16pxnumberWidth and height of checkboxes / radios.
--gv-map-marker-size18pxnumberWidth and height of map cluster markers and SVG indicators.
--gv-entry-field-gapvar(--gv-space-3)text
--gv-field-label-margin-block-endvar(--gv-space-1)text
--gv-button-padding-blockvar(--gv-space-2)text
--gv-button-padding-inlinevar(--gv-space-5)text
--gv-button-min-height0text
--gv-radius-xsthemeable2pxnumber
units: px, rem, em, min 0, step 1
2px corner-radius step.
--gv-radius-sm4pxnumber
units: px, rem, em, min 0, step 1
4px corner-radius step.
--gv-radius-md6pxnumber
units: px, rem, em, min 0, step 1
6px corner-radius step.
--gv-radius-lg8pxnumber
units: px, rem, em, min 0, step 1
8px corner-radius step.
--gv-radius-xlthemeable12pxnumber
units: px, rem, em, min 0, step 1
12px corner-radius step.
--gv-radius-full9999pxnumber
units: px, rem, em, min 0, step 1
9999px corner-radius step.
--gv-border-width-00number0 border-width step.
--gv-border-width-11pxnumber1px border-width step.
--gv-border-width-22pxnumber2px border-width step.
--gv-border-width-33pxnumber3px border-width step.
--gv-border-width-44pxnumber4px border-width step.
--gv-border-width-88pxnumber8px border-width step.
--gv-widget-border-radius8pxnumberCorner radius of widget containers.
--gv-pagination-button-radius6pxnumberCorner radius of pagination buttons.
--gv-control-border-widththemeable1pxnumber
units: px, min 0, step 1
Border width of form controls.
--gv-control-radiusthemeable6pxnumber
units: px, rem, em, %, min 0, step 1
Corner roundness of search inputs, the search button, pagination buttons, and edit-entry inputs.
--gv-focus-ring-widththemeable2pxnumber
units: px, min 1, step 1
Width of the focus-visible ring.
--gv-focus-ring-offsetthemeable2pxnumber
units: px, min 0, step 1
Distance from element edge to ring inner edge.
--gv-focus-ring-stylethemeablesolidselect
options: solid | dashed | dotted
Outline style of the focus-visible ring.
--gv-entry-radiusthemeable8pxnumber
units: px, rem, em, %, min 0, step 1
How rounded the corners of entry cards are.
--gv-entry-border-widththemeable1pxnumberCard border component.
--gv-entry-border-width-hoverthemeable1pxnumberHover variant of card border component.
--gv-entry-border-stylethemeablesolidselect
options: solid | dashed | dotted | double | none
Card border component.
--gv-entry-border-style-hoverthemeablesolidselect
options: solid | dashed | dotted | double | none
Hover variant of card border component.
--gv-entry-border-colorthemeable#e5e7ebcolorCard border component.
--gv-entry-border-color-hoverthemeable#e5e7ebcolorHover variant of card border component.
--gv-table-cell-border-widthvar(--gv-border-width-0)text
--gv-table-cell-border-stylesolidtext
--gv-button-border-widthvar(--gv-border-width-1)text
--gv-button-secondary-border-widthvar(--gv-border-width-1)text
--gv-button-danger-border-widthvar(--gv-border-width-1)text
--gv-button-radiusvar(--gv-radius-md)text
--gv-shadow-xs0 1px 2px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 50%), transparent)textComposed shadow value derived from shadow color + alpha.
--gv-shadow-sm0 1px 4px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 78%), transparent)textComposed shadow value derived from shadow color + alpha.
--gv-shadow-md0 1px 3px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 100%), transparent), 0 1px 2px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 60%), transparent)textComposed shadow value derived from shadow color + alpha.
--gv-shadow-lg0 4px 6px -1px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 100%), transparent), 0 2px 4px -1px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 60%), transparent)textComposed shadow value derived from shadow color + alpha.
--gv-shadow-xl0 10px 15px -3px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 100%), transparent), 0 4px 6px -2px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 50%), transparent)textComposed shadow value derived from shadow color + alpha.
--gv-shadow-colorthemeable#121961colorColor every shadow level is tinted with. Set it to a brand color for a non-blue palette.
--gv-shadow-alphathemeable0.1number
min 0, max 1, step 0.05
Base alpha multiplier shared by every shadow level.
--gv-shadow-focus0 0 0 var(--gv-focus-ring-width) var(--gv-focus-ring-color)textComposed box-shadow value derived from focus-ring width + color.
--gv-entry-shadowthemeable0 1px 2px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 50%), transparent)select
options: none | 0 1px 2px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 50%), transparent) | 0 1px 3px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 100%), transparent), 0 1px 2px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 60%), transparent) | 0 4px 6px -1px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 100%), transparent), 0 2px 4px -1px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 60%), transparent) | 0 10px 15px -3px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 100%), transparent), 0 4px 6px -2px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 50%), transparent)
Drop-shadow depth applied to entry cards at rest.
--gv-entry-shadow-hoverthemeable0 4px 6px -1px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 100%), transparent), 0 2px 4px -1px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 60%), transparent)select
options: none | 0 1px 2px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 50%), transparent) | 0 1px 3px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 100%), transparent), 0 1px 2px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 60%), transparent) | 0 4px 6px -1px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 100%), transparent), 0 2px 4px -1px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 60%), transparent) | 0 10px 15px -3px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 100%), transparent), 0 4px 6px -2px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 50%), transparent)
Drop-shadow depth applied to entry cards on hover.
--gv-opacity-00numberOpacity step 0.
--gv-opacity-100.1numberOpacity step 0.1.
--gv-opacity-200.2numberOpacity step 0.2.
--gv-opacity-300.3numberOpacity step 0.3.
--gv-opacity-400.4numberOpacity step 0.4.
--gv-opacity-500.5numberOpacity step 0.5.
--gv-opacity-600.6numberOpacity step 0.6.
--gv-opacity-700.7numberOpacity step 0.7.
--gv-opacity-800.8numberOpacity step 0.8.
--gv-opacity-900.9numberOpacity step 0.9.
--gv-opacity-1001numberOpacity step 1.
--gv-z-base0number
min 0, step 1
Z-index scale step.
--gv-z-raised10number
min 0, step 1
Z-index scale step.
--gv-z-dropdownthemeable100number
min 0, step 1
Z-index scale step.
--gv-z-popoverthemeable200number
min 0, step 1
Z-index scale step.
--gv-z-sticky300number
min 0, step 1
Z-index scale step.
--gv-z-overlay400number
min 0, step 1
Z-index scale step.
--gv-z-modalthemeable100000number
min 0, step 1
Z-index scale step.
--gv-z-toastthemeable600number
min 0, step 1
Z-index scale step.
--gv-grid-columns1number
min 1, max 6, step 1
Number of columns in card-grid layouts (1–6).
--gv-grid-columns-lg(unset)numberResponsive cap for grid columns at the large breakpoint.
--gv-grid-columns-md(unset)numberResponsive cap for grid columns at the medium breakpoint.
--gv-grid-gap24pxnumberGap between cards in the grid.
--gv-grid-alignstretchselect
options: stretch | start
Card alignment within the grid track.
--gv-card-min-width0pxnumberMinimum card width before reflow.
--gv-single-entry-label-inline-size30%textLogical inline-size of the label column in single-entry view. RTL-correct.
--gv-single-entry-label-width30%textLegacy physical-side alias for single-entry label width.
--gv-list-media-inline-size33.33%textLogical inline-size of the media column in list layouts.
--gv-list-media-width33.33%textLegacy physical-side alias for list media width.
--gv-map-infowindow-max-widthmin(320px, calc(100vw - 2 * var(--gv-space-4)))textMaximum width of map infowindows.
--gv-map-infowindow-image-max-width100pxnumberMaximum width of images inside map infowindows.
--gv-size-touch-target44pxnumberMinimum inline/block size for interactive elements (SC 2.5.5 AAA).
--gv-drag-handle-size44pxnumberMinimum size of drag handles. Pairs with click-to-pick alternative per SC 2.5.7.
--gv-drag-handle-color#5b6470colorColor of drag-handle iconography.
--gv-scrollbar-thumb-color#888888colorColor of scrollbar thumbs (browsers that support `scrollbar-color`).
--gv-scrollbar-track-color#f2f3f5colorColor of scrollbar tracks.
--gv-auto-advance-paused0numberSC 2.2.2 pause flag: set to 1 to halt auto-rotating widgets.
--gv-table-header-background#f2f3f5colorBackground of table header rows.
--gv-table-header-font-sizecalc(var(--gv-font-size-base) * 0.75)textFont size of table header text.
--gv-table-cell-padding-blockthemeable12pxnumber
units: px, rem, em, min 0, step 0.1
Vertical padding inside table cells.
--gv-table-cell-padding-inlinethemeable16pxnumber
units: px, rem, em, min 0, step 0.1
Horizontal padding inside table cells.
--gv-widget-border-color#e5e7ebcolorBorder color of widget containers.
--gv-pagination-button-border-color#6b7280colorBorder color of pagination buttons. Defaults to border-strong (4.74:1 vs surface).
--gv-self-containedthemeable0togglePaint a backdrop around the entire View so contrast is guaranteed regardless of host theme. Trade-off: View looks like a discrete container rather than integrating with the host page.
--gv-view-wrapper-radius0number
units: px, rem, min 0, step 1
Border radius applied to the outer View wrapper when Self-Contained Mode is enabled. Presets may override.
--gv-view-wrapper-shadownoneselect
options: none | 0 1px 2px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 50%), transparent) | 0 1px 3px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 100%), transparent), 0 1px 2px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 60%), transparent) | 0 4px 6px -1px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 100%), transparent), 0 2px 4px -1px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 60%), transparent) | 0 10px 15px -3px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 100%), transparent), 0 4px 6px -2px color-mix(in srgb, var(--gv-shadow-color) calc(var(--gv-shadow-alpha) * 50%), transparent)
Drop-shadow applied to the outer View wrapper when Self-Contained Mode is enabled. Presets may override.
--gv-motion-multiplierthemeable1number
min 0, max 2, step 0.1
Global scalar applied to every transition duration. Set to 0.01 under prefers-reduced-motion.
--gv-transition-fastthemeablecalc(0.15s * var(--gv-motion-multiplier))textHover / focus transitions.
--gv-transition-mediumthemeablecalc(0.25s * var(--gv-motion-multiplier))textPanel open / close transitions.
--gv-transition-slowthemeablecalc(0.4s * var(--gv-motion-multiplier))textHero / page-scale transitions.
--gv-easing-standardthemeablecubic-bezier(0.2, 0.0, 0.0, 1.0)textDefault easing curve.
--gv-easing-deceleratethemeablecubic-bezier(0.0, 0.0, 0.2, 1.0)textEnter / appear easing.
--gv-easing-acceleratethemeablecubic-bezier(0.3, 0.0, 1.0, 1.0)textExit / dismiss easing.
--gv-easing-emphasizedthemeablecubic-bezier(0.3, 0.0, 0.8, 0.15)textHero transition easing.
--gv-easing-linearthemeablelineartextLinear easing.