Skip to content

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

関数: toThemeKey() ​

toThemeKey(name): string

実験的

--instui-color-background-brand を colorBackgroundBrand に変換する.

パラメーター ​

name ​

string

戻り値 ​

string

例 ​

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

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