Skip to content

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

Funktion: toThemeKey() ​

toThemeKey(name): string

Experimentell

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

Parameter ​

name ​

string

Rückgabe ​

string

Beispiel ​

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

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