Theme Luna
Luna
The package for the "Luna" theme. This is currently still very experimental.
Installation
$ yarn add @rexlabs/button
Usage
import { init, TOKENS, COMPONENTS } from '@rexlabs/theme-luna';
import { StylesProvider } from '@rexlabs/styling';
init();
function Root() {
return (
<StylesProvider tokens={TOKENS} components={COMPONENTS}>
<App />
</StylesProvider>
);
}
Upgrade Guide
Version 4.x to 5.0.0
- Changed
breakpointtokens- Use
breakoint.{xs|s|m|l|xl}instead ofbreakpoint.{tablet|desktop|largeDesktop}
- Use
Version 1.x to 2.0.0
Legal
Copyright (c) 2021 Rex Software All Rights Reserved.