@navikt/ds-tailwind 0.1.2 → 0.1.5
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 +7 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/ds-tailwind",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
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.3",
|
|
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": "b4377a228a64c1924ec765bd2e83b739ffbd3fc4"
|
|
34
34
|
}
|
package/tailwind.config.js
CHANGED
|
@@ -159,6 +159,11 @@ module.exports = {
|
|
|
159
159
|
"focus": 10
|
|
160
160
|
},
|
|
161
161
|
"boxShadow": {
|
|
162
|
+
"xsmall": "0px 2px 1px -1px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.1)",
|
|
163
|
+
"small": "0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1)",
|
|
164
|
+
"medium": "0px 4px 6px -4px rgba(0, 0, 0, 0.1) ,0px 10px 15px -3px rgba(0, 0, 0, 0.1)",
|
|
165
|
+
"large": "0px 8px 10px -6px rgba(0, 0, 0, 0.1), 0px 20px 25px -5px rgba(0, 0, 0, 0.1)",
|
|
166
|
+
"xlarge": "0px 8px 10px -6px rgba(0, 0, 0, 0.1), 0px 25px 50px -12px rgba(0, 0, 0, 0.25)",
|
|
162
167
|
"focus": "0 0 0 3px rgba(0, 52, 125, 1)",
|
|
163
168
|
"focus-inverted": "0 0 0 3px rgba(153, 195, 255, 1)",
|
|
164
169
|
"popover": "0 2px 4px 0 rgba(229, 229, 229, 1)",
|
|
@@ -169,7 +174,7 @@ module.exports = {
|
|
|
169
174
|
"regular": "400"
|
|
170
175
|
},
|
|
171
176
|
"fontSize": {
|
|
172
|
-
"heading-
|
|
177
|
+
"heading-2xlarge": "2.5rem",
|
|
173
178
|
"heading-xlarge": "2rem",
|
|
174
179
|
"heading-large": "1.75rem",
|
|
175
180
|
"heading-medium": "1.5rem",
|
|
@@ -181,7 +186,7 @@ module.exports = {
|
|
|
181
186
|
"small": "0.875rem"
|
|
182
187
|
},
|
|
183
188
|
"lineHeight": {
|
|
184
|
-
"heading-
|
|
189
|
+
"heading-2xlarge": "3.25rem",
|
|
185
190
|
"heading-xlarge": "2.5rem",
|
|
186
191
|
"heading-large": "2.25rem",
|
|
187
192
|
"heading-medium": "2rem",
|