@navikt/ds-tailwind 0.1.5 → 0.1.8
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 +3 -3
- package/tailwind.config.js +9 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/ds-tailwind",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Auto-generated tailwind config based on @navikt/ds-tokens",
|
|
6
6
|
"author": "NAV Designsystem team",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"directory": "@navikt/core/tailwind"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@navikt/ds-tokens": "^0.8.
|
|
26
|
+
"@navikt/ds-tokens": "^0.8.6",
|
|
27
27
|
"@types/jest": "^27.0.1",
|
|
28
28
|
"jest": "^27.2.0",
|
|
29
29
|
"lodash": "^4.17.21",
|
|
30
30
|
"ts-jest": "^27.0.5",
|
|
31
31
|
"ts-node": "^10.3.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "dd14eb272e1bb17a38f3d185ee87cb70a23e7ef0"
|
|
34
34
|
}
|
package/tailwind.config.js
CHANGED
|
@@ -117,7 +117,7 @@ module.exports = {
|
|
|
117
117
|
"feedback-warning-background": "rgba(255, 236, 204, 1)",
|
|
118
118
|
"feedback-warning-border": "rgba(212, 123, 0, 1)",
|
|
119
119
|
"feedback-warning-icon": "rgba(255, 145, 0, 1)",
|
|
120
|
-
"focus-inverted": "rgba(
|
|
120
|
+
"focus-inverted": "rgba(102, 165, 244, 1)",
|
|
121
121
|
"focus": "rgba(0, 52, 125, 1)",
|
|
122
122
|
"interaction-danger-hover": "rgba(163, 42, 23, 1)",
|
|
123
123
|
"interaction-danger-selected": "rgba(136, 29, 12, 1)",
|
|
@@ -156,16 +156,17 @@ module.exports = {
|
|
|
156
156
|
"zIndex": {
|
|
157
157
|
"modal": 2000,
|
|
158
158
|
"popover": 1000,
|
|
159
|
-
"focus": 10
|
|
159
|
+
"focus": 10,
|
|
160
|
+
"tooltip": 3000
|
|
160
161
|
},
|
|
161
162
|
"boxShadow": {
|
|
162
|
-
"xsmall": "
|
|
163
|
-
"small": "
|
|
164
|
-
"medium": "
|
|
165
|
-
"large": "
|
|
166
|
-
"xlarge": "
|
|
163
|
+
"xsmall": "0 1px 2px 0 rgba(0, 0, 0, 0.5)",
|
|
164
|
+
"small": "0 1px 2px -1px rgba(0, 0, 0, 0.05), 0 1px 3px 0 rgba(0, 0, 0, 0.1)",
|
|
165
|
+
"medium": "0 2px 4px -2px rgba(0, 0, 0, 0.05), 0 4px 6px -1px rgba(0, 0, 0, 0.1)",
|
|
166
|
+
"large": "0 4px 6px -4px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.1)",
|
|
167
|
+
"xlarge": "0 8px 10px -6px rgba(0, 0, 0, 0.05), 0 25px 50px -5px rgba(0, 0, 0, 0.1)",
|
|
167
168
|
"focus": "0 0 0 3px rgba(0, 52, 125, 1)",
|
|
168
|
-
"focus-inverted": "0 0 0 3px rgba(
|
|
169
|
+
"focus-inverted": "0 0 0 3px rgba(102, 165, 244, 1)",
|
|
169
170
|
"popover": "0 2px 4px 0 rgba(229, 229, 229, 1)",
|
|
170
171
|
"card": "0 1px 3px 0 rgba(38,38,38,0.2),0 2px 1px 0 rgba(38,38,38,0.12),0 1px 1px 0 rgba(38,38,38,0.14)"
|
|
171
172
|
},
|