corpushub-design-system 0.1.0 → 0.1.2
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/common/AppDropzone/AppDropzoneBody.js +2 -1
- package/dist/common/AppDropzone/UploadedFile.d.ts +2 -0
- package/dist/common/AppDropzone/index.d.ts +2 -0
- package/dist/common/AppDropzone/index.js +1 -0
- package/dist/common/AppDropzone/toMediaDisplayUrl.d.ts +10 -0
- package/dist/common/AppDropzone/toMediaDisplayUrl.js +27 -0
- package/dist/common/AppPicture/AppPicture.js +1 -1
- package/dist/common/AppTable/styles.scss +6 -2
- package/dist/common/index.d.ts +1 -1
- package/dist/common/index.js +1 -1
- package/dist/configs/Localization.js +4 -0
- package/dist/configs/api/applyAuthErrorHandling.js +5 -0
- package/dist/configs/api/index.js +2 -0
- package/dist/configs/auth/authApi.js +6 -0
- package/dist/configs/auth/installAuthRefreshInterceptor.js +5 -0
- package/dist/configs/auth/isPublicAuthRequest.d.ts +6 -0
- package/dist/configs/auth/isPublicAuthRequest.js +28 -0
- package/dist/configs/auth/session.js +8 -6
- package/dist/configs/brand.d.ts +6 -0
- package/dist/configs/brand.js +10 -3
- package/dist/configs/index.d.ts +3 -2
- package/dist/configs/index.js +2 -1
- package/dist/configs/localization/BackupTexts.d.ts +74 -0
- package/dist/configs/localization/BackupTexts.js +74 -0
- package/dist/configs/localization/CommentsTexts.d.ts +145 -145
- package/dist/configs/localization/CommentsTexts.js +145 -145
- package/dist/configs/localization/CommonTexts.d.ts +15 -0
- package/dist/configs/localization/CommonTexts.js +18 -3
- package/dist/configs/localization/HeaderTexts.js +3 -3
- package/dist/configs/localization/HelpTexts.d.ts +44 -2
- package/dist/configs/localization/HelpTexts.js +53 -11
- package/dist/configs/localization/HistoryTexts.d.ts +6 -0
- package/dist/configs/localization/HistoryTexts.js +6 -0
- package/dist/configs/localization/ParserRuleGroupsTexts.d.ts +53 -0
- package/dist/configs/localization/ParserRuleGroupsTexts.js +53 -0
- package/dist/configs/localization/SentenceTexts.js +33 -33
- package/dist/configs/services/ProfileService.js +3 -3
- package/dist/configs/tour/index.d.ts +1 -1
- package/dist/configs/types/CorpusImage.d.ts +3 -0
- package/dist/features/AccessControl/AccessControlService.d.ts +9 -0
- package/dist/features/AccessControl/AccessControlService.js +22 -8
- package/dist/features/AccessControl/AccessGrant/AccessGrant.js +3 -1
- package/dist/features/AccessControl/AccessUser/AccessData.d.ts +2 -2
- package/dist/features/AccessControl/AccessUser/AccessData.js +21 -21
- package/dist/features/AccessControl/AccessUser/AccessUser.js +20 -3
- package/dist/features/AccessControl/AccessUser/AccessUserGroups.d.ts +8 -0
- package/dist/features/AccessControl/AccessUser/AccessUserGroups.js +77 -0
- package/dist/features/AccessControl/AccessUser/style.scss +41 -3
- package/dist/features/AccessControl/AccessUsers/AccessUsers.js +44 -29
- package/dist/features/AccessControl/AccessUsers/styles.scss +5 -0
- package/dist/features/AccessControl/index.d.ts +1 -0
- package/dist/features/AccessControl/types/CorpusGroup.d.ts +10 -0
- package/dist/features/AccessControl/types/CorpusGroup.js +1 -0
- package/dist/features/AccessControl/types/UserAccessResponse.d.ts +4 -0
- package/dist/features/Backup/BackupCreate/BackupCreate.d.ts +11 -0
- package/dist/features/Backup/BackupCreate/BackupCreate.js +89 -0
- package/dist/features/Backup/BackupCreate/index.d.ts +2 -0
- package/dist/features/Backup/BackupCreate/index.js +2 -0
- package/dist/features/Backup/BackupCreate/style.scss +5 -0
- package/dist/features/Backup/BackupInfo/BackupInfo.d.ts +8 -0
- package/dist/features/Backup/BackupInfo/BackupInfo.js +36 -0
- package/dist/features/Backup/BackupInfo/index.d.ts +2 -0
- package/dist/features/Backup/BackupInfo/index.js +2 -0
- package/dist/features/Backup/BackupInfo/style.scss +23 -0
- package/dist/features/Backup/BackupRestore/BackupRestore.d.ts +7 -0
- package/dist/features/Backup/BackupRestore/BackupRestore.js +52 -0
- package/dist/features/Backup/BackupRestore/index.d.ts +3 -0
- package/dist/features/Backup/BackupRestore/index.js +2 -0
- package/dist/features/Backup/BackupRestore/style.scss +17 -0
- package/dist/features/Backup/BackupService.d.ts +20 -0
- package/dist/features/Backup/BackupService.js +43 -0
- package/dist/features/Backup/BackupTable/BackupSearchFilter.d.ts +5 -0
- package/dist/features/Backup/BackupTable/BackupSearchFilter.js +4 -0
- package/dist/features/Backup/BackupTable/BackupTable.d.ts +8 -0
- package/dist/features/Backup/BackupTable/BackupTable.js +121 -0
- package/dist/features/Backup/BackupTable/index.d.ts +4 -0
- package/dist/features/Backup/BackupTable/index.js +3 -0
- package/dist/features/Backup/BackupTable/style.scss +19 -0
- package/dist/features/Backup/index.d.ts +7 -0
- package/dist/features/Backup/index.js +4 -0
- package/dist/features/Backup/types/Backup.d.ts +14 -0
- package/dist/features/Backup/types/Backup.js +1 -0
- package/dist/features/Comments/CommentService.js +2 -1
- package/dist/features/PageRender/PageRenderView.d.ts +1 -1
- package/dist/features/PageRender/PageRenderView.js +67 -9
- package/dist/features/PageRender/style.scss +27 -5
- package/dist/features/PageRender/types.d.ts +5 -1
- package/dist/features/ParserRuleGroups/ParserRuleGroupItem.d.ts +9 -0
- package/dist/features/ParserRuleGroups/ParserRuleGroupItem.js +18 -0
- package/dist/features/ParserRuleGroups/ParserRuleGroupsEditor.d.ts +17 -0
- package/dist/features/ParserRuleGroups/ParserRuleGroupsEditor.js +129 -0
- package/dist/features/ParserRuleGroups/index.d.ts +2 -0
- package/dist/features/ParserRuleGroups/index.js +2 -0
- package/dist/features/ParserRuleGroups/style.scss +81 -0
- package/dist/features/ServerErrorReport/ServerErrorReport.js +9 -48
- package/dist/features/ServerErrorReport/ServerErrorReportForm.d.ts +22 -0
- package/dist/features/ServerErrorReport/ServerErrorReportForm.js +85 -0
- package/dist/features/ServerErrorReport/captureTabScreenshot.d.ts +1 -1
- package/dist/features/ServerErrorReport/captureTabScreenshot.js +5 -20
- package/dist/features/ServerErrorReport/index.d.ts +2 -0
- package/dist/features/ServerErrorReport/index.js +1 -0
- package/dist/features/ServerErrorReport/styles.scss +22 -9
- package/dist/features/index.d.ts +5 -1
- package/dist/features/index.js +2 -0
- package/dist/functions/EditionTierUtils.js +11 -5
- package/dist/primitives/AsyncSelectField/AsyncSelectField.js +2 -2
- package/dist/primitives/AsyncSelectField/styles.scss +31 -31
- package/dist/primitives/Button/Button.d.ts +5 -4
- package/dist/primitives/Button/Button.js +19 -19
- package/dist/primitives/DropdownButton/DropdownButton.d.ts +2 -1
- package/dist/primitives/DropdownButton/DropdownButton.js +2 -2
- package/dist/primitives/DropdownMenu/DropdownMenu.js +7 -1
- package/dist/primitives/Icon/Icon.d.ts +2 -1
- package/dist/primitives/Icon/Icon.js +2 -2
- package/dist/primitives/IconButton/IconButton.d.ts +2 -1
- package/dist/primitives/IconButton/IconButton.js +2 -2
- package/dist/primitives/Tag/Tag.d.ts +2 -1
- package/dist/primitives/Tag/Tag.js +3 -3
- package/dist/primitives/index.js +1 -1
- package/dist/shell/Header/HelpButton/HelpModal.js +3 -69
- package/dist/shell/Header/HelpButton/HelpModalMainColumn.d.ts +5 -0
- package/dist/shell/Header/HelpButton/HelpModalMainColumn.js +76 -0
- package/dist/shell/Header/HelpButton/HelpModalSideColumn.d.ts +7 -0
- package/dist/shell/Header/HelpButton/HelpModalSideColumn.js +18 -0
- package/dist/shell/Header/HelpButton/live-tour.png +0 -0
- package/dist/shell/Header/HelpButton/style.scss +330 -47
- package/dist/styles/base/_typographs.scss +376 -1
- package/dist/styles/main.scss +112 -1
- package/package.json +1 -1
- package/dist/primitives/styles/base/_typographs.scss +0 -376
- package/dist/primitives/styles/font-googleapis.scss +0 -222
- package/dist/primitives/styles/main.scss +0 -112
- /package/dist/{primitives/fonts → fonts}/material-symbols-outlined.woff2 +0 -0
- /package/dist/{primitives/fonts → fonts}/work-sans-latin-ext.woff2 +0 -0
- /package/dist/{primitives/fonts → fonts}/work-sans-latin.woff2 +0 -0
- /package/dist/{primitives/fonts → fonts}/work-sans-vietnamese.woff2 +0 -0
- /package/dist/{primitives/fonts.d.ts → fonts.d.ts} +0 -0
- /package/dist/{primitives/fonts.js → fonts.js} +0 -0
- /package/dist/{primitives/styles → styles}/base/_borders.scss +0 -0
- /package/dist/{primitives/styles → styles}/base/_colors.scss +0 -0
- /package/dist/{primitives/styles → styles}/base/_displays.scss +0 -0
- /package/dist/{primitives/styles → styles}/base/_margins.css +0 -0
- /package/dist/{primitives/styles → styles}/base/_spacing.scss +0 -0
- /package/dist/{primitives/styles → styles}/base/_tokens.scss +0 -0
|
@@ -1 +1,376 @@
|
|
|
1
|
-
|
|
1
|
+
// typographs styles
|
|
2
|
+
|
|
3
|
+
@mixin button-large {
|
|
4
|
+
font-size: 20px;
|
|
5
|
+
font-weight: 600;
|
|
6
|
+
line-height: 100%;
|
|
7
|
+
letter-spacing: 0.32px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@mixin button-medium {
|
|
11
|
+
font-size: 16px;
|
|
12
|
+
font-weight: 600;
|
|
13
|
+
line-height: 100%;
|
|
14
|
+
letter-spacing: 0.32px;
|
|
15
|
+
text-transform: uppercase;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@mixin button-small {
|
|
19
|
+
font-size: 14px;
|
|
20
|
+
font-weight: 700;
|
|
21
|
+
line-height: 100%;
|
|
22
|
+
letter-spacing: 0.32px;
|
|
23
|
+
text-transform: uppercase;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@mixin label-large-1 {
|
|
27
|
+
font-size: 20px;
|
|
28
|
+
font-weight: 400;
|
|
29
|
+
line-height: 120%;
|
|
30
|
+
letter-spacing: 0px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@mixin label-large-2 {
|
|
34
|
+
font-size: 20px;
|
|
35
|
+
font-weight: 700;
|
|
36
|
+
line-height: 120%;
|
|
37
|
+
letter-spacing: 0px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@mixin label-medium-1 {
|
|
41
|
+
font-size: 16px;
|
|
42
|
+
font-weight: 400;
|
|
43
|
+
line-height: 120%;
|
|
44
|
+
letter-spacing: 0px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@mixin label-medium-2 {
|
|
48
|
+
font-size: 16px;
|
|
49
|
+
font-weight: 700;
|
|
50
|
+
line-height: 120%;
|
|
51
|
+
letter-spacing: 0px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@mixin label-small-1 {
|
|
55
|
+
font-size: 14px;
|
|
56
|
+
font-weight: 400;
|
|
57
|
+
line-height: 100%;
|
|
58
|
+
letter-spacing: 0px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@mixin label-small-2 {
|
|
62
|
+
font-size: 14px;
|
|
63
|
+
font-weight: 700;
|
|
64
|
+
line-height: 100%;
|
|
65
|
+
letter-spacing: 0px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@mixin tag-large-1 {
|
|
69
|
+
font-size: 16px;
|
|
70
|
+
font-weight: 500;
|
|
71
|
+
line-height: 100%;
|
|
72
|
+
letter-spacing: 1px;
|
|
73
|
+
text-transform: uppercase;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@mixin tag-large-2 {
|
|
77
|
+
font-family: "Lora";
|
|
78
|
+
font-size: 20px;
|
|
79
|
+
font-weight: 800;
|
|
80
|
+
line-height: 100%;
|
|
81
|
+
letter-spacing: 1px;
|
|
82
|
+
text-transform: uppercase;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@mixin tag-medium-1 {
|
|
86
|
+
font-size: 14px;
|
|
87
|
+
font-weight: 500;
|
|
88
|
+
line-height: 100%;
|
|
89
|
+
letter-spacing: 1px;
|
|
90
|
+
text-transform: uppercase;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@mixin tag-medium-2 {
|
|
94
|
+
font-family: "Lora";
|
|
95
|
+
font-size: 14px;
|
|
96
|
+
font-weight: 800;
|
|
97
|
+
line-height: 100%;
|
|
98
|
+
letter-spacing: 1px;
|
|
99
|
+
text-transform: uppercase;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@mixin tag-small-1 {
|
|
103
|
+
font-size: 12px;
|
|
104
|
+
font-weight: 500;
|
|
105
|
+
line-height: 100%;
|
|
106
|
+
letter-spacing: 1px;
|
|
107
|
+
text-transform: uppercase;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@mixin tag-small-2 {
|
|
111
|
+
font-family: "Lora";
|
|
112
|
+
font-size: 12px;
|
|
113
|
+
font-weight: 800;
|
|
114
|
+
line-height: 100%;
|
|
115
|
+
letter-spacing: 1px;
|
|
116
|
+
text-transform: uppercase;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@mixin helper-large-1 {
|
|
120
|
+
font-size: 14px;
|
|
121
|
+
font-weight: 400;
|
|
122
|
+
line-height: 100%;
|
|
123
|
+
letter-spacing: 0.16px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@mixin helper-large-2 {
|
|
127
|
+
font-size: 14px;
|
|
128
|
+
font-weight: 700;
|
|
129
|
+
line-height: 120%;
|
|
130
|
+
letter-spacing: 0.16px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@mixin helper-medium-1 {
|
|
134
|
+
font-size: 12px;
|
|
135
|
+
font-weight: 400;
|
|
136
|
+
line-height: 100%;
|
|
137
|
+
letter-spacing: 0.16px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@mixin helper-medium-2 {
|
|
141
|
+
font-size: 12px;
|
|
142
|
+
font-weight: 700;
|
|
143
|
+
line-height: 120%;
|
|
144
|
+
letter-spacing: 0.16px;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
@mixin helper-small-1 {
|
|
148
|
+
font-size: 10px;
|
|
149
|
+
font-weight: 400;
|
|
150
|
+
line-height: 100%;
|
|
151
|
+
letter-spacing: 0.16px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@mixin helper-small-2 {
|
|
155
|
+
font-size: 10px;
|
|
156
|
+
font-weight: 700;
|
|
157
|
+
line-height: 120%;
|
|
158
|
+
letter-spacing: 0.16px;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@mixin body-large-1 {
|
|
162
|
+
font-size: 20px;
|
|
163
|
+
font-weight: 400;
|
|
164
|
+
line-height: 150%;
|
|
165
|
+
letter-spacing: 0px;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
@mixin body-large-2 {
|
|
169
|
+
font-size: 20px;
|
|
170
|
+
font-weight: 700;
|
|
171
|
+
line-height: 150%;
|
|
172
|
+
letter-spacing: 0px;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
@mixin body-xmedium-1 {
|
|
176
|
+
font-size: 18px;
|
|
177
|
+
font-weight: 400;
|
|
178
|
+
line-height: 150%;
|
|
179
|
+
letter-spacing: 0px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
@mixin body-xmedium-2 {
|
|
183
|
+
font-size: 18px;
|
|
184
|
+
font-weight: 700;
|
|
185
|
+
line-height: 150%;
|
|
186
|
+
letter-spacing: 0px;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// sets as important to override MuiTooltip-tooltip
|
|
190
|
+
@mixin body-medium-1 {
|
|
191
|
+
font-size: 16px !important;
|
|
192
|
+
font-weight: 400 !important;
|
|
193
|
+
line-height: 150% !important;
|
|
194
|
+
letter-spacing: 0px !important;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
@mixin body-medium-2 {
|
|
198
|
+
font-size: 16px;
|
|
199
|
+
font-weight: 500;
|
|
200
|
+
line-height: 150%;
|
|
201
|
+
letter-spacing: 0px;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
@mixin body-small-1 {
|
|
205
|
+
font-size: 14px;
|
|
206
|
+
font-weight: 400;
|
|
207
|
+
line-height: 150%;
|
|
208
|
+
letter-spacing: 0px;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
@mixin body-small-2 {
|
|
212
|
+
font-size: 14px;
|
|
213
|
+
font-weight: 400;
|
|
214
|
+
line-height: 150%;
|
|
215
|
+
letter-spacing: 0px;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
@mixin link-large {
|
|
219
|
+
font-size: 20px;
|
|
220
|
+
font-weight: 400;
|
|
221
|
+
line-height: 120%;
|
|
222
|
+
letter-spacing: 0px;
|
|
223
|
+
decoration: underline;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
@mixin link-medium {
|
|
227
|
+
font-size: 16px;
|
|
228
|
+
font-weight: 400;
|
|
229
|
+
line-height: 120%;
|
|
230
|
+
letter-spacing: 0px;
|
|
231
|
+
decoration: underline;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
@mixin link-small {
|
|
235
|
+
font-size: 14px;
|
|
236
|
+
font-weight: 700;
|
|
237
|
+
line-height: 120%;
|
|
238
|
+
letter-spacing: 0px;
|
|
239
|
+
decoration: underline;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
@mixin heading-x-large {
|
|
243
|
+
font-family: "Lora";
|
|
244
|
+
font-size: 64px;
|
|
245
|
+
font-weight: 500;
|
|
246
|
+
line-height: 120%;
|
|
247
|
+
letter-spacing: 0px;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
@mixin heading-large {
|
|
251
|
+
font-family: "Lora";
|
|
252
|
+
font-size: 56px;
|
|
253
|
+
font-weight: 500;
|
|
254
|
+
line-height: 120%;
|
|
255
|
+
letter-spacing: 0px;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
@mixin heading-medium {
|
|
259
|
+
font-family: "Lora";
|
|
260
|
+
font-size: 48px;
|
|
261
|
+
font-weight: 500;
|
|
262
|
+
line-height: 120%;
|
|
263
|
+
letter-spacing: 0px;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
@mixin heading-small {
|
|
267
|
+
font-family: "Lora";
|
|
268
|
+
font-size: 40px;
|
|
269
|
+
font-weight: 500;
|
|
270
|
+
line-height: 120%;
|
|
271
|
+
letter-spacing: 0px;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
@mixin heading-x-small {
|
|
275
|
+
font-family: "Lora";
|
|
276
|
+
font-size: 32px;
|
|
277
|
+
font-weight: 500;
|
|
278
|
+
line-height: 120%;
|
|
279
|
+
letter-spacing: 0px;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
@mixin subtitle-large-1 {
|
|
283
|
+
font-size: 32px;
|
|
284
|
+
font-weight: 300;
|
|
285
|
+
line-height: 120%;
|
|
286
|
+
letter-spacing: 0px;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
@mixin subtitle-large-2 {
|
|
290
|
+
font-size: 32px;
|
|
291
|
+
font-weight: 600;
|
|
292
|
+
line-height: 120%;
|
|
293
|
+
letter-spacing: 0px;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
@mixin subtitle-medium-1 {
|
|
297
|
+
font-size: 28px;
|
|
298
|
+
font-weight: 300;
|
|
299
|
+
line-height: 120%;
|
|
300
|
+
letter-spacing: 0px;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
@mixin subtitle-medium-2 {
|
|
304
|
+
font-size: 28px;
|
|
305
|
+
font-weight: 600;
|
|
306
|
+
line-height: 120%;
|
|
307
|
+
letter-spacing: 0px;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
@mixin subtitle-smedium-1 {
|
|
311
|
+
font-size: 24px;
|
|
312
|
+
font-weight: 300;
|
|
313
|
+
line-height: 120%;
|
|
314
|
+
letter-spacing: 0px;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
@mixin subtitle-smedium-2 {
|
|
318
|
+
font-size: 24px;
|
|
319
|
+
font-weight: 600;
|
|
320
|
+
line-height: 120%;
|
|
321
|
+
letter-spacing: 0px;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
@mixin subtitle-small-1 {
|
|
325
|
+
font-size: 20px;
|
|
326
|
+
font-weight: 300;
|
|
327
|
+
line-height: 120%;
|
|
328
|
+
letter-spacing: 1px;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
@mixin subtitle-small-2 {
|
|
332
|
+
font-size: 20px;
|
|
333
|
+
font-weight: 600;
|
|
334
|
+
line-height: 120%;
|
|
335
|
+
letter-spacing: 1px;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
@mixin display-x-large {
|
|
339
|
+
font-family: "Lora";
|
|
340
|
+
font-size: 144px;
|
|
341
|
+
font-weight: 300;
|
|
342
|
+
line-height: 100%;
|
|
343
|
+
letter-spacing: 0px;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
@mixin display-large {
|
|
347
|
+
font-family: "Lora";
|
|
348
|
+
font-size: 120px;
|
|
349
|
+
font-weight: 300;
|
|
350
|
+
line-height: 100%;
|
|
351
|
+
letter-spacing: 0px;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
@mixin display-medium {
|
|
355
|
+
font-family: "Lora";
|
|
356
|
+
font-size: 112px;
|
|
357
|
+
font-weight: 300;
|
|
358
|
+
line-height: 100%;
|
|
359
|
+
letter-spacing: 0px;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
@mixin display-small {
|
|
363
|
+
font-family: "Lora";
|
|
364
|
+
font-size: 96px;
|
|
365
|
+
font-weight: 300;
|
|
366
|
+
line-height: 100%;
|
|
367
|
+
letter-spacing: 0px;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
@mixin display-x-small {
|
|
371
|
+
font-family: "Lora";
|
|
372
|
+
font-size: 80px;
|
|
373
|
+
font-weight: 300;
|
|
374
|
+
line-height: 100%;
|
|
375
|
+
letter-spacing: 0px;
|
|
376
|
+
}
|
package/dist/styles/main.scss
CHANGED
|
@@ -1,4 +1,115 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use './base/typographs' as *;
|
|
2
|
+
@use './base/borders';
|
|
3
|
+
@use './base/colors';
|
|
4
|
+
@use './base/displays';
|
|
5
|
+
@use './base/margins';
|
|
6
|
+
@use './base/spacing';
|
|
7
|
+
@use './base/tokens';
|
|
8
|
+
|
|
9
|
+
:root {
|
|
10
|
+
--font-family:
|
|
11
|
+
'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
12
|
+
'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
|
13
|
+
'Segoe UI Symbol', 'Noto Color Emoji';
|
|
14
|
+
--height-viewport: calc(100vh - 48px);
|
|
15
|
+
--border-default: 1px solid var(--border-subtle-2);
|
|
16
|
+
--font-weight-large: 700;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
html,
|
|
20
|
+
body,
|
|
21
|
+
#root {
|
|
22
|
+
background-color: var(--background-default);
|
|
23
|
+
height: calc(100% - 48px);
|
|
24
|
+
font-family: var(--font-family);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
body {
|
|
28
|
+
margin: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
::-webkit-scrollbar {
|
|
32
|
+
width: 8px;
|
|
33
|
+
height: 8px;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
::-webkit-scrollbar-thumb {
|
|
38
|
+
background-color: #888;
|
|
39
|
+
border-radius: var(--radius-full);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
::-webkit-scrollbar-track {
|
|
43
|
+
background: #f1f1f1;
|
|
44
|
+
border-radius: var(--radius-full);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
::-webkit-scrollbar-corner {
|
|
48
|
+
background: #fff;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.pointer {
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.spin {
|
|
56
|
+
display: inline-block;
|
|
57
|
+
animation: spin 2s linear infinite;
|
|
58
|
+
color: var(--icon-primary-default);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.fixed-top {
|
|
62
|
+
position: fixed;
|
|
63
|
+
top: 0;
|
|
64
|
+
right: 0;
|
|
65
|
+
left: 0;
|
|
66
|
+
z-index: 1030;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@keyframes spin {
|
|
70
|
+
from {
|
|
71
|
+
transform: rotate(0deg);
|
|
72
|
+
}
|
|
73
|
+
to {
|
|
74
|
+
transform: rotate(360deg); /* Positive value for clockwise */
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.desktop-only {
|
|
79
|
+
display: flex !important;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.tablet-only,
|
|
83
|
+
.mobile-only,
|
|
84
|
+
.desktop-never {
|
|
85
|
+
display: none !important;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@media (max-width: 768px) {
|
|
89
|
+
.desktop-only,
|
|
90
|
+
.mobile-only,
|
|
91
|
+
.tablet-never {
|
|
92
|
+
display: none !important;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.tablet-only,
|
|
96
|
+
.desktop-never {
|
|
97
|
+
display: flex !important;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
@media (max-width: 767px) {
|
|
102
|
+
.desktop-only,
|
|
103
|
+
.tablet-only,
|
|
104
|
+
.mobile-never {
|
|
105
|
+
display: none !important;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.mobile-only,
|
|
109
|
+
.desktop-never {
|
|
110
|
+
display: flex !important;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
2
113
|
|
|
3
114
|
.icon-button {
|
|
4
115
|
border: none;
|