Variable viraIconCssVarsConst

viraIconCssVars: CssVarDefinitions<{
    vira-icon-fill-color: "none";
    vira-icon-stroke-color: "currentColor";
    vira-icon-stroke-width: "1px";
}> = ...

CSS vars that are supported by all Vira SVG icons.

Type declaration

  • Readonlyvira-icon-fill-color: "none"

    To be used for coloring an icon's fill.

  • Readonlyvira-icon-stroke-color: "currentColor"

    To be used for coloring an icon's stroke.

  • Readonlyvira-icon-stroke-width: "1px"