@navikt/ds-css 1.0.0-rc.4 → 1.0.0-rc.7
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.
- package/README.md +8 -1
- package/dist/index.css +2 -12
- package/form/radio-checkbox.css +0 -8
- package/form/switch.css +0 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ Install `@navikt/ds-css` with npm
|
|
|
23
23
|
|
|
24
24
|
## Usage
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
You can import these styles once to make it accessible in your entire project. Typically you will add the following line to your root .js or .ts files.
|
|
27
27
|
|
|
28
28
|
```javascript
|
|
29
29
|
import "@navikt/ds-css";
|
|
@@ -33,10 +33,17 @@ function App() {
|
|
|
33
33
|
}
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
+
But you can also import it in a .css-file like this
|
|
37
|
+
|
|
38
|
+
```css
|
|
39
|
+
@import "@navikt/ds-css";
|
|
40
|
+
```
|
|
41
|
+
|
|
36
42
|
## Learn more
|
|
37
43
|
|
|
38
44
|
- [Designsystem documentation](https://aksel.nav.no/designsystem)
|
|
39
45
|
- [Storybook](https://master--5f801fb2aea7820022de2936.chromatic.com/)
|
|
46
|
+
- [ds-react README](https://github.com/navikt/Designsystemet/blob/master/%40navikt/core/react/README.md)
|
|
40
47
|
|
|
41
48
|
## License
|
|
42
49
|
|