@vygruppen/spor-theme-react
TypeScript icon, indicating that this package has built-in type declarations

1.0.17 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @vygruppen/spor-theme-react

Weekly Downloads

4

Version

1.0.17

License

MIT

Unpacked Size

1.34 MB

Total Files

220

Last publish

Collaborators

  • alice.clausen
  • leiferikbjorkli
  • teresita-halvorsen