@hydroperx/metrodesign
    Preparing search index...

    Type Alias Theme

    Basic theme description specifying the color scheme.

    type Theme = {
        colors: {
            anchor: string;
            background: string;
            danger: string;
            dangerForeground: string;
            focusDashes: string;
            foreground: string;
            inputBackground: string;
            inputBorder: string;
            pressed: string;
            pressedForeground: string;
            primary: string;
            primaryForeground: string;
            progressBarBackground: string;
            progressBarForeground: string;
            scrollBarThumb: string;
            scrollBarTrack: string;
            secondary: string;
            sliderBackground: string;
            sliderPastBackground: string;
            warning: string;
        };
    }
    Index

    Properties

    Properties

    colors: {
        anchor: string;
        background: string;
        danger: string;
        dangerForeground: string;
        focusDashes: string;
        foreground: string;
        inputBackground: string;
        inputBorder: string;
        pressed: string;
        pressedForeground: string;
        primary: string;
        primaryForeground: string;
        progressBarBackground: string;
        progressBarForeground: string;
        scrollBarThumb: string;
        scrollBarTrack: string;
        secondary: string;
        sliderBackground: string;
        sliderPastBackground: string;
        warning: string;
    }

    Type Declaration

    • anchor: string

      Anchor link color.

    • background: string

      Background color.

    • danger: string

      Used in buttons and label colors for instance.

    • dangerForeground: string

      Used in buttons for instance.

    • focusDashes: string

      Used in certain focusable components such as buttons.

    • foreground: string

      Foreground color (e.g. for text).

    • inputBackground: string

      Used in components such as text inputs, tooltips and popover menu.

    • inputBorder: string

      Used in components such as text inputs, tooltips and popover menu.

    • pressed: string

      Background used in pressed buttons for instance.

    • pressedForeground: string

      Used in pressed buttons for instance.

    • primary: string

      Used in buttons for instance.

    • primaryForeground: string

      Used in buttons for instance.

    • progressBarBackground: string

      Progress bar's background.

    • progressBarForeground: string

      Progress bar's foreground (the loaded part).

    • scrollBarThumb: string

      Scrollbar thumb (the draggable part) color.

    • scrollBarTrack: string

      Scrollbar track (the non-draggable part) color.

    • secondary: string

      Used in buttons for instance.

    • sliderBackground: string

      Slider background.

    • sliderPastBackground: string

      Slider's past background.

    • warning: string

      Warning color used in labels. (For example, in a FormGroup.)