Pluto is a design system used to build accessible, consistent, and high quality public-facing experiences at Localyze.
👋 Hi. Follow the steps below to begin building with Pluto
Package | Version |
---|---|
react | 18.x |
react-dom | 18.x |
npm install --save react react-dom
Install the following packages so you can consume Pluto's tokens and themes to build custom page sections.
npm install --save @localyze-pluto/theme @localyze-pluto/components
The ThemeProvider needs to be set so the Pluto components receive the correct styles. You should wrap your whole application with this provider.
import { ThemeProvider, theme } from "@localyze-pluto/theme";
<Theme.Provider theme={theme}>
<App />
</Theme.Provider>;
We also offer some reset, global, and base styles you can use to make styling a little easier.
import {
ThemeProvider,
theme,
GlobalStyles,
BaseStyles,
Preflight,
} from "@localyze-pluto/theme";
<Theme.Provider theme={theme}>
<Preflight />
<GlobalStyles />
<BaseStyles />
<App />
</Theme.Provider>;
Currently we only offer have one font family (Noto Sans) for use within Localyze applications.
Enough said.
Let us know if you have any feedback or issues.
If you are interested in contributing to Pluto, a contributing guide can be found here.