Skip to content

pantoken / renderers/css-in-js/src / toThemeKey

Funzione: toThemeKey()

toThemeKey(name): string

Sperimentale

Trasforma --instui-color-background-brand in colorBackgroundBrand.

Parametri

name

string

Restituisce

string

Esempio

ts
import { toThemeKey } from "@pantoken/css-in-js";

toThemeKey("--instui-color-background-brand"); // "colorBackgroundBrand"