@vygruppen/spor-theme-react
v1.0.17
Published
The default theme package for the Spor design system.
Downloads
242
Keywords
Readme
Theme (React)
The default theme package for the Spor design system.
Installation
$ npm install @vygruppen/spor-theme-react
Usage
import { theme } from "@vygruppen/spor-theme-react";
Note: you'll most likely not use this directly. This theme is provided to you automatically with the
spor-react
package.
If you want to extend the default theme for some reason, you can do that like this:
import { theme as defaultTheme } from "@vygruppen/spor-theme-react";
import { extendTheme } from "@vygruppen/spor-react";
const customTheme = extendTheme(
{
// your own modifications,
},
defaultTheme // Pass the base theme in as the last argument
);
Development
Please refer to the root readme for development notes.