Skip to main content

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 breakpoint tokens
    • Use breakoint.{xs|s|m|l|xl} instead of breakpoint.{tablet|desktop|largeDesktop}

Version 1.x to 2.0.0

Copyright (c) 2021 Rex Software All Rights Reserved.