@navikt/ds-css 1.0.0-rc.1 → 1.0.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +43 -0
  2. package/package.json +3 -3
package/README.md ADDED
@@ -0,0 +1,43 @@
1
+ # NAV designsystem styling
2
+
3
+ CSS-package containing design for @navikt/ds-react and more.
4
+
5
+ - All our tokens (Colors, border, shadows etc)
6
+ - Component-styling for `@navikt/ds-react` packages
7
+ - Normalize.css v8
8
+ - Fonts
9
+
10
+ ## Installation
11
+
12
+ Install `@navikt/ds-css` with yarn
13
+
14
+ ```bash
15
+ yarn add @navikt/ds-css
16
+ ```
17
+
18
+ Install `@navikt/ds-css` with npm
19
+
20
+ ```bash
21
+ npm install @navikt/ds-css
22
+ ```
23
+
24
+ ## Usage
25
+
26
+ Import styling for make it accessible. Only need to do this one place.
27
+
28
+ ```javascript
29
+ import "@navikt/ds-css";
30
+
31
+ function App() {
32
+ return <Component />;
33
+ }
34
+ ```
35
+
36
+ ## Learn more
37
+
38
+ - [Designsystem documentation](https://aksel.nav.no/designsystem)
39
+ - [Storybook](https://master--5f801fb2aea7820022de2936.chromatic.com/)
40
+
41
+ ## License
42
+
43
+ [MIT](https://github.com/navikt/Designsystemet/blob/master/LICENCE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/ds-css",
3
- "version": "1.0.0-rc.1",
3
+ "version": "1.0.0-rc.2",
4
4
  "description": "Css for NAV Designsystem components",
5
5
  "author": "NAV Designsystem team",
6
6
  "keywords": [
@@ -20,12 +20,12 @@
20
20
  "watch": "postcss --watch --use postcss-import -o dist/index.css index.css"
21
21
  },
22
22
  "devDependencies": {
23
- "@navikt/ds-tokens": "^1.0.0-rc.1",
23
+ "@navikt/ds-tokens": "^1.0.0-rc.2",
24
24
  "normalize.css": "^8.0.1",
25
25
  "postcss": "^8.3.6",
26
26
  "postcss-cli": "^8.3.1",
27
27
  "postcss-combine-duplicated-selectors": "10.0.3",
28
28
  "postcss-import": "^14.0.2"
29
29
  },
30
- "gitHead": "2ae9f382fbeb30d00432d64e81b57347725f6ffa"
30
+ "gitHead": "60f13970436275f5af4a206995c545475c2f09db"
31
31
  }