@payfit/unity-themes 1.1.0 → 1.2.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/dist/css/unity.css
CHANGED
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
@import "@fontsource/source-serif-4/500.css";
|
|
35
35
|
@import "@fontsource/source-serif-4/600.css";
|
|
36
36
|
@import "@fontsource/source-serif-4/700.css";
|
|
37
|
+
@import "@fontsource/roboto-mono";
|
|
37
38
|
@import "tailwindcss" prefix(uy);
|
|
38
39
|
|
|
39
40
|
@theme static {
|
|
@@ -207,6 +208,10 @@
|
|
|
207
208
|
--container-app-menu: 296px; /** Width of the main menu in global App layout */
|
|
208
209
|
--container-lg: 984px; /** Maximum width for layout containers at large resolutions */
|
|
209
210
|
--container-xl: 1144px; /** Maximum width for layout containers at extra-large resolutions */
|
|
211
|
+
--container-content: 523px; /** Maximum width for content containers */
|
|
212
|
+
--container-section: 703px; /** Maximum width for section containers */
|
|
213
|
+
--container-page: 1063px; /** Maximum width for page containers */
|
|
214
|
+
--container-app: 1439px; /** Maximum width for app containers */
|
|
210
215
|
--spacing-0: 0;
|
|
211
216
|
--spacing-25: 2px;
|
|
212
217
|
--spacing-50: 4px;
|
|
@@ -231,6 +236,7 @@
|
|
|
231
236
|
--aspect-square: 1 / 1;
|
|
232
237
|
--font-serif: "Source Serif 4", serif;
|
|
233
238
|
--font-sans: Inter, sans-serif;
|
|
239
|
+
--font-mono: "Roboto Mono", monospace;
|
|
234
240
|
--font-weight-regular: 400;
|
|
235
241
|
--font-weight-medium: 500;
|
|
236
242
|
--font-weight-semibold: 600;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payfit/unity-themes",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"main": "./dist/esm/index.js",
|
|
5
5
|
"types": "./dist/esm/index.d.ts",
|
|
6
6
|
"style": "./dist/css/unity.css",
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
"tokens",
|
|
11
11
|
"src"
|
|
12
12
|
],
|
|
13
|
+
"storybook": {
|
|
14
|
+
"url": "https://unity-theme.payfit.io/"
|
|
15
|
+
},
|
|
13
16
|
"exports": {
|
|
14
17
|
".": {
|
|
15
18
|
"import": {
|
|
@@ -26,16 +29,17 @@
|
|
|
26
29
|
},
|
|
27
30
|
"devDependencies": {
|
|
28
31
|
"@fontsource/inter": "5.0.19",
|
|
32
|
+
"@fontsource/roboto-mono": "5.2.7",
|
|
29
33
|
"@fontsource/source-serif-4": "5.0.19",
|
|
30
34
|
"@payfit/code-pushup-tools": "0.0.0-use.local",
|
|
31
35
|
"@payfit/hr-app-eslint": "0.0.0-use.local",
|
|
32
36
|
"@payfit/hr-apps-tsconfigs": "0.0.0-use.local",
|
|
33
37
|
"@payfit/vite-configs": "0.0.0-use.local",
|
|
34
|
-
"@storybook/addon-a11y": "9.1.
|
|
35
|
-
"@storybook/addon-docs": "9.1.
|
|
36
|
-
"@storybook/addon-links": "9.1.
|
|
37
|
-
"@storybook/addon-vitest": "9.1.
|
|
38
|
-
"@storybook/react-vite": "9.1.
|
|
38
|
+
"@storybook/addon-a11y": "9.1.7",
|
|
39
|
+
"@storybook/addon-docs": "9.1.7",
|
|
40
|
+
"@storybook/addon-links": "9.1.7",
|
|
41
|
+
"@storybook/addon-vitest": "9.1.7",
|
|
42
|
+
"@storybook/react-vite": "9.1.7",
|
|
39
43
|
"@storybook/test-runner": "0.23.0",
|
|
40
44
|
"@tailwindcss/vite": "4.1.11",
|
|
41
45
|
"@types/lodash": "4.14.202",
|
|
@@ -51,19 +55,21 @@
|
|
|
51
55
|
"prettier": "3.1.0",
|
|
52
56
|
"react": "18.3.1",
|
|
53
57
|
"react-dom": "18.3.1",
|
|
54
|
-
"storybook": "9.1.
|
|
58
|
+
"storybook": "9.1.7",
|
|
55
59
|
"tsx": "4.17.0",
|
|
56
60
|
"typescript": "5.9.2",
|
|
57
|
-
"vite": "
|
|
61
|
+
"vite": "7.1.6",
|
|
58
62
|
"vitest": "3.2.4"
|
|
59
63
|
},
|
|
60
64
|
"peerDependencies": {
|
|
61
65
|
"@fontsource/inter": "5.0.19",
|
|
66
|
+
"@fontsource/roboto-mono": "5.2.7",
|
|
62
67
|
"@fontsource/source-serif-4": "5.0.19",
|
|
63
68
|
"tailwindcss": "4.1.11"
|
|
64
69
|
},
|
|
65
70
|
"dependencies": {
|
|
66
71
|
"@fontsource/inter": "5.0.19",
|
|
72
|
+
"@fontsource/roboto-mono": "5.2.7",
|
|
67
73
|
"@fontsource/source-serif-4": "5.0.19",
|
|
68
74
|
"colorjs.io": "0.5.2",
|
|
69
75
|
"style-dictionary": "5.0.0",
|
|
@@ -17,6 +17,7 @@ export async function generateThemeHeader(
|
|
|
17
17
|
'@import "@fontsource/source-serif-4/500.css";',
|
|
18
18
|
'@import "@fontsource/source-serif-4/600.css";',
|
|
19
19
|
'@import "@fontsource/source-serif-4/700.css";',
|
|
20
|
+
'@import "@fontsource/roboto-mono";',
|
|
20
21
|
].join('\n')
|
|
21
22
|
|
|
22
23
|
const tailwindImport = options.prefix
|
|
@@ -247,6 +247,7 @@ describe('css/unity-theme Format', () => {
|
|
|
247
247
|
@import "@fontsource/source-serif-4/500.css";
|
|
248
248
|
@import "@fontsource/source-serif-4/600.css";
|
|
249
249
|
@import "@fontsource/source-serif-4/700.css";
|
|
250
|
+
@import "@fontsource/roboto-mono";
|
|
250
251
|
@import "tailwindcss";
|
|
251
252
|
|
|
252
253
|
@theme static {
|
|
@@ -359,6 +360,7 @@ describe('css/unity-theme Format', () => {
|
|
|
359
360
|
@import "@fontsource/source-serif-4/500.css";
|
|
360
361
|
@import "@fontsource/source-serif-4/600.css";
|
|
361
362
|
@import "@fontsource/source-serif-4/700.css";
|
|
363
|
+
@import "@fontsource/roboto-mono";
|
|
362
364
|
@import "tailwindcss" prefix(uy);
|
|
363
365
|
|
|
364
366
|
@theme static {
|
package/tokens/sizes.json
CHANGED
|
@@ -21,6 +21,34 @@
|
|
|
21
21
|
"$extensions": {
|
|
22
22
|
"com.payfit.unity.only": ["maxWidth"]
|
|
23
23
|
}
|
|
24
|
+
},
|
|
25
|
+
"content": {
|
|
26
|
+
"$value": "523px",
|
|
27
|
+
"$description": "Maximum width for content containers",
|
|
28
|
+
"$extensions": {
|
|
29
|
+
"com.payfit.unity.only": ["maxWidth"]
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"section": {
|
|
33
|
+
"$value": "703px",
|
|
34
|
+
"$description": "Maximum width for section containers",
|
|
35
|
+
"$extensions": {
|
|
36
|
+
"com.payfit.unity.only": ["maxWidth"]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"page": {
|
|
40
|
+
"$value": "1063px",
|
|
41
|
+
"$description": "Maximum width for page containers",
|
|
42
|
+
"$extensions": {
|
|
43
|
+
"com.payfit.unity.only": ["maxWidth"]
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"app": {
|
|
47
|
+
"$value": "1439px",
|
|
48
|
+
"$description": "Maximum width for app containers",
|
|
49
|
+
"$extensions": {
|
|
50
|
+
"com.payfit.unity.only": ["maxWidth"]
|
|
51
|
+
}
|
|
24
52
|
}
|
|
25
53
|
}
|
|
26
54
|
}
|