stp-ui-kit 0.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/README.md +93 -0
- package/dist/App.d.ts +1 -0
- package/dist/banners/Sat.svg +3 -0
- package/dist/banners/SatFinished.svg +3 -0
- package/dist/components/Banner/Banner.d.ts +11 -0
- package/dist/components/Banner/Banner.stories.d.ts +6 -0
- package/dist/components/Banner/utils/utils.d.ts +1 -0
- package/dist/components/Button/Button.d.ts +10 -0
- package/dist/components/Button/Button.stories.d.ts +11 -0
- package/dist/components/Collapse/Collapse.d.ts +12 -0
- package/dist/components/CourseCollapse/CourseCollapse.d.ts +13 -0
- package/dist/components/Empty/Empty.d.ts +26 -0
- package/dist/components/Empty/Empty.stories.d.ts +6 -0
- package/dist/components/Empty/index.d.ts +10 -0
- package/dist/components/FormItem/FormItem.d.ts +26 -0
- package/dist/components/FormItem/FormItemContext.d.ts +6 -0
- package/dist/components/IconButton/IconButton.d.ts +11 -0
- package/dist/components/IconButton/IconButton.stories.d.ts +8 -0
- package/dist/components/Modal/Modal.d.ts +22 -0
- package/dist/components/NavigationItem/NavigationItem.d.ts +12 -0
- package/dist/components/PageHeader/PageHeader.d.ts +2 -0
- package/dist/components/ProgressLine/ProgressLine.d.ts +4 -0
- package/dist/components/SectionHeader/SectionHeader.d.ts +6 -0
- package/dist/components/TopBar/TopBar.d.ts +14 -0
- package/dist/components/Typography/Typography.d.ts +7 -0
- package/dist/components/index.d.ts +15 -0
- package/dist/icons/ArrowLine.svg +3 -0
- package/dist/icons/ParentLine.svg +3 -0
- package/dist/icons/SideLine.svg +3 -0
- package/dist/icons/decorativeIcons/Alert.svg +11 -0
- package/dist/icons/decorativeIcons/Error.svg +11 -0
- package/dist/icons/decorativeIcons/Locked.svg +10 -0
- package/dist/icons/decorativeIcons/Success.svg +10 -0
- package/dist/index.d.ts +2 -0
- package/dist/main.d.ts +0 -0
- package/dist/shared/i18n/config.d.ts +2 -0
- package/dist/shared/i18n/locales/en/index.d.ts +1 -0
- package/dist/shared/i18n/locales/index.d.ts +5 -0
- package/dist/shared/i18n/locales/kz/index.d.ts +1 -0
- package/dist/shared/i18n/locales/ru/index.d.ts +1 -0
- package/dist/shared/i18n/locales/uz/index.d.ts +1 -0
- package/dist/shared/i18n/types.d.ts +2 -0
- package/dist/stp-ui-kit.cjs.js +71 -0
- package/dist/stp-ui-kit.es.js +961 -0
- package/dist/style.css +1 -0
- package/dist/tokens.d.ts +515 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/vite.svg +1 -0
- package/package.json +87 -0
- package/src/styles/_variables.scss +431 -0
package/package.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"main": "dist/stp-ui-kit.cjs.js",
|
|
3
|
+
"module": "dist/stp-ui-kit.es.js",
|
|
4
|
+
"types": "dist/types/index.d.ts",
|
|
5
|
+
"style": "dist/styles/index.css",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist",
|
|
8
|
+
"src/styles/_variables.scss"
|
|
9
|
+
],
|
|
10
|
+
"peerDependencies": {
|
|
11
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
12
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
13
|
+
},
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"name": "stp-ui-kit",
|
|
18
|
+
"version": "0.0.1",
|
|
19
|
+
"type": "module",
|
|
20
|
+
"scripts": {
|
|
21
|
+
"dev": "vite",
|
|
22
|
+
"build": "tsc -b && vite build",
|
|
23
|
+
"lint": "eslint --ext .ts,.tsx ./src",
|
|
24
|
+
"preview": "vite preview",
|
|
25
|
+
"format": "yarn prettier ./src/**/*.{ts,tsx} --write",
|
|
26
|
+
"storybook": "storybook dev -p 6006",
|
|
27
|
+
"build-storybook": "storybook build",
|
|
28
|
+
"interface:locales": "yarn run interface:locales:ru && yarn run interface:locales:kz && yarn run interface:locales:uz && yarn run interface:locales:en",
|
|
29
|
+
"interface:locales:kz": "i18next-resources-for-ts interface -i ./src/shared/i18n/locales/kz -o ./src/shared/@types/resources.d.ts",
|
|
30
|
+
"interface:locales:ru": "i18next-resources-for-ts interface -i ./src/shared/i18n/locales/ru -o ./src/shared/@types/resources.d.ts",
|
|
31
|
+
"interface:locales:uz": "i18next-resources-for-ts interface -i ./src/shared/i18n/locales/uz -o ./src/shared/@types/resources.d.ts",
|
|
32
|
+
"interface:locales:en": "i18next-resources-for-ts interface -i ./src/shared/i18n/locales/en -o ./src/shared/@types/resources.d.ts",
|
|
33
|
+
"generate-tokens": "tsx scripts/generate-tokens.ts"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@tailwindcss/vite": "^4.0.7",
|
|
37
|
+
"classnames": "^2.5.1",
|
|
38
|
+
"i18next": "^24.2.2",
|
|
39
|
+
"immer": "^10.1.1",
|
|
40
|
+
"lucide-react": "^0.511.0",
|
|
41
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
42
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
43
|
+
"react-router-dom": "^7.6.0",
|
|
44
|
+
"tailwindcss": "^4.0.7",
|
|
45
|
+
"vite-plugin-dts": "^4.5.4"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@eslint/js": "^9.3.0",
|
|
49
|
+
"@feature-sliced/eslint-config": "^0.1.1",
|
|
50
|
+
"@storybook/addon-essentials": "^8.6.14",
|
|
51
|
+
"@storybook/addon-interactions": "^8.6.14",
|
|
52
|
+
"@storybook/addon-onboarding": "^8.6.14",
|
|
53
|
+
"@storybook/blocks": "^8.6.14",
|
|
54
|
+
"@storybook/react": "^8.6.14",
|
|
55
|
+
"@storybook/react-vite": "^8.6.14",
|
|
56
|
+
"@storybook/test": "^8.6.14",
|
|
57
|
+
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
58
|
+
"@types/node": "^20.12.12",
|
|
59
|
+
"@types/react": "^18.2.66",
|
|
60
|
+
"@types/react-dom": "^18.2.22",
|
|
61
|
+
"@types/react-i18next": "^8.1.0",
|
|
62
|
+
"@typescript-eslint/eslint-plugin": "^7.10.0",
|
|
63
|
+
"@typescript-eslint/parser": "^7.10.0",
|
|
64
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
65
|
+
"dayjs": "^1.11.11",
|
|
66
|
+
"eslint": "8.x",
|
|
67
|
+
"eslint-config-prettier": "^9.1.0",
|
|
68
|
+
"eslint-import-resolver-typescript": "^3.6.1",
|
|
69
|
+
"eslint-plugin-boundaries": "^4.2.1",
|
|
70
|
+
"eslint-plugin-import": "^2.29.1",
|
|
71
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
72
|
+
"eslint-plugin-react": "^7.34.1",
|
|
73
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
74
|
+
"eslint-plugin-react-refresh": "^0.4.6",
|
|
75
|
+
"eslint-plugin-storybook": "^0.12.0",
|
|
76
|
+
"globals": "^15.3.0",
|
|
77
|
+
"i18next-resources-for-ts": "^1.5.0",
|
|
78
|
+
"prettier": "^3.2.5",
|
|
79
|
+
"react-i18next": "^14.1.2",
|
|
80
|
+
"sass": "^1.89.0",
|
|
81
|
+
"storybook": "^8.6.14",
|
|
82
|
+
"tsx": "^4.19.4",
|
|
83
|
+
"typescript": "^5.2.2",
|
|
84
|
+
"typescript-eslint": "^7.10.0",
|
|
85
|
+
"vite": "^5.2.0"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
// New STP Design System
|
|
2
|
+
|
|
3
|
+
// Breakpoints
|
|
4
|
+
$lg: 1200px;
|
|
5
|
+
$md: 1000px;
|
|
6
|
+
$sm: 700px;
|
|
7
|
+
$mobile: 480px;
|
|
8
|
+
|
|
9
|
+
// Spacing
|
|
10
|
+
$spacing: 4px;
|
|
11
|
+
$space-0: 0 * $spacing;
|
|
12
|
+
$space-025: 0.25 * $spacing;
|
|
13
|
+
$space-050: 0.5 * $spacing;
|
|
14
|
+
$space-100: 1 * $spacing;
|
|
15
|
+
$space-150: 1.5 * $spacing;
|
|
16
|
+
$space-200: 2 * $spacing;
|
|
17
|
+
$space-300: 3 * $spacing;
|
|
18
|
+
$space-350: 3.5 * $spacing;
|
|
19
|
+
$space-400: 4 * $spacing;
|
|
20
|
+
$space-500: 5 * $spacing;
|
|
21
|
+
$space-550: 5.5 * $spacing;
|
|
22
|
+
$space-600: 6 * $spacing;
|
|
23
|
+
$space-750: 7.5 * $spacing;
|
|
24
|
+
$space-800: 8 * $spacing;
|
|
25
|
+
$space-1000: 10 * $spacing;
|
|
26
|
+
$space-1100: 11 * $spacing;
|
|
27
|
+
$space-1200: 12 * $spacing;
|
|
28
|
+
$space-1300: 13 * $spacing;
|
|
29
|
+
$space-1600: 16 * $spacing;
|
|
30
|
+
$space-2000: 20 * $spacing;
|
|
31
|
+
$space-2400: 24 * $spacing;
|
|
32
|
+
$space-3200: 32 * $spacing;
|
|
33
|
+
|
|
34
|
+
// Shadow
|
|
35
|
+
$shadow-0: "0 0 0 0 #00000000";
|
|
36
|
+
$shadow-100: "0 1px 0 0 #1A1A1A12";
|
|
37
|
+
$shadow-200: "0 3px 1px -1px #1A1A1A12";
|
|
38
|
+
$shadow-300: "0 4px 6px -2px #1A1A1A33";
|
|
39
|
+
$shadow-400: "0 8px 16 -4px #1A1A1A38";
|
|
40
|
+
$shadow-500: "0 12px 20px -8px #1A1A1A3D";
|
|
41
|
+
$shadow-600: "0 20px 20px -8px #1A1A1A47";
|
|
42
|
+
|
|
43
|
+
.shadow-0 {
|
|
44
|
+
box-shadow: $shadow-0;
|
|
45
|
+
}
|
|
46
|
+
.shadow-100 {
|
|
47
|
+
box-shadow: $shadow-100;
|
|
48
|
+
}
|
|
49
|
+
.shadow-200 {
|
|
50
|
+
box-shadow: $shadow-200;
|
|
51
|
+
}
|
|
52
|
+
.shadow-300 {
|
|
53
|
+
box-shadow: $shadow-300;
|
|
54
|
+
}
|
|
55
|
+
.shadow-400 {
|
|
56
|
+
box-shadow: $shadow-400;
|
|
57
|
+
}
|
|
58
|
+
.shadow-500 {
|
|
59
|
+
box-shadow: $shadow-500;
|
|
60
|
+
}
|
|
61
|
+
.shadow-600 {
|
|
62
|
+
box-shadow: $shadow-600;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// Border
|
|
66
|
+
|
|
67
|
+
$border-radius-0: 0 * $spacing;
|
|
68
|
+
$border-radius-200: 2 * $spacing;
|
|
69
|
+
$border-radius-full: 50%;
|
|
70
|
+
|
|
71
|
+
$border-width-025: 0.25 * $spacing;
|
|
72
|
+
|
|
73
|
+
// Typography
|
|
74
|
+
|
|
75
|
+
$font-family-sans: "Inter";
|
|
76
|
+
|
|
77
|
+
$font-weight-regular: 450;
|
|
78
|
+
$font-weight-medium: 550;
|
|
79
|
+
$font-weight-semibold: 650;
|
|
80
|
+
$font-weight-bold: 700;
|
|
81
|
+
|
|
82
|
+
$font-letter-spacing-denser: -0.3px;
|
|
83
|
+
$font-letter-spacing-dense: -0.2px;
|
|
84
|
+
$font-letter-spacing-normal: 0px;
|
|
85
|
+
|
|
86
|
+
$font-size-300: 12px;
|
|
87
|
+
$font-size-350: 14px;
|
|
88
|
+
$font-size-400: 16px;
|
|
89
|
+
$font-size-500: 20px;
|
|
90
|
+
$font-size-600: 24px;
|
|
91
|
+
$font-size-750: 30px;
|
|
92
|
+
|
|
93
|
+
$font-line-height-400: 16px;
|
|
94
|
+
$font-line-height-500: 20px;
|
|
95
|
+
$font-line-height-600: 24px;
|
|
96
|
+
$font-line-height-800: 32px;
|
|
97
|
+
$font-line-height-1000: 40px;
|
|
98
|
+
|
|
99
|
+
//Colors
|
|
100
|
+
$color-neutral-00: #ffffff;
|
|
101
|
+
$color-neutral-50: #f8f9fa;
|
|
102
|
+
$color-neutral-100: #f1f3f6;
|
|
103
|
+
$color-neutral-150: #ebeef2;
|
|
104
|
+
$color-neutral-200: #e4e8ed;
|
|
105
|
+
$color-neutral-250: #dee1e7;
|
|
106
|
+
$color-neutral-300: #d2d5dc;
|
|
107
|
+
$color-neutral-350: #c5c8d0;
|
|
108
|
+
$color-neutral-400: #b9bcc5;
|
|
109
|
+
$color-neutral-450: #acafb8;
|
|
110
|
+
$color-neutral-500: #9fa2ab;
|
|
111
|
+
$color-neutral-550: #92959e;
|
|
112
|
+
$color-neutral-600: #868892;
|
|
113
|
+
$color-neutral-650: #797b85;
|
|
114
|
+
$color-neutral-700: #6c6e78;
|
|
115
|
+
$color-neutral-750: #5f616b;
|
|
116
|
+
$color-neutral-800: #52545d;
|
|
117
|
+
$color-neutral-850: #444750;
|
|
118
|
+
$color-neutral-900: #373a42;
|
|
119
|
+
$color-neutral-950: #020817;
|
|
120
|
+
|
|
121
|
+
$color-red-50: #fef2f2;
|
|
122
|
+
$color-red-100: #fee2e2;
|
|
123
|
+
$color-red-200: #fecaca;
|
|
124
|
+
$color-red-300: #fca5a5;
|
|
125
|
+
$color-red-400: #f87171;
|
|
126
|
+
$color-red-500: #ef4444;
|
|
127
|
+
$color-red-600: #dc2626;
|
|
128
|
+
$color-red-700: #b91c1c;
|
|
129
|
+
$color-red-800: #991b1b;
|
|
130
|
+
$color-red-900: #7f1d1d;
|
|
131
|
+
$color-red-950: #450a0a;
|
|
132
|
+
|
|
133
|
+
$color-amber-50: #fffbeb;
|
|
134
|
+
$color-amber-100: #fef3c7;
|
|
135
|
+
$color-amber-200: #fde68a;
|
|
136
|
+
$color-amber-300: #fcd34d;
|
|
137
|
+
$color-amber-400: #fbbf24;
|
|
138
|
+
$color-amber-500: #f59e0b;
|
|
139
|
+
$color-amber-600: #d97706;
|
|
140
|
+
$color-amber-700: #b45309;
|
|
141
|
+
$color-amber-800: #92400e;
|
|
142
|
+
$color-amber-900: #78350f;
|
|
143
|
+
$color-amber-950: #451a03;
|
|
144
|
+
|
|
145
|
+
$color-green-50: #f0fdf4;
|
|
146
|
+
$color-green-100: #dcfce7;
|
|
147
|
+
$color-green-200: #bbf7d0;
|
|
148
|
+
$color-green-300: #86efac;
|
|
149
|
+
$color-green-400: #4ade80;
|
|
150
|
+
$color-green-500: #22c55e;
|
|
151
|
+
$color-green-600: #16a34a;
|
|
152
|
+
$color-green-700: #15803d;
|
|
153
|
+
$color-green-800: #166534;
|
|
154
|
+
$color-green-900: #14532d;
|
|
155
|
+
$color-green-950: #052e16;
|
|
156
|
+
|
|
157
|
+
$color-blue-50: #eff6ff;
|
|
158
|
+
$color-blue-100: #dbeafe;
|
|
159
|
+
$color-blue-200: #bfdbfe;
|
|
160
|
+
$color-blue-300: #93c5fd;
|
|
161
|
+
$color-blue-400: #60a5fa;
|
|
162
|
+
$color-blue-500: #3b82f6;
|
|
163
|
+
$color-blue-600: #2563eb;
|
|
164
|
+
$color-blue-700: #1d4ed8;
|
|
165
|
+
$color-blue-800: #1e40af;
|
|
166
|
+
$color-blue-900: #1e3a8a;
|
|
167
|
+
$color-blue-950: #172554;
|
|
168
|
+
|
|
169
|
+
$color-violet-50: #f5f3ff;
|
|
170
|
+
$color-violet-100: #ede9fe;
|
|
171
|
+
$color-violet-200: #ddd6fe;
|
|
172
|
+
$color-violet-300: #c4b5fd;
|
|
173
|
+
$color-violet-400: #a78bfa;
|
|
174
|
+
$color-violet-500: #8b5cf6;
|
|
175
|
+
$color-violet-600: #8b5cf6;
|
|
176
|
+
$color-violet-700: #8b5cf6;
|
|
177
|
+
$color-violet-800: #5b21b6;
|
|
178
|
+
$color-violet-900: #4c1d95;
|
|
179
|
+
$color-violet-950: #2e1065;
|
|
180
|
+
|
|
181
|
+
$color-teal-50: #f0fdfa;
|
|
182
|
+
$color-teal-100: #ccfbf1;
|
|
183
|
+
$color-teal-200: #99f6e4;
|
|
184
|
+
$color-teal-300: #5eead4;
|
|
185
|
+
$color-teal-400: #2dd4bf;
|
|
186
|
+
$color-teal-500: #14b8a6;
|
|
187
|
+
$color-teal-600: #0d9488;
|
|
188
|
+
$color-teal-700: #0f766e;
|
|
189
|
+
$color-teal-800: #115e59;
|
|
190
|
+
$color-teal-900: #115e59;
|
|
191
|
+
$color-teal-950: #042f2e;
|
|
192
|
+
|
|
193
|
+
$color-fuchsia-50: #fdf4ff;
|
|
194
|
+
$color-fuchsia-100: #fae8ff;
|
|
195
|
+
$color-fuchsia-200: #f5d0fe;
|
|
196
|
+
$color-fuchsia-300: #f0abfc;
|
|
197
|
+
$color-fuchsia-400: #e879f9;
|
|
198
|
+
$color-fuchsia-500: #d946ef;
|
|
199
|
+
$color-fuchsia-600: #c026d3;
|
|
200
|
+
$color-fuchsia-700: #c026d3;
|
|
201
|
+
$color-fuchsia-800: #86198f;
|
|
202
|
+
$color-fuchsia-900: #701a75;
|
|
203
|
+
$color-fuchsia-950: #4a044e;
|
|
204
|
+
|
|
205
|
+
//Primary tokens
|
|
206
|
+
|
|
207
|
+
$text: $color-neutral-900;
|
|
208
|
+
$text-secondary: $color-neutral-700;
|
|
209
|
+
$text-disabled: $color-neutral-600;
|
|
210
|
+
$text-on-fill-brand: $color-neutral-00;
|
|
211
|
+
$text-critical: $color-red-800;
|
|
212
|
+
$text-emphasis: $color-blue-800;
|
|
213
|
+
$text-emphasis-hover: $color-blue-900;
|
|
214
|
+
$text-emphasis-on-press: $color-blue-950;
|
|
215
|
+
$text-emphasis-selected: $color-blue-950;
|
|
216
|
+
|
|
217
|
+
$link: $color-blue-800;
|
|
218
|
+
$link-hover: $color-blue-900;
|
|
219
|
+
$link-on-press: $color-blue-950;
|
|
220
|
+
|
|
221
|
+
$bg: $color-neutral-50;
|
|
222
|
+
$bg-inverse: $color-neutral-950;
|
|
223
|
+
|
|
224
|
+
$surface: $color-neutral-00;
|
|
225
|
+
$surface-hover: $color-neutral-100;
|
|
226
|
+
$surface-on-press: $color-neutral-200;
|
|
227
|
+
$surface-selected: $color-neutral-200;
|
|
228
|
+
$surface-secondary: $color-neutral-100;
|
|
229
|
+
$surface-secondary-hover: $color-neutral-200;
|
|
230
|
+
$surface-secondary-on-press: $color-neutral-200;
|
|
231
|
+
$surface-secondary-selected: $color-neutral-300;
|
|
232
|
+
|
|
233
|
+
$fill: $color-neutral-00;
|
|
234
|
+
$fill-hover: $color-neutral-200;
|
|
235
|
+
$fill-on-press: $color-neutral-300;
|
|
236
|
+
$fill-selected: $color-neutral-300;
|
|
237
|
+
$fill-disabled: $color-neutral-250;
|
|
238
|
+
$fill-brand: $color-blue-600;
|
|
239
|
+
$fill-brand-hover: $color-blue-700;
|
|
240
|
+
$fill-brand-on-press: $color-blue-800;
|
|
241
|
+
$fill-brand-selected: $color-blue-900;
|
|
242
|
+
$fill-brand-disabled: $color-neutral-400;
|
|
243
|
+
$fill-critical: $color-red-50;
|
|
244
|
+
|
|
245
|
+
$border: $color-neutral-250;
|
|
246
|
+
$border-active: $color-neutral-700;
|
|
247
|
+
$border-disabled: $color-neutral-250;
|
|
248
|
+
$border-critical: $color-red-700;
|
|
249
|
+
$border-input: $color-neutral-400;
|
|
250
|
+
$border-input-active: $color-neutral-700;
|
|
251
|
+
$border-input-disabled: $color-neutral-250;
|
|
252
|
+
|
|
253
|
+
$surface: $color-neutral-00;
|
|
254
|
+
$surface-hover: $color-neutral-100;
|
|
255
|
+
$surface-on-press: $color-neutral-200;
|
|
256
|
+
$surface-selected: $color-neutral-200;
|
|
257
|
+
$surface-secondary: $color-neutral-100;
|
|
258
|
+
$surface-secondary-hover: $color-neutral-200;
|
|
259
|
+
$surface-secondary-on-press: $color-neutral-200;
|
|
260
|
+
$surface-secondary-selected: $color-neutral-300;
|
|
261
|
+
|
|
262
|
+
$fill: $color-neutral-00;
|
|
263
|
+
$fill-hover: $color-neutral-200;
|
|
264
|
+
$fill-on-press: $color-neutral-300;
|
|
265
|
+
$fill-selected: $color-neutral-300;
|
|
266
|
+
$fill-disabled: $color-neutral-250;
|
|
267
|
+
$fill-brand: $color-blue-600;
|
|
268
|
+
$fill-brand-hover: $color-blue-700;
|
|
269
|
+
$fill-brand-on-press: $color-blue-800;
|
|
270
|
+
$fill-brand-selected: $color-blue-900;
|
|
271
|
+
$fill-brand-disabled: $color-neutral-400;
|
|
272
|
+
$fill-critical: $color-red-50;
|
|
273
|
+
|
|
274
|
+
$icon: $color-neutral-800;
|
|
275
|
+
$icon-secondary: $color-neutral-600;
|
|
276
|
+
$icon-disabled: $color-neutral-450;
|
|
277
|
+
$icon-on-bg-fill-brand: $color-blue-100;
|
|
278
|
+
$icon-critical: $color-red-800;
|
|
279
|
+
$icon-emphasis: $color-blue-800;
|
|
280
|
+
$icon-emphasis-hover: $color-blue-900;
|
|
281
|
+
$icon-emphasis-on-press: $color-blue-950;
|
|
282
|
+
$icon-emphasis-selected: $color-blue-950;
|
|
283
|
+
|
|
284
|
+
$input-bg-surface: $color-neutral-00;
|
|
285
|
+
$input-bg-surface-hover: $color-neutral-100;
|
|
286
|
+
$input-bg-surface-active: $color-neutral-00;
|
|
287
|
+
$input-bg-surface-disabled: $color-neutral-250;
|
|
288
|
+
|
|
289
|
+
$nav-bg: $color-neutral-150;
|
|
290
|
+
$nav-bg-surface: $color-neutral-150;
|
|
291
|
+
$nav-bg-surface-hover: $color-neutral-50;
|
|
292
|
+
$nav-bg-surface-on-press: $color-neutral-00;
|
|
293
|
+
$nav-bg-surface-selected: $color-neutral-00;
|
|
294
|
+
$nav-bg-surface-selected-no-hover: $color-neutral-200;
|
|
295
|
+
|
|
296
|
+
$backdrop: #00000030;
|
|
297
|
+
|
|
298
|
+
$button-group-gap: $space-200;
|
|
299
|
+
$card-padding: $space-400;
|
|
300
|
+
$card-padding-mobile: $space-300;
|
|
301
|
+
$card-gap: $space-500;
|
|
302
|
+
$card-gap-mobile: $space-400;
|
|
303
|
+
$icon-text-gap: $space-200;
|
|
304
|
+
|
|
305
|
+
// Old STP Design System(do not use)
|
|
306
|
+
$white: #ffffff;
|
|
307
|
+
$white_background: #fefefe;
|
|
308
|
+
$white_blue: #f3f7ff;
|
|
309
|
+
$white_silver: #f4f4f4;
|
|
310
|
+
$black: #000000;
|
|
311
|
+
$blue_text: #2a2f48;
|
|
312
|
+
$blue_gray: #6e738a;
|
|
313
|
+
$blue_silver: #4d4d4d;
|
|
314
|
+
$blue_navy: #4ba5ec;
|
|
315
|
+
$black_transparent: rgba(0, 0, 0, 0.08);
|
|
316
|
+
$light_gray: #d8d7d7;
|
|
317
|
+
$light: #eeeeee;
|
|
318
|
+
$light_filter: rgba(255, 255, 255, 0.9);
|
|
319
|
+
$shadow: rgba(0, 0, 0, 0.23);
|
|
320
|
+
$harmonies: #b6d7ff;
|
|
321
|
+
$blue_royal: #8dacfc;
|
|
322
|
+
$alice_blue: #ecf5ff;
|
|
323
|
+
$black_medium: #4a4c54;
|
|
324
|
+
$black_gray: #666668;
|
|
325
|
+
$white_dark: #f0f4ff;
|
|
326
|
+
$blue_very_light: #e1e3f1;
|
|
327
|
+
$white_smoke: #f3f2f2;
|
|
328
|
+
$black_ghost: rgba(75, 75, 75, 0.9);
|
|
329
|
+
$modal_background: rgba(19, 20, 23, 0.5);
|
|
330
|
+
$red: #ee3153;
|
|
331
|
+
$yellow: #ffc100;
|
|
332
|
+
$light-yellow: #fff8e7;
|
|
333
|
+
$darker-light-yellow: #f5e6c7;
|
|
334
|
+
$green: #00d742;
|
|
335
|
+
$green_gray: #18bc46;
|
|
336
|
+
$blue_dark: #233240;
|
|
337
|
+
$blue_dark_hover: #0153b4;
|
|
338
|
+
$blue_tabs_hover: #d8ecfb;
|
|
339
|
+
$secondary_dark: #51606f;
|
|
340
|
+
$text_dark: #06253c;
|
|
341
|
+
$blue_secondary: #5ab2f9;
|
|
342
|
+
$blue-background: #e8f2ff;
|
|
343
|
+
$blue-border: #b9c8da;
|
|
344
|
+
$blue-icon: #4ba5ec;
|
|
345
|
+
$blue-icon-light: #61d9ff;
|
|
346
|
+
$gray-info: #8392a3;
|
|
347
|
+
$gray-language-tab: #d5e4f7;
|
|
348
|
+
$blue-dark-tab: #3a4857;
|
|
349
|
+
$black_light: #06253c;
|
|
350
|
+
$input_focus: #4ba5ec;
|
|
351
|
+
$blue_secondary_placholder: #9eadbe;
|
|
352
|
+
$gray_placeholder: #51606f;
|
|
353
|
+
$profile_complete_card_background: #fcfcfc;
|
|
354
|
+
$gray_light: #f5f5f5;
|
|
355
|
+
$white_blue: #ebf6ff;
|
|
356
|
+
$light-green: #ecfdf3;
|
|
357
|
+
$dark-green: #12b76a;
|
|
358
|
+
$light-blue: #eff8ff;
|
|
359
|
+
$light-gray: #a0aec0;
|
|
360
|
+
$red_danger: #eb5757;
|
|
361
|
+
$red_danger_bg: #fffbfa;
|
|
362
|
+
$light-red: #fff1f3;
|
|
363
|
+
$dark-red: #c01048;
|
|
364
|
+
$light-purple: #eef4ff;
|
|
365
|
+
$dark-purple: #3538cd;
|
|
366
|
+
$grey-bg: #fafafa;
|
|
367
|
+
$grey-text: #718096;
|
|
368
|
+
$grey-border: #e2e8f0;
|
|
369
|
+
$blue_heading: #08314c;
|
|
370
|
+
$midnight-blue: #003e64;
|
|
371
|
+
$dark_card_blue: #d1e5fd;
|
|
372
|
+
$grey_text_lms: #828282;
|
|
373
|
+
$grey_bg_lms: #f0f0f0;
|
|
374
|
+
$grey_bg_lms_icon: #f7fafc;
|
|
375
|
+
$grey_lms_header: #ececec;
|
|
376
|
+
$green_correct: #6fcf97;
|
|
377
|
+
$green_bg: #f8fdfa;
|
|
378
|
+
$blue-box: #008fff;
|
|
379
|
+
$purple-box: #ae2db1;
|
|
380
|
+
$blue-box-filler: #cee5ff;
|
|
381
|
+
$grey_pdf: #f2f2f0;
|
|
382
|
+
$pink: #cebdff;
|
|
383
|
+
$grey_voice: #e1e1e1;
|
|
384
|
+
$gray_border: #eaecf0;
|
|
385
|
+
$dark_gray: #475467;
|
|
386
|
+
$btn_gray: #ced4da;
|
|
387
|
+
$blue_bg: #e9f4fd;
|
|
388
|
+
$gray_progress: #e0e0de;
|
|
389
|
+
$gray_button: #ced4da;
|
|
390
|
+
$gray_bg_mobile: #f9fafb;
|
|
391
|
+
$gray_divider: #d0d5dd;
|
|
392
|
+
$blue_light: #c6e1f6;
|
|
393
|
+
$gray_tabs: #667085;
|
|
394
|
+
$gray_card: #f3f5f6;
|
|
395
|
+
$dark_text: #344054;
|
|
396
|
+
$mobile_bg: #f0f0f0;
|
|
397
|
+
$gray_tabs_bg: #dde1e5;
|
|
398
|
+
$gray_tabs_text: #667a8b;
|
|
399
|
+
$gray_border_two: #f1f1f1;
|
|
400
|
+
$red: #df5440;
|
|
401
|
+
$red_line: #e83354;
|
|
402
|
+
$pearl-green: #d8fe67;
|
|
403
|
+
$blue_linear: #173c83;
|
|
404
|
+
$blue_gradient: #0d2532;
|
|
405
|
+
$yellow_light: #ffcb66;
|
|
406
|
+
$gray_proftest: #eef0f2;
|
|
407
|
+
$gray_bars: #e4e7ec;
|
|
408
|
+
$yellow_border: #ffb552;
|
|
409
|
+
$yellow_background: #f8e8c0;
|
|
410
|
+
$gray_not_activated: #dadbdf;
|
|
411
|
+
$black_almost: #0e1d2a;
|
|
412
|
+
$gray_proftest: #eef0f2;
|
|
413
|
+
$gray_bars: #e4e7ec;
|
|
414
|
+
$gray_price: #f3f4f6;
|
|
415
|
+
$gray_admin: #e9edf7;
|
|
416
|
+
$gray_admin_text: #718096;
|
|
417
|
+
$gray_admin_light: #f8fafd;
|
|
418
|
+
$gray_black_notif_text: #1a202c;
|
|
419
|
+
$black_notif_text: #151c22;
|
|
420
|
+
$gray_notif_date: #737373;
|
|
421
|
+
$gray_feedback_question: #8897a5;
|
|
422
|
+
$kaspi_red: #f14634;
|
|
423
|
+
$halloween: #ef8014;
|
|
424
|
+
$blue_support: #007aff;
|
|
425
|
+
$blue_new: #135ba3;
|
|
426
|
+
$blue_bg_dark: #d0e4f7;
|
|
427
|
+
$blue_bg_light: #e8f4ff;
|
|
428
|
+
$gray_new: #f0f0f0;
|
|
429
|
+
$blue_new_gradient: linear-gradient(94.4deg, #173c83 0%, #0d2532 100%);
|
|
430
|
+
$orange_gradient: linear-gradient(105.28deg, #ffcb0f 0%, #ff8a0d 100%);
|
|
431
|
+
$yellow_gradient: linear-gradient(105.28deg, #ffcb0f 0%, #ff9c32 100%);
|