Skip to content

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

Función: toThemeKey()

toThemeKey(name): string

Experimental

Convierte --instui-color-background-brand en colorBackgroundBrand.

Parámetros

name

string

Devuelve

string

Ejemplo

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

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