An open API service indexing awesome lists of open source software.

https://github.com/extrawest/extra-clarity


https://github.com/extrawest/extra-clarity

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

[![Maintaner](https://img.shields.io/badge/maintainer-extrawest.com-blue)](https://extrawest.com)
[![GitHub license](https://img.shields.io/github/license/Naereen/StrapDown.js.svg)](LICENSE)
[![GitHub release](https://img.shields.io/github/package-json/v/extrawest/extra-clarity?filename=projects%2Fextra-clarity%2Fpackage.json)](https://www.npmjs.com/package/@extrawest/extra-clarity)

# Extra Clarity

A library containing Angular components built on the top of the [Clarity Design System](https://clarity.design/),
which we use in our internal projects in [extrawest.com](https://extrawest.com).

The library is under development. Any suggestions would be highly appreciated.

## Installation

The library is available as an [npm-package](https://www.npmjs.com/package/@extrawest/extra-clarity):

```shell
npm install @extrawest/extra-clarity
```

To work with the library, you also need to add the Clarity packages:

```shell
npm i @cds/core @clr/angular @clr/ui
```

And then add the global Clarity styles to your `angular.json` config:

```json
"styles": [
"node_modules/@cds/core/global.min.css",
"node_modules/@cds/core/styles/theme.dark.min.css",
"node_modules/@clr/ui/clr-ui.min.css"
... any other styles
]
```

and add the `cds-theme="light"` attribute to the body element in your main HTML file:

```html