@fvc/utils 1.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.
Files changed (47) hide show
  1. package/dist/lib/index.js +1 -0
  2. package/dist/lib/utils/src/assets/css/font.css +225 -0
  3. package/dist/lib/utils/src/assets/css/global.css +396 -0
  4. package/dist/lib/utils/src/assets/css/index.css +4 -0
  5. package/dist/lib/utils/src/assets/css/spacing.scss +28 -0
  6. package/dist/lib/utils/src/assets/css/variables.css +115 -0
  7. package/dist/lib/utils/src/assets/fonts/Montserrat/Montserrat-Black.ttf +0 -0
  8. package/dist/lib/utils/src/assets/fonts/Montserrat/Montserrat-BlackItalic.ttf +0 -0
  9. package/dist/lib/utils/src/assets/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  10. package/dist/lib/utils/src/assets/fonts/Montserrat/Montserrat-BoldItalic.ttf +0 -0
  11. package/dist/lib/utils/src/assets/fonts/Montserrat/Montserrat-ExtraBold.ttf +0 -0
  12. package/dist/lib/utils/src/assets/fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf +0 -0
  13. package/dist/lib/utils/src/assets/fonts/Montserrat/Montserrat-ExtraLight.ttf +0 -0
  14. package/dist/lib/utils/src/assets/fonts/Montserrat/Montserrat-ExtraLightItalic.ttf +0 -0
  15. package/dist/lib/utils/src/assets/fonts/Montserrat/Montserrat-Italic.ttf +0 -0
  16. package/dist/lib/utils/src/assets/fonts/Montserrat/Montserrat-Light.ttf +0 -0
  17. package/dist/lib/utils/src/assets/fonts/Montserrat/Montserrat-LightItalic.ttf +0 -0
  18. package/dist/lib/utils/src/assets/fonts/Montserrat/Montserrat-Medium.ttf +0 -0
  19. package/dist/lib/utils/src/assets/fonts/Montserrat/Montserrat-MediumItalic.ttf +0 -0
  20. package/dist/lib/utils/src/assets/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  21. package/dist/lib/utils/src/assets/fonts/Montserrat/Montserrat-SemiBold.ttf +0 -0
  22. package/dist/lib/utils/src/assets/fonts/Montserrat/Montserrat-SemiBoldItalic.ttf +0 -0
  23. package/dist/lib/utils/src/assets/fonts/Montserrat/Montserrat-Thin.ttf +0 -0
  24. package/dist/lib/utils/src/assets/fonts/Montserrat/Montserrat-ThinItalic.ttf +0 -0
  25. package/dist/lib/utils/src/assets/fonts/Roboto/Roboto-Black.ttf +0 -0
  26. package/dist/lib/utils/src/assets/fonts/Roboto/Roboto-BlackItalic.ttf +0 -0
  27. package/dist/lib/utils/src/assets/fonts/Roboto/Roboto-Bold.ttf +0 -0
  28. package/dist/lib/utils/src/assets/fonts/Roboto/Roboto-BoldItalic.ttf +0 -0
  29. package/dist/lib/utils/src/assets/fonts/Roboto/Roboto-ExtraBold.ttf +0 -0
  30. package/dist/lib/utils/src/assets/fonts/Roboto/Roboto-ExtraBoldItalic.ttf +0 -0
  31. package/dist/lib/utils/src/assets/fonts/Roboto/Roboto-ExtraLight.ttf +0 -0
  32. package/dist/lib/utils/src/assets/fonts/Roboto/Roboto-ExtraLightItalic.ttf +0 -0
  33. package/dist/lib/utils/src/assets/fonts/Roboto/Roboto-Italic.ttf +0 -0
  34. package/dist/lib/utils/src/assets/fonts/Roboto/Roboto-Light.ttf +0 -0
  35. package/dist/lib/utils/src/assets/fonts/Roboto/Roboto-LightItalic.ttf +0 -0
  36. package/dist/lib/utils/src/assets/fonts/Roboto/Roboto-Medium.ttf +0 -0
  37. package/dist/lib/utils/src/assets/fonts/Roboto/Roboto-MediumItalic.ttf +0 -0
  38. package/dist/lib/utils/src/assets/fonts/Roboto/Roboto-Regular.ttf +0 -0
  39. package/dist/lib/utils/src/assets/fonts/Roboto/Roboto-SemiBold.ttf +0 -0
  40. package/dist/lib/utils/src/assets/fonts/Roboto/Roboto-SemiBoldItalic.ttf +0 -0
  41. package/dist/lib/utils/src/assets/fonts/Roboto/Roboto-Thin.ttf +0 -0
  42. package/dist/lib/utils/src/assets/fonts/Roboto/Roboto-ThinItalic.ttf +0 -0
  43. package/dist/lib/utils/src/functions/cssVarResolver/cssVarResolver.d.ts +1 -0
  44. package/dist/lib/utils/src/functions/index.d.ts +2 -0
  45. package/dist/lib/utils/src/functions/isNumeric/isNumeric.d.ts +1 -0
  46. package/dist/lib/utils/src/index.d.ts +1 -0
  47. package/package.json +24 -0
@@ -0,0 +1 @@
1
+ var t=function(t){return"number"==typeof t||n(t)?"".concat(t,"px"):t},n=function(t){return/^[0-9]+$/.test(t)};export{t as cssVarResolver,n as isNumeric};
@@ -0,0 +1,225 @@
1
+ @font-face {
2
+ font-family: 'Montserrat';
3
+ src: url('../fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
4
+ font-weight: 400;
5
+ font-style: normal;
6
+ }
7
+
8
+ @font-face {
9
+ font-family: 'Montserrat';
10
+ src: url('../fonts/Montserrat/Montserrat-Italic.ttf') format('truetype');
11
+ font-weight: 400;
12
+ font-style: italic;
13
+ }
14
+
15
+ @font-face {
16
+ font-family: 'Montserrat';
17
+ src: url('../fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
18
+ font-weight: 500;
19
+ font-style: normal;
20
+ }
21
+
22
+ @font-face {
23
+ font-family: 'Montserrat';
24
+ src: url('../fonts/Montserrat/Montserrat-MediumItalic.ttf') format('truetype');
25
+ font-weight: 500;
26
+ font-style: italic;
27
+ }
28
+
29
+ @font-face {
30
+ font-family: 'Montserrat';
31
+ src: url('../fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
32
+ font-weight: 600;
33
+ font-style: normal;
34
+ }
35
+
36
+ @font-face {
37
+ font-family: 'Montserrat';
38
+ src: url('../fonts/Montserrat/Montserrat-SemiBoldItalic.ttf')
39
+ format('truetype');
40
+ font-weight: 600;
41
+ font-style: italic;
42
+ }
43
+
44
+ @font-face {
45
+ font-family: 'Montserrat';
46
+ src: url('../fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
47
+ font-weight: 700;
48
+ font-style: normal;
49
+ }
50
+
51
+ @font-face {
52
+ font-family: 'Montserrat';
53
+ src: url('../fonts/Montserrat/Montserrat-BoldItalic.ttf') format('truetype');
54
+ font-weight: 700;
55
+ font-style: italic;
56
+ }
57
+
58
+ @font-face {
59
+ font-family: 'Montserrat';
60
+ src: url('../fonts/Montserrat/Montserrat-ExtraBold.ttf') format('truetype');
61
+ font-weight: 800;
62
+ font-style: normal;
63
+ }
64
+
65
+ @font-face {
66
+ font-family: 'Montserrat';
67
+ src: url('../fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf')
68
+ format('truetype');
69
+ font-weight: 800;
70
+ font-style: italic;
71
+ }
72
+
73
+ @font-face {
74
+ font-family: 'Montserrat';
75
+ src: url('../fonts/Montserrat/Montserrat-Black.ttf') format('truetype');
76
+ font-weight: 900;
77
+ font-style: normal;
78
+ }
79
+
80
+ @font-face {
81
+ font-family: 'Montserrat';
82
+ src: url('../fonts/Montserrat/Montserrat-BlackItalic.ttf') format('truetype');
83
+ font-weight: 900;
84
+ font-style: italic;
85
+ }
86
+
87
+ @font-face {
88
+ font-family: 'Montserrat';
89
+ src: url('../fonts/Montserrat/Montserrat-Light.ttf') format('truetype');
90
+ font-weight: 300;
91
+ font-style: normal;
92
+ }
93
+
94
+ @font-face {
95
+ font-family: 'Montserrat';
96
+ src: url('../fonts/Montserrat/Montserrat-LightItalic.ttf') format('truetype');
97
+ font-weight: 300;
98
+ font-style: italic;
99
+ }
100
+
101
+ @font-face {
102
+ font-family: 'Montserrat';
103
+ src: url('../fonts/Montserrat/Montserrat-Thin.ttf') format('truetype');
104
+ font-weight: 100;
105
+ font-style: normal;
106
+ }
107
+
108
+ @font-face {
109
+ font-family: 'Montserrat';
110
+ src: url('../fonts/Montserrat/Montserrat-ThinItalic.ttf') format('truetype');
111
+ font-weight: 100;
112
+ font-style: italic;
113
+ }
114
+
115
+ @font-face {
116
+ font-family: 'Roboto';
117
+ src: url('../fonts/Roboto/Roboto-Regular.ttf') format('truetype');
118
+ font-weight: 400;
119
+ font-style: normal;
120
+ }
121
+
122
+ @font-face {
123
+ font-family: 'Roboto';
124
+ src: url('../fonts/Roboto/Roboto-Italic.ttf') format('truetype');
125
+ font-weight: 400;
126
+ font-style: italic;
127
+ }
128
+
129
+ @font-face {
130
+ font-family: 'Roboto';
131
+ src: url('../fonts/Roboto/Roboto-Medium.ttf') format('truetype');
132
+ font-weight: 500;
133
+ font-style: normal;
134
+ }
135
+
136
+ @font-face {
137
+ font-family: 'Roboto';
138
+ src: url('../fonts/Roboto/Roboto-MediumItalic.ttf') format('truetype');
139
+ font-weight: 500;
140
+ font-style: italic;
141
+ }
142
+
143
+ @font-face {
144
+ font-family: 'Roboto';
145
+ src: url('../fonts/Roboto/Roboto-SemiBold.ttf') format('truetype');
146
+ font-weight: 600;
147
+ font-style: normal;
148
+ }
149
+
150
+ @font-face {
151
+ font-family: 'Roboto';
152
+ src: url('../fonts/Roboto/Roboto-SemiBoldItalic.ttf') format('truetype');
153
+ font-weight: 600;
154
+ font-style: italic;
155
+ }
156
+
157
+ @font-face {
158
+ font-family: 'Roboto';
159
+ src: url('../fonts/Roboto/Roboto-Bold.ttf') format('truetype');
160
+ font-weight: 700;
161
+ font-style: normal;
162
+ }
163
+
164
+ @font-face {
165
+ font-family: 'Roboto';
166
+ src: url('../fonts/Roboto/Roboto-BoldItalic.ttf') format('truetype');
167
+ font-weight: 700;
168
+ font-style: italic;
169
+ }
170
+
171
+ @font-face {
172
+ font-family: 'Roboto';
173
+ src: url('../fonts/Roboto/Roboto-Black.ttf') format('truetype');
174
+ font-weight: 900;
175
+ font-style: normal;
176
+ }
177
+
178
+ @font-face {
179
+ font-family: 'Roboto';
180
+ src: url('../fonts/Roboto/Roboto-BlackItalic.ttf') format('truetype');
181
+ font-weight: 900;
182
+ font-style: italic;
183
+ }
184
+
185
+ @font-face {
186
+ font-family: 'Roboto';
187
+ src: url('../fonts/Roboto/Roboto-Light.ttf') format('truetype');
188
+ font-weight: 300;
189
+ font-style: normal;
190
+ }
191
+
192
+ @font-face {
193
+ font-family: 'Roboto';
194
+ src: url('../fonts/Roboto/Roboto-LightItalic.ttf') format('truetype');
195
+ font-weight: 300;
196
+ font-style: italic;
197
+ }
198
+
199
+ @font-face {
200
+ font-family: 'Roboto';
201
+ src: url('../fonts/Roboto/Roboto-ExtraLight.ttf') format('truetype');
202
+ font-weight: 200;
203
+ font-style: normal;
204
+ }
205
+
206
+ @font-face {
207
+ font-family: 'Roboto';
208
+ src: url('../fonts/Roboto/Roboto-ExtraLightItalic.ttf') format('truetype');
209
+ font-weight: 200;
210
+ font-style: italic;
211
+ }
212
+
213
+ @font-face {
214
+ font-family: 'Roboto';
215
+ src: url('../fonts/Roboto/Roboto-Thin.ttf') format('truetype');
216
+ font-weight: 100;
217
+ font-style: normal;
218
+ }
219
+
220
+ @font-face {
221
+ font-family: 'Roboto';
222
+ src: url('../fonts/Roboto/Roboto-ThinItalic.ttf') format('truetype');
223
+ font-weight: 100;
224
+ font-style: italic;
225
+ }
@@ -0,0 +1,396 @@
1
+ html,
2
+ body {
3
+ width: 100%;
4
+ height: 100%;
5
+ }
6
+
7
+ input::-ms-clear,
8
+ input::-ms-reveal {
9
+ display: none;
10
+ }
11
+
12
+ *,
13
+ *::before,
14
+ *::after {
15
+ box-sizing: border-box;
16
+ }
17
+
18
+ html {
19
+ font-family: sans-serif;
20
+ line-height: 1.15;
21
+ scroll-behavior: smooth;
22
+ -webkit-text-size-adjust: 100%;
23
+ -ms-text-size-adjust: 100%;
24
+ -ms-overflow-style: scrollbar;
25
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
26
+ }
27
+
28
+ @-ms-viewport {
29
+ width: device-width;
30
+ }
31
+
32
+ body {
33
+ margin: 0;
34
+ color: #666;
35
+ font-size: 14px;
36
+ font-family: 'Montserrat', sans-serif;
37
+ font-variant: tabular-nums;
38
+ line-height: 1.5715;
39
+ background-color: #fff;
40
+ font-feature-settings: 'tnum';
41
+
42
+ &::-webkit-scrollbar {
43
+ background-color: #fff;
44
+ width: 15px;
45
+ }
46
+
47
+ &::-webkit-scrollbar-track {
48
+ background-color: #fff;
49
+ border-radius: 16px;
50
+ }
51
+
52
+ &::-webkit-scrollbar-thumb {
53
+ background-color: #babac0;
54
+ border-radius: 16px;
55
+ border: 4px solid #fff;
56
+ }
57
+ }
58
+
59
+ * {
60
+ &::-webkit-scrollbar {
61
+ background-color: #fff;
62
+ width: 15px;
63
+ }
64
+
65
+ &::-webkit-scrollbar-track {
66
+ background-color: #fff;
67
+ border-radius: 16px;
68
+ }
69
+
70
+ &::-webkit-scrollbar-thumb {
71
+ background-color: #babac0;
72
+ border-radius: 16px;
73
+ border: 4px solid #fff;
74
+ cursor: pointer;
75
+ }
76
+ }
77
+
78
+ [tabindex='-1']:focus {
79
+ outline: none !important;
80
+ }
81
+
82
+ hr {
83
+ box-sizing: content-box;
84
+ height: 0;
85
+ overflow: visible;
86
+ }
87
+
88
+ h1,
89
+ h2,
90
+ h3,
91
+ h4,
92
+ h5,
93
+ h6 {
94
+ margin-top: 0;
95
+ margin-bottom: 0.5em;
96
+ color: rgba(0, 0, 0, 0.85);
97
+ font-weight: 500;
98
+ }
99
+
100
+ p {
101
+ margin-top: 0;
102
+ margin-bottom: 1em;
103
+ }
104
+
105
+ abbr[title],
106
+ abbr[data-original-title] {
107
+ text-decoration: underline;
108
+ text-decoration: underline dotted;
109
+ border-bottom: 0;
110
+ cursor: help;
111
+ }
112
+
113
+ address {
114
+ margin-bottom: 1em;
115
+ font-style: normal;
116
+ line-height: inherit;
117
+ }
118
+
119
+ input[type='text'],
120
+ input[type='password'],
121
+ input[type='number'],
122
+ textarea {
123
+ -webkit-appearance: none;
124
+ }
125
+
126
+ ol,
127
+ ul,
128
+ dl {
129
+ margin-top: 0;
130
+ margin-bottom: 1em;
131
+ }
132
+
133
+ ol ol,
134
+ ul ul,
135
+ ol ul,
136
+ ul ol {
137
+ margin-bottom: 0;
138
+ }
139
+
140
+ dt {
141
+ font-weight: 500;
142
+ }
143
+
144
+ dd {
145
+ margin-bottom: 0.5em;
146
+ margin-left: 0;
147
+ }
148
+
149
+ blockquote {
150
+ margin: 0 0 1em;
151
+ }
152
+
153
+ dfn {
154
+ font-style: italic;
155
+ }
156
+
157
+ b,
158
+ strong {
159
+ font-weight: bolder;
160
+ }
161
+
162
+ small {
163
+ font-size: 80%;
164
+ }
165
+
166
+ sub,
167
+ sup {
168
+ position: relative;
169
+ font-size: 75%;
170
+ line-height: 0;
171
+ vertical-align: baseline;
172
+ }
173
+
174
+ sub {
175
+ bottom: -0.25em;
176
+ }
177
+
178
+ sup {
179
+ top: -0.5em;
180
+ }
181
+
182
+ a {
183
+ color: var(--blue-400);
184
+ text-decoration: none;
185
+ background-color: transparent;
186
+ outline: none;
187
+ cursor: pointer;
188
+ transition: color 0.3s;
189
+ -webkit-text-decoration-skip: objects;
190
+
191
+ &:hover {
192
+ color: #648bb3;
193
+ }
194
+
195
+ &:active {
196
+ color: #2d5180;
197
+ }
198
+
199
+ &:active,
200
+ &:hover {
201
+ text-decoration: none;
202
+ outline: 0;
203
+ }
204
+
205
+ &:focus {
206
+ text-decoration: none;
207
+ outline: 0;
208
+ }
209
+ }
210
+
211
+ pre {
212
+ margin-top: 0;
213
+ margin-bottom: 1em;
214
+ overflow: auto;
215
+ }
216
+
217
+ figure {
218
+ margin: 0 0 1em;
219
+ }
220
+
221
+ img {
222
+ vertical-align: middle;
223
+ border-style: none;
224
+ }
225
+
226
+ svg:not(:root) {
227
+ overflow: hidden;
228
+ }
229
+
230
+ a,
231
+ area,
232
+ button,
233
+ [role='button'],
234
+ input:not([type='range']),
235
+ label,
236
+ select,
237
+ summary,
238
+ textarea {
239
+ touch-action: manipulation;
240
+ }
241
+
242
+ table {
243
+ border-collapse: collapse;
244
+ }
245
+
246
+ th {
247
+ text-align: inherit;
248
+ }
249
+
250
+ input,
251
+ button,
252
+ select,
253
+ optgroup,
254
+ textarea {
255
+ margin: 0;
256
+ color: inherit;
257
+ font-size: inherit;
258
+ font-family: inherit;
259
+ line-height: inherit;
260
+ }
261
+
262
+ button,
263
+ input {
264
+ overflow: visible;
265
+ }
266
+
267
+ button,
268
+ select {
269
+ text-transform: none;
270
+ }
271
+
272
+ button,
273
+ html [type='button'],
274
+ [type='reset'],
275
+ [type='submit'] {
276
+ -webkit-appearance: button;
277
+ }
278
+
279
+ button::-moz-focus-inner,
280
+ [type='button']::-moz-focus-inner,
281
+ [type='reset']::-moz-focus-inner,
282
+ [type='submit']::-moz-focus-inner {
283
+ padding: 0;
284
+ border-style: none;
285
+ }
286
+
287
+ input[type='radio'],
288
+ input[type='checkbox'] {
289
+ box-sizing: border-box;
290
+ padding: 0;
291
+ }
292
+
293
+ input[type='date'],
294
+ input[type='time'],
295
+ input[type='datetime-local'],
296
+ input[type='month'] {
297
+ -webkit-appearance: listbox;
298
+ }
299
+
300
+ textarea {
301
+ overflow: auto;
302
+ resize: vertical;
303
+ }
304
+
305
+ fieldset {
306
+ min-width: 0;
307
+ margin: 0;
308
+ padding: 0;
309
+ border: 0;
310
+ }
311
+
312
+ legend {
313
+ display: block;
314
+ width: 100%;
315
+ max-width: 100%;
316
+ margin-bottom: 0.5em;
317
+ padding: 0;
318
+ color: inherit;
319
+ font-size: 1.5em;
320
+ line-height: inherit;
321
+ white-space: normal;
322
+ }
323
+
324
+ progress {
325
+ vertical-align: baseline;
326
+ }
327
+
328
+ [type='number']::-webkit-inner-spin-button,
329
+ [type='number']::-webkit-outer-spin-button {
330
+ height: auto;
331
+ }
332
+
333
+ [type='search'] {
334
+ outline-offset: -2px;
335
+ -webkit-appearance: none;
336
+ }
337
+
338
+ [type='search']::-webkit-search-cancel-button,
339
+ [type='search']::-webkit-search-decoration {
340
+ -webkit-appearance: none;
341
+ }
342
+
343
+ ::-webkit-file-upload-button {
344
+ font: inherit;
345
+ -webkit-appearance: button;
346
+ }
347
+
348
+ output {
349
+ display: inline-block;
350
+ }
351
+
352
+ summary {
353
+ display: list-item;
354
+ }
355
+
356
+ template {
357
+ display: none;
358
+ }
359
+
360
+ [hidden] {
361
+ display: none !important;
362
+ }
363
+
364
+ .loading {
365
+ z-index: 1;
366
+ border: 2px solid rgba(64, 223, 162, 0.2);
367
+ border-top-color: var(--link-on-dark-bg-color-400);
368
+ border-radius: 50%;
369
+ width: 30px;
370
+ height: 30px;
371
+ animation: 1sease-in-out infinite spin;
372
+ display: inline-block;
373
+ position: fixed;
374
+ top: calc(50% - 15px);
375
+ left: calc(50% - 15px);
376
+ }
377
+
378
+ .vis-form {
379
+ display: contents;
380
+ }
381
+
382
+ @keyframes spin {
383
+ to {
384
+ -webkit-transform: rotate(360deg);
385
+ }
386
+ }
387
+
388
+ @-webkit-keyframes spin {
389
+ to {
390
+ -webkit-transform: rotate(360deg);
391
+ }
392
+ }
393
+
394
+ .vis-pie-chart svg > g:nth-child(3) {
395
+ transform: translateX(-65px);
396
+ }
@@ -0,0 +1,4 @@
1
+ @import './font.css';
2
+ @import './variables.css';
3
+ @import './spacing.scss';
4
+ @import './global.css';
@@ -0,0 +1,28 @@
1
+ .d-flex {
2
+ display: flex !important;
3
+
4
+ &-center {
5
+ justify-content: center;
6
+ align-items: center;
7
+ }
8
+
9
+ &-justify-center {
10
+ justify-content: center;
11
+ }
12
+
13
+ &-align-center {
14
+ align-items: center;
15
+ }
16
+
17
+ &-direction-column {
18
+ flex-direction: column;
19
+ }
20
+ }
21
+
22
+ .rotate-90 {
23
+ transform: rotate(90deg);
24
+ }
25
+
26
+ .rotate-180 {
27
+ transform: rotate(180deg);
28
+ }
@@ -0,0 +1,115 @@
1
+ :root {
2
+ /* Blue */
3
+ --blue-20: #eeeff6;
4
+ --blue-50: #e8edf6;
5
+ --blue-100: #e4e6f4;
6
+ --blue-150: #e5e9fc;
7
+ --blue-200: #daddec;
8
+ --blue-250: #d9deef;
9
+ --blue-300: #cdd1e4;
10
+ --blue-400: #4271a5;
11
+ --blue-500: #395ca6;
12
+ --blue-600: #4054b2;
13
+ --blue-700: #303f9f;
14
+
15
+ /* Gray */
16
+ --gray-50: #f2f2f2;
17
+ --gray-100: #fafafa;
18
+ --gray-150: #ececec;
19
+ --gray-200: #dfdfdf;
20
+ --gray-250: #ebebeb;
21
+ --gray-300: #dadada;
22
+ --gray-400: #bbbbbb;
23
+ --gray-500: #787878;
24
+ --gray-600: #949494;
25
+ --gray-700: #7b7b7b;
26
+ --gray-800: #6d6d6d;
27
+ --gray-900: #4a4a4a;
28
+
29
+ /* Blue-gray */
30
+ --blue-gray-200: #d9deef;
31
+ --blue-gray-250: #dddaec;
32
+ --blue-gray-300: #cdd1e4;
33
+ --blue-gray-400: #75849a;
34
+ --blue-gray-500: #69778c;
35
+ --blue-gray-600: #696b78;
36
+ --blue-gray-700: #4d5868;
37
+ --blue-gray-800: #3d4655;
38
+ --blue-gray-900: #2e3848;
39
+
40
+ /* Green */
41
+ --green-100: #d8fcd2;
42
+ --green-400: #400fa2;
43
+ --green-600: #200661;
44
+ --green-700: #268061;
45
+
46
+ /* Yellow-green */
47
+ --yellow-green-400: #c0dc39;
48
+ --yellow-green-500: #afb42b;
49
+
50
+ /* Red */
51
+ --red-400: #f9daab;
52
+ --red-600: #ff1f48;
53
+ --red-800: #800028;
54
+
55
+ /* Orange */
56
+ --orange-100: #f8ece8;
57
+ --orange-200: #fff50b;
58
+ --orange-600: #dd1323;
59
+
60
+ /* Neutrals */
61
+ --neutral-0: #ffffff;
62
+ --neutral-1000: #000000;
63
+
64
+ /* Black */
65
+ --black-1000: #2a2b37;
66
+
67
+ /* Text */
68
+ --body-text-color-1000: #2a2d37;
69
+ --secondary-text-color-600: #696878;
70
+ --support-text-color-300: #cdd1e4;
71
+ --white-text-color-0: #ffffff;
72
+ --link-on-dark-bg-color-400: #40dfa2;
73
+ --link-on-light-bg-color-500: #395ca6;
74
+ --menu-2nd-level-color-200: #daddec;
75
+ --warning-text-color-800: #b00020;
76
+ --warning-text-on-dark-bg-color-400: #ff9da9;
77
+ --button-text-color-500: #268661;
78
+
79
+ /* Background */
80
+ --card-bg-color-20: #eeeff6;
81
+ --main-content-bg-color-0: #ffffff;
82
+ --header-bg-color-700: #405868;
83
+ --task-overview-bg-color-800: #3d4655;
84
+ --primary-bg-color-900: #2e3848;
85
+
86
+ /* Overlay */
87
+ --tooltip-bg-color-900: #4a4a4a;
88
+ --popup-bg-color-20: #eeeff6;
89
+
90
+ /* Border-line */
91
+ --element-b-line-color-400: #2a2d37;
92
+ --element-selected-b-line-color-400: #4271a5;
93
+ --frame-b-line-color-250: #d0deef;
94
+ --warning-b-line-on-light-bg-color-800: #b00020;
95
+ --warning-b-line-on-dark-bg-color-400: #ff9da9;
96
+
97
+ /* Icon */
98
+ --white-icon-color-0: #ffffff;
99
+ --warning-icon-color-800: #b00020;
100
+ --warning-icon-on-dark-bg-color-400: #ff9da9;
101
+ --primary-icon-color-1000: #2a2d37;
102
+ --link-icon-color-500: #395ca6;
103
+ --secondary-icon-on-dark-bg-color-500: #696878;
104
+ --secondary-icon-on-light-bg-color-500: #787878;
105
+
106
+ /* Badge (for Task overview, Cards & Table) */
107
+ --badge-card-table-0: #2a2d37;
108
+ --badge-success-color-600: #268661;
109
+ --badge-active-color-100: #2a2d37;
110
+ --badge-cancel-color-900: #4a4a4a;
111
+ --badge-in-progress-color-500: #949494;
112
+ --badge-warning-color-800: #b00020;
113
+ --badge-basic-color-400: #4271a5;
114
+ --badge-paused-color-100: #fff598;
115
+ }
@@ -0,0 +1 @@
1
+ export declare const cssVarResolver: (value?: string | number) => string | undefined;
@@ -0,0 +1,2 @@
1
+ export { cssVarResolver } from './cssVarResolver/cssVarResolver';
2
+ export { isNumeric } from './isNumeric/isNumeric';
@@ -0,0 +1 @@
1
+ export declare const isNumeric: (value?: string | number) => boolean;
@@ -0,0 +1 @@
1
+ export * from './functions';
package/package.json ADDED
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "@fvc/utils",
3
+ "version": "1.0.0",
4
+ "main": "./dist/lib/index.js",
5
+ "types": "./dist/lib/utils/src/index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "import": "./dist/lib/index.js",
9
+ "types": "./dist/lib/utils/src/index.d.ts"
10
+ },
11
+ "./assets/*": "./dist/lib/utils/src/assets/*"
12
+ },
13
+ "files": [
14
+ "dist/lib/index.js",
15
+ "dist/lib/utils",
16
+ "package.json"
17
+ ],
18
+ "scripts": {
19
+ "build": "rm -rf dist && eslint --config ../../eslint.config.js . && bunx tsc --noEmit && rollup -c ./rollup.config.mjs"
20
+ },
21
+ "dependencies": {
22
+ "react": "^18.0.0"
23
+ }
24
+ }