Skip to content

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

Funkcja: toThemeKey()

toThemeKey(name): string

Eksperymentalne

Zamień --instui-color-background-brand na colorBackgroundBrand.

Parametry

name

string

Zwraca

string

Przykład

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

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