Dev Setup
Get set up using Nebula in your app.
Installation
Start by making sure you have an npm token from the @kaluza-platform npm org.
Or if you prefer:
You'll also need to ensure the following peerDependencies are installed:
Theming
Nebula uses styled-components (opens in new window) and it is necessary to provide a theme which you can import from @kaluza-platform/nebula.
This can be done using styled-component's <ThemeProvider> at the root of the app.
See Theming for more information.
Fonts
Nebula uses Aspekta (opens in new window) which is an open source font family, and Inter (opens in new window) font family which is available as Google font.
Nebula uses normal (400), semi bold (600), and bold (700) font weights, both the fonts support these weights.
Make sure to add them to the application, they are available on the links provided above.
OverlayProvider
Some Nebula components make use of React Aria (opens in new window) . The OverlayProvider context provider is required by some components to ensure proper support for screenreaders.
Using the components
CSS Reset
The design system components rely on global styles to provide a CSS reset (opens in new window)
We export one of these which uses sensible defaults and can be found here: