Skip to content

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

Função: toThemeKey()

toThemeKey(name): string

Experimental

Transforme --instui-color-background-brand em colorBackgroundBrand.

Parâmetros

name

string

Retorna

string

Exemplo

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

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