npm.io
18.3.0 • Published 1 month ago

@clr/ui

Licence
MIT
Version
18.3.0
Deps
0
Size
5.9 MB
Vulns
0
Weekly
0
Stars
430

Installing Clarity UI npm version

  1. Install Clarity UI package through npm:

    npm install @clr/ui
  2. Include clr-ui.min.css in your HTML file and add the cds-theme attribute to your body tag:

    <link rel="stylesheet" href="path/to/node_modules/@clr/ui/clr-ui.min.css">
  3. Add the cds-theme="light" (or cds-theme="dark" for dark theme) to the body tag:

    <body cds-theme"light">
  4. Write your HTML with the Clarity CSS class names and markup.

Versioning

The version of this library is aligned to the version of @clr/angular, and does not independently follow semantic versioning. While we strive to only introduce breaking changes in major versions, we may at times need to introduce a breaking change in a minor version in order to maintain alignment with the @clr/angular library. For projects that choose to use this package, we recommend pinning your project to a specific path version and treating each upgrade as a potentially breaking change.