Releases: pveyes/theme-in-css
Releases · pveyes/theme-in-css
v0.2.2
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)"
v0.2.1
Fix type definition for infinite nested prop
v0.2.0
Allow infinite property nesting 83f288b
This is not possible before
const theme = createTheme({
a: {
b: {
c: {
d: ''
}
}
}
});