@sikt/sds-core
TypeScript icon, indicating that this package has built-in type declarations

3.0.2 • Public • Published

@sikt/sds-core

Consume

npm i -s @sikt/sds-core

Stylesheet

@import url("@sikt/sds-core");

React

import { PrimaryButton } from "@sikt/sds-button";
import "@sikt/sds-core/dist/index.css";

<PrimaryButton>Hello, World!</PrimaryButton>;

Color Scheme

Color scheme is default light and can be changed by the users color scheme setting. If a web page or parts of a web page should be lock to one mode it can be done with the attribute data-color-scheme="<scheme>", remember to set a background if used on a partial pages as the root background otherwise will affect your partial page.

Readme

Keywords

none

Package Sidebar

Install

npm i @sikt/sds-core

Weekly Downloads

282

Version

3.0.2

License

SEE LICENSE IN LICENSE.md

Unpacked Size

122 kB

Total Files

12

Last publish

Collaborators

  • andreassolberg
  • 42tte
  • andreassolberg2