/*
 * Dashboard design tokens.
 *
 * App CSS reads colours, fonts and spacing from these --vsi-* variables instead of the
 * Fluent UI design tokens directly, so a Fluent UI upgrade remaps them here and nowhere else.
 * Today they point at the Fluent UI v5 (Fluent 2) tokens, which the theme declares once on the
 * document: unlike v4, no component re-declares them for its subtree.
 */
:root {
    /* Text */
    --vsi-color-text: var(--colorNeutralForeground1);
    --vsi-color-text-muted: var(--colorNeutralForeground3);
    --vsi-color-brand: var(--colorBrandBackground);
    --vsi-color-brand-text: var(--colorBrandForeground1);
    --vsi-color-danger: var(--colorPaletteRedForeground1);
    --vsi-color-warning: var(--colorPaletteDarkOrangeForeground1);
    --vsi-color-success: var(--colorPaletteGreenForeground1);

    /* Backgrounds, from the page (1) to the most recessed layer (4) */
    --vsi-color-background-1: var(--colorNeutralBackground1);
    --vsi-color-background-2: var(--colorNeutralBackground2);
    --vsi-color-background-3: var(--colorNeutralBackground3);
    --vsi-color-background-4: var(--colorNeutralBackground4);
    /* Fill of the surface the element sits on (page, card, ...) */
    --vsi-color-fill: var(--colorNeutralBackground1);
    --vsi-color-fill-secondary: var(--colorNeutralBackground3);
    --vsi-color-fill-subtle: var(--colorSubtleBackground);
    --vsi-color-fill-subtle-hover: var(--colorSubtleBackgroundHover);
    --vsi-color-fill-subtle-hover-on-layer: var(--colorSubtleBackgroundHover);

    /* Borders */
    --vsi-color-border: var(--colorNeutralStroke1);
    --vsi-color-divider: var(--colorNeutralStroke2);
    --vsi-stroke-width: 1; /* unitless, in px */

    /* Typography */
    --vsi-font-family: var(--fontFamilyBase);
    --vsi-font-size-base: var(--fontSizeBase300);
    --vsi-line-height-base: var(--lineHeightBase300);
    --vsi-font-size-large: var(--fontSizeBase400);

    /* Spacing */
    --vsi-spacing-unit: 4; /* unitless, in px */
}
