pantoken / renderers/css-in-js/src / toThemeKey
Function: toThemeKey()
toThemeKey(
name):string
Experimental
Turn --instui-color-background-brand into colorBackgroundBrand.
Parameters
name
string
Returns
string
Example
ts
import { toThemeKey } from "@pantoken/css-in-js";
toThemeKey("--instui-color-background-brand"); // "colorBackgroundBrand"