Allow single depth theme. Previously this was a type error and result in non-ideal CSS variable name
const theme = createTheme({
red: '#ff0000'
})
Before:
theme.red // type error
theme.red === "var(---red)"
After:
theme.red === "var(--red)"
Allow single depth theme. Previously this was a type error and result in non-ideal CSS variable name
const theme = createTheme({
red: '#ff0000'
})
Before:
theme.red // type error
theme.red === "var(---red)"
After:
theme.red === "var(--red)"