@navikt/ds-tailwind 2.0.0-next.0 → 2.0.0
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 +2 -9
- package/package.json +4 -4
- package/tailwind.config.js +2 -1
package/README.md
CHANGED
|
@@ -1,18 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Aksel tailwind-preset
|
|
2
2
|
|
|
3
|
-
Custom tailwind-preset based on
|
|
3
|
+
Custom tailwind-preset based on `@navikt/ds-tokens`.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
|
-
Install `@navikt/ds-tailwind` with yarn
|
|
8
|
-
|
|
9
7
|
```bash
|
|
10
8
|
yarn add @navikt/ds-tailwind
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
Install `@navikt/ds-tailwind` with npm
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
9
|
npm install @navikt/ds-tailwind
|
|
17
10
|
```
|
|
18
11
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/ds-tailwind",
|
|
3
|
-
"version": "2.0.0
|
|
4
|
-
"description": "
|
|
5
|
-
"author": "NAV
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "Tailwind config based on @navikt/ds-tokens",
|
|
5
|
+
"author": "Aksel | NAV designsystem team",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tailwind",
|
|
8
8
|
"design-tokens"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"directory": "@navikt/core/tailwind"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@navikt/ds-tokens": "^2.0.0
|
|
25
|
+
"@navikt/ds-tokens": "^2.0.0",
|
|
26
26
|
"@types/jest": "^29.0.0",
|
|
27
27
|
"@types/node": "^17.0.35",
|
|
28
28
|
"color": "4.2.3",
|
package/tailwind.config.js
CHANGED
|
@@ -128,7 +128,7 @@ module.exports = {
|
|
|
128
128
|
"text-visited": "rgba(99, 70, 137, 1)",
|
|
129
129
|
"text-danger": "rgba(195, 0, 0, 1)",
|
|
130
130
|
"text-action-selected": "rgba(0, 91, 130, 1)",
|
|
131
|
-
"text-action-
|
|
131
|
+
"text-action-on-action-subtle": "rgba(0, 86, 180, 1)",
|
|
132
132
|
"text-action": "rgba(0, 103, 197, 1)",
|
|
133
133
|
"text-on-inverted": "rgba(255, 255, 255, 1)",
|
|
134
134
|
"text-on-neutral": "rgba(255, 255, 255, 1)",
|
|
@@ -189,6 +189,7 @@ module.exports = {
|
|
|
189
189
|
"icon-default": "rgba(38, 38, 38, 1)",
|
|
190
190
|
"icon-subtle": "rgba(112, 112, 112, 1)",
|
|
191
191
|
"icon-action-selected": "rgba(0, 91, 130, 1)",
|
|
192
|
+
"icon-action-on-action-subtle": "rgba(0, 86, 180, 1)",
|
|
192
193
|
"icon-action": "rgba(0, 103, 197, 1)",
|
|
193
194
|
"icon-success": "rgba(6, 137, 58, 1)",
|
|
194
195
|
"icon-danger": "rgba(195, 0, 0, 1)",
|