@navikt/ds-tailwind 5.18.3 → 6.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/package.json +2 -2
- package/tailwind.config.js +5 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/ds-tailwind",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "Tailwind config based on @navikt/ds-tokens",
|
|
5
5
|
"author": "Aksel | NAV designsystem team",
|
|
6
6
|
"keywords": [
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"directory": "@navikt/core/tailwind"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@navikt/ds-tokens": "^
|
|
27
|
+
"@navikt/ds-tokens": "^6.0.0",
|
|
28
28
|
"@types/jest": "^29.0.0",
|
|
29
29
|
"color": "4.2.3",
|
|
30
30
|
"jest": "^29.0.0",
|
package/tailwind.config.js
CHANGED
|
@@ -9,6 +9,7 @@ module.exports = {
|
|
|
9
9
|
"border-divider": "rgba(7, 26, 54, 0.21)",
|
|
10
10
|
"border-subtle": "rgba(7, 26, 54, 0.21)",
|
|
11
11
|
"border-action-selected": "rgba(0, 69, 156, 1)",
|
|
12
|
+
"border-action-hover": "rgba(0, 86, 180, 1)",
|
|
12
13
|
"border-action": "rgba(0, 103, 197, 1)",
|
|
13
14
|
"border-selected": "rgba(0, 103, 197, 1)",
|
|
14
15
|
"border-success": "rgba(6, 137, 58, 1)",
|
|
@@ -25,6 +26,7 @@ module.exports = {
|
|
|
25
26
|
"icon-default": "rgba(35, 38, 42, 1)",
|
|
26
27
|
"icon-subtle": "rgba(1, 11, 24, 0.68)",
|
|
27
28
|
"icon-action-selected": "rgba(0, 69, 156, 1)",
|
|
29
|
+
"icon-action-hover": "rgba(0, 86, 180, 1)",
|
|
28
30
|
"icon-action-on-action-subtle": "rgba(0, 86, 180, 1)",
|
|
29
31
|
"icon-action": "rgba(0, 103, 197, 1)",
|
|
30
32
|
"icon-success": "rgba(6, 137, 58, 1)",
|
|
@@ -99,6 +101,7 @@ module.exports = {
|
|
|
99
101
|
"text-visited": "rgba(99, 70, 137, 1)",
|
|
100
102
|
"text-danger": "rgba(195, 0, 0, 1)",
|
|
101
103
|
"text-action-selected": "rgba(0, 69, 156, 1)",
|
|
104
|
+
"text-action-hover": "rgba(0, 86, 180, 1)",
|
|
102
105
|
"text-action-on-action-subtle": "rgba(0, 86, 180, 1)",
|
|
103
106
|
"text-action": "rgba(0, 103, 197, 1)",
|
|
104
107
|
"text-on-inverted": "rgba(255, 255, 255, 1)",
|
|
@@ -237,7 +240,8 @@ module.exports = {
|
|
|
237
240
|
"sm": "480px",
|
|
238
241
|
"md": "768px",
|
|
239
242
|
"lg": "1024px",
|
|
240
|
-
"xl": "1280px"
|
|
243
|
+
"xl": "1280px",
|
|
244
|
+
"2xl": "1440px"
|
|
241
245
|
},
|
|
242
246
|
"extend": {
|
|
243
247
|
"spacing": {
|
|
@@ -264,7 +268,6 @@ module.exports = {
|
|
|
264
268
|
"1-alt": "0.375rem"
|
|
265
269
|
},
|
|
266
270
|
"zIndex": {
|
|
267
|
-
"modal": 2000,
|
|
268
271
|
"popover": 1000,
|
|
269
272
|
"focus": 10,
|
|
270
273
|
"tooltip": 3000
|