@szum-tech/design-system 1.18.3 → 2.0.1

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/utils.cjs ADDED
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ var chunkH2BWO3SI_cjs = require('./chunk-H2BWO3SI.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "cn", {
8
+ enumerable: true,
9
+ get: function () { return chunkH2BWO3SI_cjs.cn; }
10
+ });
@@ -0,0 +1,5 @@
1
+ import { ClassValue } from 'clsx';
2
+
3
+ declare function cn(...inputs: ClassValue[]): string;
4
+
5
+ export { cn };
@@ -0,0 +1,5 @@
1
+ import { ClassValue } from 'clsx';
2
+
3
+ declare function cn(...inputs: ClassValue[]): string;
4
+
5
+ export { cn };
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": "1.18.3",
3
+ "version": "2.0.1",
4
4
  "description": "Szum-Tech design system with tailwindcss support",
5
5
  "keywords": [
6
6
  "szum-tech",
@@ -26,100 +26,127 @@
26
26
  "license": "MIT",
27
27
  "author": "Jan Szewczyk (Szum-Tech)",
28
28
  "sideEffects": false,
29
- "main": "dist/index.js",
30
- "module": "dist/index.mjs",
31
- "types": "dist/index.d.ts",
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
+ "./tailwind/*.css": {
62
+ "import": "./tailwind/*.css",
63
+ "require": "./tailwind/*.css"
64
+ },
65
+ "./package.json": "./package.json"
66
+ },
67
+ "main": "./dist/index.cjs",
68
+ "module": "./dist/index.js",
69
+ "types": "./dist/index.d.ts",
32
70
  "files": [
33
71
  "dist/**",
34
- "icons/**",
35
- "theme/**"
72
+ "tailwind/**"
36
73
  ],
37
74
  "scripts": {
38
- "build": "env NODE_ENV=production tsup && cpy './src/theme/global.css' './theme' --flat",
39
- "clean": "rm -rf node_modules && yarn clear:build && yarn clean:build:dev",
40
- "clean:build": "rm -rf components && rm -rf contexts && rm -rf hooks && rm -rf icons && rm -rf theme && rm -rf index.* && rm -rf chunk-*.js && rm -rf chunk-*.mjs && rm -rf *.d.ts",
41
- "clean:build:dev": "rm -rf dist",
75
+ "build": "tsup && cpy 'src/tailwind/*.css' './tailwind' --flat",
76
+ "lint": "eslint .",
77
+ "lint:ci": "eslint . -o eslint-results.sarif -f @microsoft/eslint-formatter-sarif",
78
+ "lint:fix": "eslint . --fix",
79
+ "lint:inspect": "npx @eslint/config-inspector@latest",
42
80
  "prettier:check": "prettier --check .",
43
81
  "prettier:write": "prettier --write .",
44
- "semantic-release": "semantic-release",
45
82
  "storybook:build": "storybook build --docs",
46
83
  "storybook:dev": "storybook dev -p 6006",
47
84
  "storybook:serve": "serve storybook-static",
48
85
  "test": "vitest",
86
+ "test:ci": "CI=true vitest",
49
87
  "test:coverage": "vitest --coverage",
50
88
  "test:ui": "vitest --ui",
51
89
  "test:watch": "vitest --watch",
52
90
  "type-check": "tsc --noEmit"
53
91
  },
54
92
  "dependencies": {
55
- "@radix-ui/react-alert-dialog": "^1.0.5",
56
- "@radix-ui/react-avatar": "^1.0.4",
57
- "@radix-ui/react-dialog": "^1.0.5",
58
- "@radix-ui/react-icons": "^1.3.0",
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",
93
+ "class-variance-authority": "^0.7.1",
94
+ "clsx": "^2.1.1",
95
+ "radix-ui": "^1.1.3",
96
+ "tailwind-merge": "^3.0.1",
68
97
  "tailwindcss-animate": "^1.0.7"
69
98
  },
70
99
  "devDependencies": {
71
- "@babel/core": "^7.24.5",
72
- "@hookform/resolvers": "^3.3.4",
73
- "@storybook/addon-a11y": "^8.0.10",
74
- "@storybook/addon-essentials": "^8.0.10",
75
- "@storybook/addon-interactions": "^8.0.10",
76
- "@storybook/react": "^8.0.10",
77
- "@storybook/react-vite": "^8.0.10",
78
- "@storybook/theming": "^8.0.10",
79
- "@szum-tech/prettier-config": "^1.3.2",
80
- "@szum-tech/semantic-release-preset": "^1.5.6",
81
- "@testing-library/dom": "^10.1.0",
82
- "@testing-library/jest-dom": "^6.4.5",
83
- "@testing-library/react": "^15.0.7",
84
- "@testing-library/user-event": "^14.5.1",
85
- "@types/react": "^18.3.2",
86
- "@types/react-dom": "^18.3.0",
87
- "@types/semantic-release": "^20.0.6",
88
- "@vitest/coverage-v8": "^1.6.0",
89
- "@vitest/ui": "^1.1.0",
90
- "autoprefixer": "^10.4.19",
91
- "babel-loader": "^9.1.3",
92
- "concurrently": "^8.2.2",
100
+ "@hookform/resolvers": "^3.10.0",
101
+ "@radix-ui/react-icons": "^1.3.2",
102
+ "@storybook/addon-a11y": "^8.5.3",
103
+ "@storybook/addon-docs": "^8.5.3",
104
+ "@storybook/addon-essentials": "^8.5.3",
105
+ "@storybook/addon-interactions": "^8.5.3",
106
+ "@storybook/react": "^8.5.3",
107
+ "@storybook/react-vite": "^8.5.3",
108
+ "@storybook/theming": "^8.5.3",
109
+ "@szum-tech/eslint-config": "^2.1.5",
110
+ "@szum-tech/prettier-config": "^1.5.0",
111
+ "@szum-tech/semantic-release-config": "^2.2.2",
112
+ "@tailwindcss/postcss": "^4.0.5",
113
+ "@testing-library/dom": "^10.4.0",
114
+ "@testing-library/jest-dom": "^6.6.3",
115
+ "@testing-library/react": "^16.2.0",
116
+ "@testing-library/user-event": "^14.6.1",
117
+ "@types/react": "^19.0.8",
118
+ "@types/react-dom": "^19.0.3",
119
+ "@vitest/coverage-v8": "^3.0.5",
120
+ "@vitest/ui": "^3.0.4",
93
121
  "cpy-cli": "^5.0.0",
94
- "happy-dom": "^14.10.1",
95
- "postcss": "^8.4.32",
96
- "prettier": "^3.2.5",
97
- "prettier-plugin-tailwindcss": "^0.5.9",
98
- "react": "^18.3.1",
99
- "react-docgen": "^7.0.3",
122
+ "eslint": "^9.20.0",
123
+ "happy-dom": "^17.0.2",
124
+ "postcss": "^8.5.1",
125
+ "prettier": "^3.5.0",
126
+ "react": "^19.0.0",
100
127
  "react-docgen-typescript": "^2.2.2",
101
- "react-dom": "^18.3.1",
102
- "react-hook-form": "^7.51.4",
103
- "semantic-release": "^23.0.8",
104
- "serve": "^14.2.3",
105
- "storybook": "^8.0.10",
106
- "storybook-dark-mode": "^4.0.1",
107
- "tailwindcss": "^3.4.3",
108
- "tsup": "^8.0.2",
109
- "typescript": "^5.4.5",
110
- "vite": "^5.2.11",
111
- "vite-tsconfig-paths": "^4.3.2",
112
- "vitest": "^1.5.0",
113
- "zod": "^3.23.8"
128
+ "react-dom": "^19.0.0",
129
+ "react-hook-form": "^7.54.2",
130
+ "semantic-release": "^24.2.2",
131
+ "serve": "^14.2.4",
132
+ "storybook": "^8.5.3",
133
+ "storybook-dark-mode": "^4.0.2",
134
+ "tailwindcss": "^4.0.5",
135
+ "tsup": "^8.3.6",
136
+ "typescript": "^5.7.3",
137
+ "vite": "^6.1.0",
138
+ "vite-tsconfig-paths": "^5.1.4",
139
+ "vitest": "^3.0.5",
140
+ "zod": "^3.24.1"
114
141
  },
115
142
  "peerDependencies": {
116
- "react": "^18.3.1",
117
- "react-dom": "^18.3.1",
118
- "react-hook-form": "^7.51.4",
119
- "tailwindcss": "^3.4.3"
143
+ "react": "^19.0.0",
144
+ "react-dom": "^19.0.0",
145
+ "react-hook-form": "^7.54.2",
146
+ "tailwindcss": "^4.0.5"
120
147
  },
121
148
  "engines": {
122
- "node": ">=20"
149
+ "node": ">=22"
123
150
  },
124
151
  "publishConfig": {
125
152
  "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
+ }