Variable viraColorVariantToHostClassKeyConst
viraColorVariantToHostClassKey: {
brand: "brand";
danger: "red";
info: "blue";
positive: "green";
special: "purple";
warning: "yellow";
} = ...
Type Declaration
Readonlybrand: "brand"
Readonlydanger: "red"
Readonlyinfo: "blue"
Readonlypositive: "green"
Readonlyspecial: "purple"
Readonlywarning: "yellow"
Maps themed ViraColorVariant members to the ViraThemeColorName used as their host class suffix on color-aware elements (
vira-*-color-${themeColor}).PlainandNeutralare intentionally omitted: they are always special-cased by each element so their host classes stay distinct from any theme color class (includinggrey).