@szum-tech/design-system 1.18.3 → 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/LICENSE +1 -1
- package/README.md +116 -62
- package/dist/chunk-EKHM64CK.js +7290 -0
- package/dist/chunk-G4TX2R77.cjs +7613 -0
- package/dist/chunk-H2BWO3SI.cjs +11 -0
- package/dist/chunk-ZD2QRAOX.js +9 -0
- package/dist/icons.cjs +1294 -0
- package/dist/icons.js +1 -0
- package/dist/index.cjs +906 -0
- package/dist/index.d.cts +285 -0
- package/dist/index.d.ts +136 -189
- package/dist/index.js +827 -99
- package/dist/utils.cjs +10 -0
- package/dist/utils.d.cts +5 -0
- package/dist/utils.d.ts +5 -0
- package/dist/utils.js +1 -0
- package/package.json +93 -70
- package/tailwind/animation.css +53 -0
- package/tailwind/global.css +23 -0
- package/tailwind/palette.css +196 -0
- package/tailwind/scroll.css +25 -0
- package/tailwind/typography.css +74 -0
- package/dist/index.d.mts +0 -338
- package/dist/index.mjs +0 -19
- package/icons/index.js +0 -17
- package/icons/index.mjs +0 -6
- package/theme/global.css +0 -141
- package/theme/main-preset.js +0 -231
- /package/{icons/index.d.mts → dist/icons.d.cts} +0 -0
- /package/{icons/index.d.ts → dist/icons.d.ts} +0 -0
package/dist/utils.cjs
ADDED
package/dist/utils.d.cts
ADDED
package/dist/utils.d.ts
ADDED
package/dist/utils.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { cn } from './chunk-ZD2QRAOX.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@szum-tech/design-system",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Szum-Tech design system with tailwindcss support",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"szum-tech",
|
|
@@ -26,100 +26,123 @@
|
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"author": "Jan Szewczyk (Szum-Tech)",
|
|
28
28
|
"sideEffects": false,
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
|
|
29
|
+
"type": "module",
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"import": {
|
|
33
|
+
"types": "./dist/index.d.ts",
|
|
34
|
+
"import": "./dist/index.js"
|
|
35
|
+
},
|
|
36
|
+
"require": {
|
|
37
|
+
"types": "./dist/index.d.cts",
|
|
38
|
+
"require": "./dist/index.cjs"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"./icons": {
|
|
42
|
+
"import": {
|
|
43
|
+
"types": "./dist/icons.d.ts",
|
|
44
|
+
"import": "./dist/icons.js"
|
|
45
|
+
},
|
|
46
|
+
"require": {
|
|
47
|
+
"types": "./dist/icons.d.cts",
|
|
48
|
+
"require": "./dist/icons.cjs"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"./utils": {
|
|
52
|
+
"import": {
|
|
53
|
+
"types": "./dist/utils.d.ts",
|
|
54
|
+
"import": "./dist/utils.js"
|
|
55
|
+
},
|
|
56
|
+
"require": {
|
|
57
|
+
"types": "./dist/utils.d.cts",
|
|
58
|
+
"require": "./dist/utils.cjs"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"./package.json": "./package.json"
|
|
62
|
+
},
|
|
63
|
+
"main": "./dist/index.cjs",
|
|
64
|
+
"module": "./dist/index.js",
|
|
65
|
+
"types": "./dist/index.d.ts",
|
|
32
66
|
"files": [
|
|
33
67
|
"dist/**",
|
|
34
|
-
"
|
|
35
|
-
"theme/**"
|
|
68
|
+
"tailwind/**"
|
|
36
69
|
],
|
|
37
70
|
"scripts": {
|
|
38
|
-
"build": "
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
71
|
+
"build": "tsup && cpy 'src/tailwind/*.css' './tailwind' --flat",
|
|
72
|
+
"lint": "eslint .",
|
|
73
|
+
"lint:ci": "eslint . -o eslint-results.sarif -f @microsoft/eslint-formatter-sarif",
|
|
74
|
+
"lint:fix": "eslint . --fix",
|
|
75
|
+
"lint:inspect": "npx @eslint/config-inspector@latest",
|
|
42
76
|
"prettier:check": "prettier --check .",
|
|
43
77
|
"prettier:write": "prettier --write .",
|
|
44
|
-
"semantic-release": "semantic-release",
|
|
45
78
|
"storybook:build": "storybook build --docs",
|
|
46
79
|
"storybook:dev": "storybook dev -p 6006",
|
|
47
80
|
"storybook:serve": "serve storybook-static",
|
|
48
81
|
"test": "vitest",
|
|
82
|
+
"test:ci": "CI=true vitest",
|
|
49
83
|
"test:coverage": "vitest --coverage",
|
|
50
84
|
"test:ui": "vitest --ui",
|
|
51
85
|
"test:watch": "vitest --watch",
|
|
52
86
|
"type-check": "tsc --noEmit"
|
|
53
87
|
},
|
|
54
88
|
"dependencies": {
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"@radix-ui/react-label": "^2.0.2",
|
|
60
|
-
"@radix-ui/react-select": "^2.0.0",
|
|
61
|
-
"@radix-ui/react-separator": "^1.0.3",
|
|
62
|
-
"@radix-ui/react-slot": "^1.0.2",
|
|
63
|
-
"@radix-ui/react-tooltip": "^1.0.7",
|
|
64
|
-
"@tailwindcss/container-queries": "^0.1.0",
|
|
65
|
-
"class-variance-authority": "^0.7.0",
|
|
66
|
-
"tailwind-merge": "^2.3.0",
|
|
67
|
-
"tailwind-scrollbar": "^3.1.0",
|
|
89
|
+
"class-variance-authority": "^0.7.1",
|
|
90
|
+
"clsx": "^2.1.1",
|
|
91
|
+
"radix-ui": "^1.1.3",
|
|
92
|
+
"tailwind-merge": "^3.0.1",
|
|
68
93
|
"tailwindcss-animate": "^1.0.7"
|
|
69
94
|
},
|
|
70
95
|
"devDependencies": {
|
|
71
|
-
"@
|
|
72
|
-
"@
|
|
73
|
-
"@storybook/addon-a11y": "^8.
|
|
74
|
-
"@storybook/addon-
|
|
75
|
-
"@storybook/addon-
|
|
76
|
-
"@storybook/
|
|
77
|
-
"@storybook/react
|
|
78
|
-
"@storybook/
|
|
79
|
-
"@
|
|
80
|
-
"@szum-tech/
|
|
81
|
-
"@
|
|
82
|
-
"@
|
|
83
|
-
"@
|
|
84
|
-
"@testing-library/
|
|
85
|
-
"@
|
|
86
|
-
"@
|
|
87
|
-
"@
|
|
88
|
-
"@
|
|
89
|
-
"@
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"concurrently": "^8.2.2",
|
|
96
|
+
"@hookform/resolvers": "^3.10.0",
|
|
97
|
+
"@radix-ui/react-icons": "^1.3.2",
|
|
98
|
+
"@storybook/addon-a11y": "^8.5.3",
|
|
99
|
+
"@storybook/addon-docs": "^8.5.3",
|
|
100
|
+
"@storybook/addon-essentials": "^8.5.3",
|
|
101
|
+
"@storybook/addon-interactions": "^8.5.3",
|
|
102
|
+
"@storybook/react": "^8.5.3",
|
|
103
|
+
"@storybook/react-vite": "^8.5.3",
|
|
104
|
+
"@storybook/theming": "^8.5.3",
|
|
105
|
+
"@szum-tech/eslint-config": "^2.1.5",
|
|
106
|
+
"@szum-tech/prettier-config": "^1.5.0",
|
|
107
|
+
"@szum-tech/semantic-release-config": "^2.2.2",
|
|
108
|
+
"@tailwindcss/postcss": "^4.0.5",
|
|
109
|
+
"@testing-library/dom": "^10.4.0",
|
|
110
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
111
|
+
"@testing-library/react": "^16.2.0",
|
|
112
|
+
"@testing-library/user-event": "^14.6.1",
|
|
113
|
+
"@types/react": "^19.0.8",
|
|
114
|
+
"@types/react-dom": "^19.0.3",
|
|
115
|
+
"@vitest/coverage-v8": "^3.0.5",
|
|
116
|
+
"@vitest/ui": "^3.0.4",
|
|
93
117
|
"cpy-cli": "^5.0.0",
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"prettier
|
|
98
|
-
"react": "^
|
|
99
|
-
"react-docgen": "^7.0.3",
|
|
118
|
+
"eslint": "^9.20.0",
|
|
119
|
+
"happy-dom": "^17.0.2",
|
|
120
|
+
"postcss": "^8.5.1",
|
|
121
|
+
"prettier": "^3.5.0",
|
|
122
|
+
"react": "^19.0.0",
|
|
100
123
|
"react-docgen-typescript": "^2.2.2",
|
|
101
|
-
"react-dom": "^
|
|
102
|
-
"react-hook-form": "^7.
|
|
103
|
-
"semantic-release": "^
|
|
104
|
-
"serve": "^14.2.
|
|
105
|
-
"storybook": "^8.
|
|
106
|
-
"storybook-dark-mode": "^4.0.
|
|
107
|
-
"tailwindcss": "^
|
|
108
|
-
"tsup": "^8.
|
|
109
|
-
"typescript": "^5.
|
|
110
|
-
"vite": "^
|
|
111
|
-
"vite-tsconfig-paths": "^
|
|
112
|
-
"vitest": "^
|
|
113
|
-
"zod": "^3.
|
|
124
|
+
"react-dom": "^19.0.0",
|
|
125
|
+
"react-hook-form": "^7.54.2",
|
|
126
|
+
"semantic-release": "^24.2.2",
|
|
127
|
+
"serve": "^14.2.4",
|
|
128
|
+
"storybook": "^8.5.3",
|
|
129
|
+
"storybook-dark-mode": "^4.0.2",
|
|
130
|
+
"tailwindcss": "^4.0.5",
|
|
131
|
+
"tsup": "^8.3.6",
|
|
132
|
+
"typescript": "^5.7.3",
|
|
133
|
+
"vite": "^6.1.0",
|
|
134
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
135
|
+
"vitest": "^3.0.5",
|
|
136
|
+
"zod": "^3.24.1"
|
|
114
137
|
},
|
|
115
138
|
"peerDependencies": {
|
|
116
|
-
"react": "^
|
|
117
|
-
"react-dom": "^
|
|
118
|
-
"react-hook-form": "^7.
|
|
119
|
-
"tailwindcss": "^
|
|
139
|
+
"react": "^19.0.0",
|
|
140
|
+
"react-dom": "^19.0.0",
|
|
141
|
+
"react-hook-form": "^7.54.2",
|
|
142
|
+
"tailwindcss": "^4.0.5"
|
|
120
143
|
},
|
|
121
144
|
"engines": {
|
|
122
|
-
"node": ">=
|
|
145
|
+
"node": ">=22"
|
|
123
146
|
},
|
|
124
147
|
"publishConfig": {
|
|
125
148
|
"access": "public"
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
|
|
3
|
+
@theme {
|
|
4
|
+
/* Components */
|
|
5
|
+
/* Tooltip */
|
|
6
|
+
--animate-slideDownAndFade: slideDownAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
7
|
+
@keyframes slideDownAndFade {
|
|
8
|
+
from {
|
|
9
|
+
opacity: 0;
|
|
10
|
+
transform: translateY(-2px);
|
|
11
|
+
}
|
|
12
|
+
to {
|
|
13
|
+
opacity: 1;
|
|
14
|
+
transform: translateY(0);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
--animate-slideLeftAndFade: slideLeftAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
19
|
+
@keyframes slideLeftAndFade {
|
|
20
|
+
from {
|
|
21
|
+
opacity: 0;
|
|
22
|
+
transform: translateX(2px);
|
|
23
|
+
}
|
|
24
|
+
to {
|
|
25
|
+
opacity: 1;
|
|
26
|
+
transform: translateX(0);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
--animate-slideUpAndFade: slideUpAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
31
|
+
@keyframes slideUpAndFade {
|
|
32
|
+
from {
|
|
33
|
+
opacity: 0;
|
|
34
|
+
transform: translateY(2px);
|
|
35
|
+
}
|
|
36
|
+
to {
|
|
37
|
+
opacity: 1;
|
|
38
|
+
transform: translateY(0);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
--animate-slideRightAndFade: slideRightAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
43
|
+
@keyframes slideRightAndFade {
|
|
44
|
+
from {
|
|
45
|
+
opacity: 0;
|
|
46
|
+
transform: translateX(-2px);
|
|
47
|
+
}
|
|
48
|
+
to {
|
|
49
|
+
opacity: 1;
|
|
50
|
+
transform: translateX(0);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
|
|
3
|
+
@import "typography.css";
|
|
4
|
+
@import "palette.css";
|
|
5
|
+
@import "animation.css";
|
|
6
|
+
@import "scroll.css";
|
|
7
|
+
|
|
8
|
+
@plugin "tailwindcss-animate";
|
|
9
|
+
|
|
10
|
+
@layer base {
|
|
11
|
+
body {
|
|
12
|
+
@apply bg-app-background font-poppins text-gray-100 antialiased;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@utility container {
|
|
17
|
+
margin-inline: auto;
|
|
18
|
+
padding-inline: 0.5rem;
|
|
19
|
+
|
|
20
|
+
@media (width >= 40rem) {
|
|
21
|
+
padding-inline: 1rem;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--primary-50: oklch(95.73% 0.02198498114506639 243.79915086817226); /* #E5F3FF */
|
|
5
|
+
--primary-100: oklch(91.38% 0.0439 247.26); /* #CCE6FF */
|
|
6
|
+
--primary-200: oklch(83.22% 0.0884 246.95); /* #99CEFF */
|
|
7
|
+
--primary-300: oklch(75.33% 0.1328 248.56); /* #66B5FF */
|
|
8
|
+
--primary-400: oklch(68.2% 0.1734 251.11); /* #339CFF */
|
|
9
|
+
--primary-500: oklch(62.57% 0.2051 254.88); /* #0085FF */
|
|
10
|
+
--primary-600: oklch(52.86% 0.1735 254.92); /* #0069CC */
|
|
11
|
+
--primary-700: oklch(43.14% 0.1379 254.14); /* #004F99 */
|
|
12
|
+
--primary-800: oklch(32.84% 0.0998 252.57); /* #003566 */
|
|
13
|
+
--primary-900: oklch(21.38% 0.0594 249.31); /* #001A33 */
|
|
14
|
+
--primary-950: oklch(15.2% 0.0354 241.02); /* #000D19 */
|
|
15
|
+
|
|
16
|
+
--success-50: oklch(97.18% 0.04338729015824696 154.61363915595354); /* E0FFE9 */
|
|
17
|
+
--success-100: oklch(94.33% 0.0924 152.85); /* BDFFCF */
|
|
18
|
+
--success-200: oklch(90.47% 0.1695 150.94); /* 80FFA4 */
|
|
19
|
+
--success-300: oklch(87.87% 0.2365 147.88); /* 3DFF74 */
|
|
20
|
+
--success-400: oklch(85.61% 0.26946325605075166 144.9675704087331); /* 00FA47 */
|
|
21
|
+
--success-500: oklch(68.58% 0.2149 145.12); /* #00BA34 */
|
|
22
|
+
--success-600: oklch(57.96% 0.1799 145.44); /* 00942A */
|
|
23
|
+
--success-700: oklch(47.43% 0.1454 145.88); /* 007020 */
|
|
24
|
+
--success-800: oklch(36.59% 0.1098 146.63); /* 004D16 */
|
|
25
|
+
--success-900: oklch(22.73% 0.06371361837285802 149.2787164641814); /* 00240A */
|
|
26
|
+
--success-950: oklch(16.77% 0.0429 153.2); /* 001406 */
|
|
27
|
+
|
|
28
|
+
--warning-50: oklch(96.98% 0.022598457691297022 71.79153141618141); /* FFF3E5 */
|
|
29
|
+
--warning-100: oklch(94.05% 0.0442 70.53); /* FFE7CC */
|
|
30
|
+
--warning-200: oklch(88.39% 0.088 69.59); /* FFCF99 */
|
|
31
|
+
--warning-300: oklch(82.71% 0.13206468616568753 67.62395222599771); /* FFB561 */
|
|
32
|
+
--warning-400: oklch(78.02% 0.1633 63.2); /* FF9D2E */
|
|
33
|
+
--warning-500: oklch(73.3% 0.1772 57.08); /* #F98600 */
|
|
34
|
+
--warning-600: oklch(61.95% 0.1496 57.16); /* C76A00 */
|
|
35
|
+
--warning-700: oklch(50.07% 0.1192 58.48); /* 944F00 */
|
|
36
|
+
--warning-800: oklch(38.6% 0.0904 60.02); /* 663600 */
|
|
37
|
+
--warning-900: oklch(24.93% 0.0555 65.91); /* 331B00 */
|
|
38
|
+
--warning-950: oklch(17.46% 0.0363 78.04); /* 190E00 */
|
|
39
|
+
|
|
40
|
+
--error-50: oklch(94.78% 0.023 17.56); /* FDE8E8 */
|
|
41
|
+
--error-100: oklch(90.5% 0.0426 17.97); /* FBD5D5 */
|
|
42
|
+
--error-200: oklch(81.49% 0.0874 19.13); /* F6ACAC */
|
|
43
|
+
--error-300: oklch(73.07% 0.1375 20.98); /* F28282 */
|
|
44
|
+
--error-400: oklch(65.25% 0.189 23.98); /* ED5454 */
|
|
45
|
+
--error-500: oklch(60.48% 0.2225 27.1); /* #E92C2C */
|
|
46
|
+
--error-600: oklch(52.8% 0.2067 28.23); /* C71515 */
|
|
47
|
+
--error-700: oklch(43.4% 0.1679 28); /* 981010 */
|
|
48
|
+
--error-800: oklch(32.86% 0.1233 27.44); /* 660B0B */
|
|
49
|
+
--error-900: oklch(21.08% 0.0738 26.29); /* 330505 */
|
|
50
|
+
--error-950: oklch(13.73% 0.0443 25.17); /* 170202 */
|
|
51
|
+
|
|
52
|
+
--gray-100: oklch(22.64% 0 0); /* #1C1C1C */
|
|
53
|
+
--gray-200: oklch(45.77% 0.0013 17.21); /* #585757 */
|
|
54
|
+
--gray-300: oklch(67.31% 0 0); /* #969696 */
|
|
55
|
+
--gray-350: oklch(81.09% 0 0); /* #C1C1C1 */
|
|
56
|
+
--gray-400: oklch(94.01% 0 0); /* #EBEBEB */
|
|
57
|
+
|
|
58
|
+
--foreground: oklch(100% 0 0); /* #ffffff */
|
|
59
|
+
--background: oklch(97.61% 0 0); /* #f7f7f7 */
|
|
60
|
+
|
|
61
|
+
--background-color-primary: oklch(62.57% 0.2051 254.88 / 10%);
|
|
62
|
+
--background-color-success: oklch(68.58% 0.2149 145.12 / 10%);
|
|
63
|
+
--background-color-warning: oklch(73.3% 0.1772 57.08 / 10%);
|
|
64
|
+
--background-color-error: oklch(60.48% 0.2225 27.1 / 10%);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.dark {
|
|
68
|
+
--primary-50: oklch(95.73% 0.02198498114506639 243.79915086817226); /* E5F3FF */
|
|
69
|
+
--primary-100: oklch(92.32% 0.0394 245.9); /* D1E9FF */
|
|
70
|
+
--primary-200: oklch(84.85% 0.0796 246.55); /* A3D3FF */
|
|
71
|
+
--primary-300: oklch(77.52% 0.1202 248.28); /* 75BCFF */
|
|
72
|
+
--primary-400: oklch(70.34% 0.1614 249.91); /* 42A4FF */
|
|
73
|
+
--primary-500: oklch(64.88% 0.19228955336976544 252.9711428714203); /* #168FFF */
|
|
74
|
+
--primary-600: oklch(55.7% 0.18325191914583647 254.97167914788002); /* 0071DB */
|
|
75
|
+
--primary-700: oklch(46.13% 0.1481 254.28); /* 0057A8 */
|
|
76
|
+
--primary-800: oklch(34.89% 0.10776395496917965 253.05088491869964); /* 003A70 */
|
|
77
|
+
--primary-900: oklch(22.66% 0.0631 249.41); /* 001D38 */
|
|
78
|
+
--primary-950: oklch(15.2% 0.0354 241.02); /* 000D19 */
|
|
79
|
+
|
|
80
|
+
--success-50: oklch(96.87% 0.0346 153.26); /* E4FCEA */
|
|
81
|
+
--success-100: oklch(94.27% 0.0624 153.52); /* CDF9D9 */
|
|
82
|
+
--success-200: oklch(89.38% 0.124 152.45); /* 9AF4B4 */
|
|
83
|
+
--success-300: oklch(85.13% 0.1781 150.26); /* 68EE8E */
|
|
84
|
+
--success-400: oklch(81.67% 0.2245 147.6); /* 31E865 */
|
|
85
|
+
--success-500: oklch(73.48% 0.2174 146.32); /* #17CB49 */
|
|
86
|
+
--success-600: oklch(61.63% 0.1801 146.58); /* 12A03A */
|
|
87
|
+
--success-700: oklch(51.25% 0.1477 146.84); /* 0E7C2D */
|
|
88
|
+
--success-800: oklch(38.43% 0.107 147.47); /* 09521E */
|
|
89
|
+
--success-900: oklch(24.8% 0.0627 148.91); /* 05290F */
|
|
90
|
+
--success-950: oklch(16.24% 0.0347 154.22); /* 021207 */
|
|
91
|
+
|
|
92
|
+
--warning-50: oklch(97.72% 0.017474396671282696 73.0799708110899); /* FFF6EB */
|
|
93
|
+
--warning-100: oklch(95.44% 0.0361 74.07); /* FFEDD6 */
|
|
94
|
+
--warning-200: oklch(90.87% 0.0715 72.19); /* FFDAAD */
|
|
95
|
+
--warning-300: oklch(86.27% 0.1089 71.27); /* FFC680 */
|
|
96
|
+
--warning-400: oklch(82.23% 0.1388 68.81); /* FFB357 */
|
|
97
|
+
--warning-500: oklch(78.35% 0.163 64.42); /* #FF9F2D */
|
|
98
|
+
--warning-600: oklch(71.78% 0.17078985053614934 58.571544805805225); /* F08400 */
|
|
99
|
+
--warning-700: oklch(57.81% 0.1365 59.27); /* B36200 */
|
|
100
|
+
--warning-800: oklch(44.08% 0.10216800578227302 61.2245085553738); /* 7A4300 */
|
|
101
|
+
--warning-900: oklch(28.11% 0.062 67.17); /* 3D2200 */
|
|
102
|
+
--warning-950: oklch(19.24% 0.0407 73.97); /* 1F1100 */
|
|
103
|
+
|
|
104
|
+
--error-50: oklch(95.52% 0.0207 17.52); /* FEEBEB */
|
|
105
|
+
--error-100: oklch(91.33% 0.0414 17.93); /* FDD8D8 */
|
|
106
|
+
--error-200: oklch(83.13% 0.0881 19.1); /* FCB1B1 */
|
|
107
|
+
--error-300: oklch(76.23% 0.1311 20.58); /* FA8E8E */
|
|
108
|
+
--error-400: oklch(69.7% 0.1796 22.93); /* F96767 */
|
|
109
|
+
--error-500: oklch(64.72% 0.2183 25.77); /* #F74141 */
|
|
110
|
+
--error-600: oklch(60.2% 0.2439 28.95); /* F00A0A */
|
|
111
|
+
--error-700: oklch(48.81% 0.1965 28.81); /* B50808 */
|
|
112
|
+
--error-800: oklch(35.63% 0.1418 28.57); /* 750505 */
|
|
113
|
+
--error-900: oklch(22.44% 0.0876 28.18); /* 3B0202 */
|
|
114
|
+
--error-950: oklch(14.85% 0.0558 27.47); /* 1D0101 */
|
|
115
|
+
|
|
116
|
+
--gray-100: oklch(93.7% 0 0); /* #eaeaea */
|
|
117
|
+
--gray-200: oklch(80.78% 0 0); /* #c0c0c0 */
|
|
118
|
+
--gray-300: oklch(58.29% 0 0); /* #7b7b7b */
|
|
119
|
+
--gray-350: oklch(44.95% 0 0); /* #555555 */
|
|
120
|
+
--gray-400: oklch(30.12% 0 0); /* #2e2e2e */
|
|
121
|
+
|
|
122
|
+
--foreground: oklch(17.76% 0 0); /* #111111 */
|
|
123
|
+
--background: oklch(22.64% 0 0); /* #1C1C1C */
|
|
124
|
+
|
|
125
|
+
--background-color-primary: oklch(64.88% 0.19228955336976544 252.9711428714203 / 10%);
|
|
126
|
+
--background-color-success: oklch(73.48% 0.2174 146.32 / 10%);
|
|
127
|
+
--background-color-warning: oklch(78.35% 0.163 64.42 / 10%);
|
|
128
|
+
--background-color-error: oklch(64.72% 0.2183 25.77 / 10%);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@theme inline {
|
|
132
|
+
--color-white: oklch(100% 0 0); /* #ffffff */
|
|
133
|
+
--color-black: oklch(22.64% 0 0); /* #1c1c1c */
|
|
134
|
+
|
|
135
|
+
--color-gray-100: var(--gray-100);
|
|
136
|
+
--color-gray-200: var(--gray-200);
|
|
137
|
+
--color-gray-300: var(--gray-300);
|
|
138
|
+
--color-gray-350: var(--gray-350);
|
|
139
|
+
--color-gray-400: var(--gray-400);
|
|
140
|
+
|
|
141
|
+
--color-primary-50: var(--primary-50);
|
|
142
|
+
--color-primary-100: var(--primary-100);
|
|
143
|
+
--color-primary-200: var(--primary-200);
|
|
144
|
+
--color-primary-300: var(--primary-300);
|
|
145
|
+
--color-primary-400: var(--primary-400);
|
|
146
|
+
--color-primary-500: var(--primary-500);
|
|
147
|
+
--color-primary-600: var(--primary-600);
|
|
148
|
+
--color-primary-700: var(--primary-700);
|
|
149
|
+
--color-primary-800: var(--primary-800);
|
|
150
|
+
--color-primary-900: var(--primary-900);
|
|
151
|
+
--color-primary-950: var(--primary-950);
|
|
152
|
+
|
|
153
|
+
--color-success-50: var(--success-50);
|
|
154
|
+
--color-success-100: var(--success-100);
|
|
155
|
+
--color-success-200: var(--success-200);
|
|
156
|
+
--color-success-300: var(--success-300);
|
|
157
|
+
--color-success-400: var(--success-400);
|
|
158
|
+
--color-success-500: var(--success-500);
|
|
159
|
+
--color-success-600: var(--success-600);
|
|
160
|
+
--color-success-700: var(--success-700);
|
|
161
|
+
--color-success-800: var(--success-800);
|
|
162
|
+
--color-success-900: var(--success-900);
|
|
163
|
+
--color-success-950: var(--success-950);
|
|
164
|
+
|
|
165
|
+
--color-warning-50: var(--warning-50);
|
|
166
|
+
--color-warning-100: var(--warning-100);
|
|
167
|
+
--color-warning-200: var(--warning-200);
|
|
168
|
+
--color-warning-300: var(--warning-300);
|
|
169
|
+
--color-warning-400: var(--warning-400);
|
|
170
|
+
--color-warning-500: var(--warning-500);
|
|
171
|
+
--color-warning-600: var(--warning-600);
|
|
172
|
+
--color-warning-700: var(--warning-700);
|
|
173
|
+
--color-warning-800: var(--warning-800);
|
|
174
|
+
--color-warning-900: var(--warning-900);
|
|
175
|
+
--color-warning-950: var(--warning-950);
|
|
176
|
+
|
|
177
|
+
--color-error-50: var(--error-50);
|
|
178
|
+
--color-error-100: var(--error-100);
|
|
179
|
+
--color-error-200: var(--error-200);
|
|
180
|
+
--color-error-300: var(--error-300);
|
|
181
|
+
--color-error-400: var(--error-400);
|
|
182
|
+
--color-error-500: var(--error-500);
|
|
183
|
+
--color-error-600: var(--error-600);
|
|
184
|
+
--color-error-700: var(--error-700);
|
|
185
|
+
--color-error-800: var(--error-800);
|
|
186
|
+
--color-error-900: var(--error-900);
|
|
187
|
+
--color-error-950: var(--error-950);
|
|
188
|
+
|
|
189
|
+
--color-app-background: var(--background);
|
|
190
|
+
--color-app-foreground: var(--foreground);
|
|
191
|
+
|
|
192
|
+
--color-background-primary: var(--background-color-primary);
|
|
193
|
+
--color-background-success: var(--background-color-success);
|
|
194
|
+
--color-background-warning: var(--background-color-warning);
|
|
195
|
+
--color-background-error: var(--background-color-error);
|
|
196
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
|
|
3
|
+
@layer base {
|
|
4
|
+
* {
|
|
5
|
+
/* width */
|
|
6
|
+
::-webkit-scrollbar {
|
|
7
|
+
width: 8px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* Track */
|
|
11
|
+
::-webkit-scrollbar-track {
|
|
12
|
+
background: var(--color-app-background);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* Handle */
|
|
16
|
+
::-webkit-scrollbar-thumb {
|
|
17
|
+
background: var(--color-gray-400);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* Handle on hover */
|
|
21
|
+
::-webkit-scrollbar-thumb:hover {
|
|
22
|
+
background: var(--color-gray-350);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
|
|
3
|
+
@theme {
|
|
4
|
+
--font-poppins: "Poppins", sans-serif;
|
|
5
|
+
--font-code: "JetBrains Mono", monospace;
|
|
6
|
+
|
|
7
|
+
/* HEADING */
|
|
8
|
+
--text-heading-1: 6rem;
|
|
9
|
+
--text-heading-1--line-height: 1.5;
|
|
10
|
+
--text-heading-1--letter-spacing: -0.01562em;
|
|
11
|
+
--text-heading-1--font-weight: 300;
|
|
12
|
+
|
|
13
|
+
--text-heading-2: 3.75rem;
|
|
14
|
+
--text-heading-2--line-height: 1.2;
|
|
15
|
+
--text-heading-2--letter-spacing: -0.00833em;
|
|
16
|
+
--text-heading-2--font-weight: 300;
|
|
17
|
+
|
|
18
|
+
--text-heading-3: 3rem;
|
|
19
|
+
--text-heading-3--line-height: 1.167;
|
|
20
|
+
--text-heading-3--letter-spacing: 0em;
|
|
21
|
+
--text-heading-3--font-weight: 400;
|
|
22
|
+
|
|
23
|
+
--text-heading-4: 2.125rem;
|
|
24
|
+
--text-heading-4--line-height: 1.235;
|
|
25
|
+
--text-heading-4--letter-spacing: 0.00735em;
|
|
26
|
+
--text-heading-4--font-weight: 400;
|
|
27
|
+
|
|
28
|
+
--text-heading-5: 1.5rem;
|
|
29
|
+
--text-heading-5--line-height: 1.334;
|
|
30
|
+
--text-heading-5--letter-spacing: 0.00735em;
|
|
31
|
+
--text-heading-5--font-weight: 400;
|
|
32
|
+
|
|
33
|
+
--text-heading-6: 1.25rem;
|
|
34
|
+
--text-heading-6--line-height: 1.6;
|
|
35
|
+
--text-heading-6--letter-spacing: 0.0075em;
|
|
36
|
+
--text-heading-6--font-weight: 500;
|
|
37
|
+
|
|
38
|
+
--text-subtitle-1: 1rem;
|
|
39
|
+
--text-subtitle-1--line-height: 1.75;
|
|
40
|
+
--text-subtitle-1--letter-spacing: 0.00938em;
|
|
41
|
+
--text-subtitle-1--font-weight: 400;
|
|
42
|
+
|
|
43
|
+
--text-subtitle-2: 0.875rem;
|
|
44
|
+
--text-subtitle-2--line-height: 1.57;
|
|
45
|
+
--text-subtitle-2--letter-spacing: 0.00714em;
|
|
46
|
+
--text-subtitle-2--font-weight: 500;
|
|
47
|
+
|
|
48
|
+
/* BODY */
|
|
49
|
+
--text-body-1: 1rem;
|
|
50
|
+
--text-body-1--line-height: 1.5;
|
|
51
|
+
--text-body-1--letter-spacing: 0.00938em;
|
|
52
|
+
--text-body-1--font-weight: 400;
|
|
53
|
+
|
|
54
|
+
--text-body-2: 0.875rem;
|
|
55
|
+
--text-body-2--line-height: 1.43;
|
|
56
|
+
--text-body-2--letter-spacing: 0.01071em;
|
|
57
|
+
--text-body-2--font-weight: 400;
|
|
58
|
+
|
|
59
|
+
/* Other */
|
|
60
|
+
--text-button: 0.875rem;
|
|
61
|
+
--text-button--line-height: 1.25rem;
|
|
62
|
+
--text-button--letter-spacing: 0.02857em;
|
|
63
|
+
--text-button--font-weight: 500;
|
|
64
|
+
|
|
65
|
+
--text-caption: 0.75rem;
|
|
66
|
+
--text-caption--line-height: 1.66;
|
|
67
|
+
--text-caption--letter-spacing: 0.03333em;
|
|
68
|
+
--text-caption--font-weight: 400;
|
|
69
|
+
|
|
70
|
+
--text-overline: 0.75rem;
|
|
71
|
+
--text-overline--line-height: 2.66;
|
|
72
|
+
--text-overline--letter-spacing: 0.08333em;
|
|
73
|
+
--text-overline--font-weight: 400;
|
|
74
|
+
}
|