Releases: ericrav/theme-party
Releases · ericrav/theme-party
v0.4.0
v0.3.0
New Features
import { ThemeOverride, ThemePartyConfig } from 'theme-party';
const override: ThemePartyConfig = { color: { link: 'blue' } };
function Component() {
return (
<ThemeOverride value={override}>
<Link>Click me</Link>
</ThemeOverride>
);
}
ThemeOverride
: override select values of the current themeThemePartyConfig
: utility type for type-checking & autocomplete of your theme values in a vanilla object
Other changes
- Array values in a theme will no longer become a
Proxy
value & instead will be treated as primitive theme values (fixes #5)