@cfx-dev/ui-components 4.3.8 → 4.3.10
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/{Combination-BGYCZNoJ.js → Combination-DFb92tMK.js} +658 -655
- package/dist/assets/general/global.css +1 -1
- package/dist/assets/general/themes.css +1 -1
- package/dist/components/Accordion/AccordionShowcase.js +21 -9
- package/dist/components/Button/ButtonBar.d.ts +2 -0
- package/dist/components/Checkbox/Checkbox.js +2 -2
- package/dist/components/Dot/Dot.js +6 -4
- package/dist/components/DropdownSelect/DropdownSelect.js +4 -4
- package/dist/components/Link/LinkShowcase.js +8 -4
- package/dist/components/Modal/ModalShowcase.js +2 -1
- package/dist/components/Prose/Prose.d.ts +1 -2
- package/dist/components/RSC/Box/Box.js +48 -48
- package/dist/components/Select/Select.js +3 -3
- package/dist/components/Skeleton/SkeletonShowcase.js +3 -2
- package/dist/components/Slider/Slider.js +2 -2
- package/dist/components/Switch/Switch.js +1 -1
- package/dist/components/Text/Text.types.d.ts +1 -0
- package/dist/components/Text/TextShowcase.js +1 -1
- package/dist/components/Title/Title.js +9 -4
- package/dist/{index-DlJ4qUbZ.js → index-BMU9X4M-.js} +1 -1
- package/dist/index-DCuJlMqr.js +239 -0
- package/dist/{index-CriGVLlo.js → index-DWzyrn_L.js} +1 -1
- package/dist/styles-scss/_colors.scss +50 -51
- package/dist/styles-scss/_typography.scss +25 -20
- package/dist/styles-scss/_ui.scss +115 -98
- package/dist/styles-scss/global.scss +13 -8
- package/dist/styles-scss/themes/theme_cfx.scss +15 -15
- package/dist/styles-scss/themes/theme_fivem.scss +12 -12
- package/dist/styles-scss/themes/theme_redm.scss +12 -12
- package/dist/styles-scss/themes/theme_wireframe.scss +12 -12
- package/dist/styles-scss/themes.scss +4 -4
- package/dist/styles-scss/tokens.scss +117 -118
- package/dist/utils/hooks/useClipboardComponent.d.ts +4 -1
- package/dist/utils/ui/ui.d.ts +2 -1
- package/package.json +10 -15
- package/dist/index-ByKwkZKY.js +0 -239
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
@use
|
|
3
|
-
@use
|
|
4
|
-
@use
|
|
5
|
-
@use
|
|
1
|
+
/* stylelint-disable selector-no-vendor-prefix */
|
|
2
|
+
@use 'sass:math';
|
|
3
|
+
@use 'sass:list';
|
|
4
|
+
@use 'sass:map';
|
|
5
|
+
@use 'sass:meta';
|
|
6
|
+
@use 'colors';
|
|
6
7
|
|
|
7
8
|
@mixin def($var, $value) {
|
|
8
9
|
--#{$var}: #{$value};
|
|
@@ -12,7 +13,7 @@
|
|
|
12
13
|
@return var(--#{$var}, $default);
|
|
13
14
|
}
|
|
14
15
|
|
|
15
|
-
@function color($name, $luminance: 'pure', $alpha: 1
|
|
16
|
+
@function color($name, $luminance: 'pure', $alpha: 1) {
|
|
16
17
|
@if $luminance == 'pure' {
|
|
17
18
|
@return rgba(var(--color-#{$name}), #{$alpha});
|
|
18
19
|
}
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
|
|
27
28
|
@function q($multiplier: 1) {
|
|
28
29
|
@if $multiplier == 1 {
|
|
29
|
-
|
|
30
|
+
@return var(--quant);
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
@return calc(var(--quant) * #{$multiplier});
|
|
@@ -52,28 +53,15 @@
|
|
|
52
53
|
@return var(--border-radius-#{$size});
|
|
53
54
|
}
|
|
54
55
|
|
|
55
|
-
@function viewport-width($multiplier: 1
|
|
56
|
+
@function viewport-width($multiplier: 1) {
|
|
56
57
|
@return calc((var(--width) - var(--offset-safezone) * 2) * #{$multiplier});
|
|
57
58
|
}
|
|
58
59
|
|
|
59
|
-
@function viewport-height($multiplier: 1
|
|
60
|
+
@function viewport-height($multiplier: 1) {
|
|
60
61
|
@return calc((var(--height) - var(--offset-safezone) * 2) * #{$multiplier});
|
|
61
62
|
}
|
|
62
63
|
|
|
63
|
-
$cfxuiColorLuminance: (
|
|
64
|
-
'pure',
|
|
65
|
-
950,
|
|
66
|
-
900,
|
|
67
|
-
800,
|
|
68
|
-
700,
|
|
69
|
-
600,
|
|
70
|
-
500,
|
|
71
|
-
400,
|
|
72
|
-
300,
|
|
73
|
-
200,
|
|
74
|
-
100,
|
|
75
|
-
50,
|
|
76
|
-
);
|
|
64
|
+
$cfxuiColorLuminance: ('pure', 950, 900, 800, 700, 600, 500, 400, 300, 200, 100, 50);
|
|
77
65
|
$cfxuiColorAlpha: (
|
|
78
66
|
'100': 1,
|
|
79
67
|
'90': 0.9,
|
|
@@ -93,10 +81,12 @@ $cfxuiColorAlpha: (
|
|
|
93
81
|
}
|
|
94
82
|
|
|
95
83
|
@mixin define-color($name, $color, $bg, $fg) {
|
|
96
|
-
.cfx-color-#{$name} {
|
|
84
|
+
.cfx-color-#{$name} {
|
|
85
|
+
color: $color;
|
|
86
|
+
}
|
|
97
87
|
|
|
98
88
|
--color-#{$name}: #{colors.color-triplet($color)};
|
|
99
|
-
--color-#{$name}-50:
|
|
89
|
+
--color-#{$name}-50: #{colors.color-triplet(colors.lab-gradient-step($bg, $color, 1, 7))};
|
|
100
90
|
--color-#{$name}-100: #{colors.color-triplet(colors.lab-gradient-step($bg, $color, 2, 7))};
|
|
101
91
|
--color-#{$name}-200: #{colors.color-triplet(colors.lab-gradient-step($bg, $color, 3, 7))};
|
|
102
92
|
--color-#{$name}-300: #{colors.color-triplet(colors.lab-gradient-step($bg, $color, 4, 7))};
|
|
@@ -111,29 +101,32 @@ $cfxuiColorAlpha: (
|
|
|
111
101
|
|
|
112
102
|
@mixin define-main-color($bg, $fg) {
|
|
113
103
|
--color-main: #{colors.color-triplet($bg)};
|
|
114
|
-
--color-main-50:
|
|
115
|
-
--color-main-100: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 2,
|
|
116
|
-
--color-main-200: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 3,
|
|
117
|
-
--color-main-300: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 4,
|
|
118
|
-
--color-main-400: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 5,
|
|
119
|
-
--color-main-500: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 6,
|
|
120
|
-
--color-main-600: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 7,
|
|
121
|
-
--color-main-700: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 8,
|
|
122
|
-
--color-main-800: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 9,
|
|
104
|
+
--color-main-50: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 1, 12))};
|
|
105
|
+
--color-main-100: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 2, 12))};
|
|
106
|
+
--color-main-200: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 3, 12))};
|
|
107
|
+
--color-main-300: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 4, 12))};
|
|
108
|
+
--color-main-400: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 5, 12))};
|
|
109
|
+
--color-main-500: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 6, 12))};
|
|
110
|
+
--color-main-600: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 7, 12))};
|
|
111
|
+
--color-main-700: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 8, 12))};
|
|
112
|
+
--color-main-800: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 9, 12))};
|
|
123
113
|
--color-main-900: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 10, 12))};
|
|
124
114
|
--color-main-950: #{colors.color-triplet(colors.lab-gradient-step($bg, $fg, 11, 12))};
|
|
125
115
|
}
|
|
126
116
|
|
|
127
117
|
@mixin define-main-colors($bg, $fg, $overrides: ()) {
|
|
128
|
-
$colors: map.merge(
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
118
|
+
$colors: map.merge(
|
|
119
|
+
(
|
|
120
|
+
'primary': #f50551,
|
|
121
|
+
'success': #01a370,
|
|
122
|
+
'warning': #ffae00,
|
|
123
|
+
'error': #ff2600,
|
|
124
|
+
'teal': #007892,
|
|
125
|
+
'aurum': #aa6f0d,
|
|
126
|
+
'silver': #a5a5a5,
|
|
127
|
+
),
|
|
128
|
+
$overrides
|
|
129
|
+
);
|
|
137
130
|
|
|
138
131
|
@include define-main-color($bg, $fg);
|
|
139
132
|
|
|
@@ -143,23 +136,26 @@ $cfxuiColorAlpha: (
|
|
|
143
136
|
}
|
|
144
137
|
|
|
145
138
|
@mixin define-theme($bg, $fg, $overrides: ()) {
|
|
146
|
-
$colors: map.merge(
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
139
|
+
$colors: map.merge(
|
|
140
|
+
(
|
|
141
|
+
'accent': #f40552,
|
|
142
|
+
'primary': #f1f1e4,
|
|
143
|
+
'secondary': #9ea4bd,
|
|
144
|
+
'tertiary': #ff75ac,
|
|
145
|
+
'green': #22bf4e,
|
|
146
|
+
'yellow': #fda640,
|
|
147
|
+
'red': #e33131,
|
|
148
|
+
'argentum': #a3a3a3,
|
|
149
|
+
'aurum': #bfa45e,
|
|
150
|
+
'platinum': #f1f1f1,
|
|
151
|
+
'bg': #11131c,
|
|
152
|
+
'bg-light': #1c202e,
|
|
153
|
+
'bg-dark': #1c202e,
|
|
154
|
+
'bg-dark-grey': #1a1a1a,
|
|
155
|
+
'bg-black': #000,
|
|
156
|
+
),
|
|
157
|
+
$overrides
|
|
158
|
+
);
|
|
163
159
|
|
|
164
160
|
@each $colorName, $colorValue in $colors {
|
|
165
161
|
@include define-color($colorName, $colorValue, $bg, $fg);
|
|
@@ -170,7 +166,7 @@ $cfxuiColorAlpha: (
|
|
|
170
166
|
--color-#{$name}: #{$color};
|
|
171
167
|
}
|
|
172
168
|
|
|
173
|
-
@function color-token($name
|
|
169
|
+
@function color-token($name) {
|
|
174
170
|
@return var(--color-#{$name});
|
|
175
171
|
}
|
|
176
172
|
|
|
@@ -207,18 +203,18 @@ $cfxuiColorAlpha: (
|
|
|
207
203
|
$transition: ();
|
|
208
204
|
|
|
209
205
|
@each $property in $props {
|
|
210
|
-
$transition: list.append(
|
|
211
|
-
$transition, ($property .25s ease), $separator: comma
|
|
212
|
-
);
|
|
206
|
+
$transition: list.append($transition, ($property 0.25s ease), $separator: comma);
|
|
213
207
|
}
|
|
214
208
|
#{$subClass} {
|
|
215
|
-
transition:
|
|
209
|
+
transition:
|
|
210
|
+
$transition,
|
|
216
211
|
outline-offset 0s,
|
|
217
212
|
outline 0s;
|
|
218
213
|
}
|
|
219
214
|
} @else {
|
|
220
215
|
#{$subClass} {
|
|
221
|
-
transition:
|
|
216
|
+
transition:
|
|
217
|
+
#{$props} 0.25s ease,
|
|
222
218
|
outline-offset 0s,
|
|
223
219
|
outline 0s;
|
|
224
220
|
}
|
|
@@ -227,7 +223,7 @@ $cfxuiColorAlpha: (
|
|
|
227
223
|
|
|
228
224
|
@mixin fake-backdrop-blur($topLayer: false, $topLayerBlend: false, $topLayerSize: false, $topLayerAttachement: false) {
|
|
229
225
|
--over-backdrop-color: var(--backdrop-color, transparent);
|
|
230
|
-
--over-backdrop-image-blur: var(--backdrop-image-blur, url(
|
|
226
|
+
--over-backdrop-image-blur: var(--backdrop-image-blur, url('assets/images/bg2-blur.png'));
|
|
231
227
|
|
|
232
228
|
@if not $topLayer {
|
|
233
229
|
$topLayer: linear-gradient(use('over-backdrop-color'), use('over-backdrop-color'));
|
|
@@ -247,10 +243,8 @@ $cfxuiColorAlpha: (
|
|
|
247
243
|
|
|
248
244
|
background-color: use('over-backdrop-color');
|
|
249
245
|
background-image:
|
|
250
|
-
$topLayer,
|
|
251
|
-
|
|
252
|
-
use('over-backdrop-image-blur'),
|
|
253
|
-
use('over-backdrop-image-blur');
|
|
246
|
+
$topLayer, linear-gradient(color-token('backdrop-shader'), color-token('backdrop-shader')),
|
|
247
|
+
use('over-backdrop-image-blur'), use('over-backdrop-image-blur');
|
|
254
248
|
background-blend-mode: $topLayerBlend, normal, overlay;
|
|
255
249
|
background-size: $topLayerSize, cover, cover, cover;
|
|
256
250
|
background-attachment: $topLayerAttachement, scroll, fixed, fixed;
|
|
@@ -260,8 +254,8 @@ $offsets: (
|
|
|
260
254
|
'none': 0px,
|
|
261
255
|
'hairthin': 1px,
|
|
262
256
|
'thin': 2px,
|
|
263
|
-
'xxsmall': q(.25),
|
|
264
|
-
'xsmall': q(.5),
|
|
257
|
+
'xxsmall': q(0.25),
|
|
258
|
+
'xsmall': q(0.5),
|
|
265
259
|
'small': q(1),
|
|
266
260
|
'normal': q(2),
|
|
267
261
|
'medium': q(2.5),
|
|
@@ -293,9 +287,9 @@ $offsets: (
|
|
|
293
287
|
|
|
294
288
|
::-webkit-scrollbar-thumb {
|
|
295
289
|
@include border-radius('pill');
|
|
296
|
-
|
|
290
|
+
|
|
297
291
|
background-color: color-token('scrollbar');
|
|
298
|
-
|
|
292
|
+
|
|
299
293
|
&:hover {
|
|
300
294
|
background-color: color-token('scrollbar-hover');
|
|
301
295
|
}
|
|
@@ -311,24 +305,39 @@ $offsets: (
|
|
|
311
305
|
}
|
|
312
306
|
|
|
313
307
|
@mixin placeholder-color($color) {
|
|
314
|
-
&::placeholder
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
&::-
|
|
319
|
-
|
|
320
|
-
|
|
308
|
+
&::placeholder {
|
|
309
|
+
color: $color;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
&::-webkit-input-placeholder {
|
|
313
|
+
color: $color;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
&::-moz-placeholder {
|
|
317
|
+
color: $color;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
&:-ms-input-placeholder {
|
|
321
|
+
color: $color;
|
|
322
|
+
}
|
|
321
323
|
}
|
|
322
324
|
|
|
323
325
|
@mixin placeholder-animated($props: 'all', $subClass: '&') {
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
326
|
+
&::placeholder {
|
|
327
|
+
@include animated($props, $subClass);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
&::-webkit-input-placeholder {
|
|
331
|
+
@include animated($props, $subClass);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
&::-moz-placeholder {
|
|
335
|
+
@include animated($props, $subClass);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
&:-ms-input-placeholder {
|
|
339
|
+
@include animated($props, $subClass);
|
|
340
|
+
}
|
|
332
341
|
}
|
|
333
342
|
|
|
334
343
|
$zindexMap: (
|
|
@@ -357,10 +366,14 @@ $mediaMap: (
|
|
|
357
366
|
@if $size == 'initial' {
|
|
358
367
|
@content;
|
|
359
368
|
} @else {
|
|
360
|
-
@media (width >= calc(map.get($mediaMap, $size) - 1px)) {
|
|
369
|
+
@media (width >= calc(map.get($mediaMap, $size) - 1px)) {
|
|
370
|
+
@content;
|
|
371
|
+
}
|
|
361
372
|
}
|
|
362
373
|
} @else {
|
|
363
|
-
@media (min-width: $fix) {
|
|
374
|
+
@media (min-width: $fix) {
|
|
375
|
+
@content;
|
|
376
|
+
}
|
|
364
377
|
}
|
|
365
378
|
}
|
|
366
379
|
|
|
@@ -369,10 +382,14 @@ $mediaMap: (
|
|
|
369
382
|
@if $size == 'initial' {
|
|
370
383
|
@content;
|
|
371
384
|
} @else {
|
|
372
|
-
@media (min-width: map.get($mediaMap, $size)) {
|
|
385
|
+
@media (min-width: map.get($mediaMap, $size)) {
|
|
386
|
+
@content;
|
|
387
|
+
}
|
|
373
388
|
}
|
|
374
389
|
} @else {
|
|
375
|
-
@media (min-width: $fix) {
|
|
390
|
+
@media (min-width: $fix) {
|
|
391
|
+
@content;
|
|
392
|
+
}
|
|
376
393
|
}
|
|
377
394
|
}
|
|
378
395
|
|
|
@@ -398,9 +415,9 @@ $controlHeightsMap: (
|
|
|
398
415
|
);
|
|
399
416
|
$borderRadiusMap: (
|
|
400
417
|
'none': 0px,
|
|
401
|
-
'xxsmall': q(.25),
|
|
402
|
-
'xsmall': q(.5),
|
|
403
|
-
'small': q(.75),
|
|
418
|
+
'xxsmall': q(0.25),
|
|
419
|
+
'xsmall': q(0.5),
|
|
420
|
+
'small': q(0.75),
|
|
404
421
|
'normal': q(1.5),
|
|
405
422
|
'pill': 9999px,
|
|
406
|
-
)
|
|
423
|
+
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
1
|
+
@use 'typography';
|
|
2
|
+
@use 'tokens';
|
|
3
3
|
|
|
4
4
|
body {
|
|
5
5
|
// Set default font styles
|
|
@@ -61,7 +61,7 @@ a {
|
|
|
61
61
|
|
|
62
62
|
@include ui.animated;
|
|
63
63
|
|
|
64
|
-
&:not([aria-disabled=
|
|
64
|
+
&:not([aria-disabled='true']) {
|
|
65
65
|
text-decoration-color: currentcolor;
|
|
66
66
|
|
|
67
67
|
&:hover {
|
|
@@ -73,19 +73,24 @@ a {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
&[aria-disabled=
|
|
76
|
+
&[aria-disabled='true'] {
|
|
77
77
|
cursor: not-allowed;
|
|
78
|
-
opacity: .5;
|
|
78
|
+
opacity: 0.5;
|
|
79
79
|
text-decoration: none;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
&[aria-disabled=
|
|
82
|
+
&[aria-disabled='true']:active {
|
|
83
83
|
pointer-events: none;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
// Default headers styles
|
|
88
|
-
h1,
|
|
88
|
+
h1,
|
|
89
|
+
h2,
|
|
90
|
+
h3,
|
|
91
|
+
h4,
|
|
92
|
+
h5,
|
|
93
|
+
h6 {
|
|
89
94
|
@include ui.font-family('secondary');
|
|
90
95
|
}
|
|
91
96
|
|
|
@@ -127,7 +132,7 @@ h6 {
|
|
|
127
132
|
|
|
128
133
|
kbd {
|
|
129
134
|
font-weight: 300;
|
|
130
|
-
padding: 2px ui.q(.5);
|
|
135
|
+
padding: 2px ui.q(0.5);
|
|
131
136
|
background-color: ui.color-token('kbd-background');
|
|
132
137
|
border-radius: 2px;
|
|
133
138
|
border: solid 1px ui.color-token('kbd-border');
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use '../ui';
|
|
2
2
|
|
|
3
3
|
$fg: #fffff0;
|
|
4
4
|
$bg: #161923;
|
|
5
5
|
$colors: (
|
|
6
|
-
'accent': #
|
|
7
|
-
'primary': #
|
|
8
|
-
'secondary': #
|
|
9
|
-
'tertiary': #
|
|
10
|
-
'green': #
|
|
11
|
-
'yellow': #
|
|
12
|
-
'red': #
|
|
13
|
-
'argentum': #
|
|
14
|
-
'aurum': #
|
|
15
|
-
'platinum': #
|
|
16
|
-
'bg': #
|
|
17
|
-
'bg-light': #
|
|
18
|
-
'bg-dark': #
|
|
19
|
-
'bg-dark-grey': #
|
|
6
|
+
'accent': #f40552,
|
|
7
|
+
'primary': #f1f1e4,
|
|
8
|
+
'secondary': #9ea4bd,
|
|
9
|
+
'tertiary': #ff75ac,
|
|
10
|
+
'green': #22bf4e,
|
|
11
|
+
'yellow': #fda640,
|
|
12
|
+
'red': #e33131,
|
|
13
|
+
'argentum': #a3a3a3,
|
|
14
|
+
'aurum': #bfa45e,
|
|
15
|
+
'platinum': #f1f1f1,
|
|
16
|
+
'bg': #11131c,
|
|
17
|
+
'bg-light': #1c202e,
|
|
18
|
+
'bg-dark': #1c202e,
|
|
19
|
+
'bg-dark-grey': #1a1a1a,
|
|
20
20
|
'bg-black': #000,
|
|
21
21
|
);
|
|
22
22
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use '../ui';
|
|
2
2
|
|
|
3
3
|
$fg: #fffff0;
|
|
4
4
|
$bg: #161923;
|
|
5
5
|
$colors: (
|
|
6
|
-
'accent': #
|
|
7
|
-
'primary': #
|
|
8
|
-
'secondary': #
|
|
9
|
-
'tertiary': #
|
|
10
|
-
'green': #
|
|
11
|
-
'yellow': #
|
|
12
|
-
'red': #
|
|
13
|
-
'argentum': #
|
|
14
|
-
'aurum': #
|
|
15
|
-
'platinum': #
|
|
6
|
+
'accent': #5b8f22,
|
|
7
|
+
'primary': #fff,
|
|
8
|
+
'secondary': #ababab,
|
|
9
|
+
'tertiary': #bbe093,
|
|
10
|
+
'green': #22bf4e,
|
|
11
|
+
'yellow': #fda640,
|
|
12
|
+
'red': #e33131,
|
|
13
|
+
'argentum': #a3a3a3,
|
|
14
|
+
'aurum': #bfa45e,
|
|
15
|
+
'platinum': #f1f1f1,
|
|
16
16
|
'bg': #000,
|
|
17
17
|
'bg-light': #252525,
|
|
18
18
|
'bg-dark': #131313,
|
|
19
|
-
'bg-dark-grey': #
|
|
19
|
+
'bg-dark-grey': #1a1a1a,
|
|
20
20
|
'bg-black': #000,
|
|
21
21
|
);
|
|
22
22
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use '../ui';
|
|
2
2
|
|
|
3
3
|
$fg: #fffff0;
|
|
4
4
|
$bg: #161923;
|
|
5
5
|
$colors: (
|
|
6
|
-
'accent': #
|
|
7
|
-
'primary': #
|
|
8
|
-
'secondary': #
|
|
9
|
-
'tertiary': #
|
|
10
|
-
'green': #
|
|
11
|
-
'yellow': #
|
|
12
|
-
'red': #
|
|
13
|
-
'argentum': #
|
|
14
|
-
'aurum': #
|
|
15
|
-
'platinum': #
|
|
6
|
+
'accent': #d80d0d,
|
|
7
|
+
'primary': #f1f1e4,
|
|
8
|
+
'secondary': #ababab,
|
|
9
|
+
'tertiary': #f68888,
|
|
10
|
+
'green': #22bf4e,
|
|
11
|
+
'yellow': #fda640,
|
|
12
|
+
'red': #e33131,
|
|
13
|
+
'argentum': #a3a3a3,
|
|
14
|
+
'aurum': #bfa45e,
|
|
15
|
+
'platinum': #f1f1f1,
|
|
16
16
|
'bg': #000,
|
|
17
17
|
'bg-light': #252525,
|
|
18
18
|
'bg-dark': #131313,
|
|
19
|
-
'bg-dark-grey': #
|
|
19
|
+
'bg-dark-grey': #1a1a1a,
|
|
20
20
|
'bg-black': #000,
|
|
21
21
|
);
|
|
22
22
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use '../ui';
|
|
2
2
|
|
|
3
3
|
$fg: #fffff0;
|
|
4
4
|
$bg: #161923;
|
|
@@ -6,17 +6,17 @@ $colors: (
|
|
|
6
6
|
'accent': #444,
|
|
7
7
|
'primary': #202123,
|
|
8
8
|
'secondary': #797979,
|
|
9
|
-
'tertiary': #
|
|
10
|
-
'green': #
|
|
11
|
-
'yellow': #
|
|
12
|
-
'red': #
|
|
13
|
-
'argentum': #
|
|
14
|
-
'aurum': #
|
|
15
|
-
'platinum': #
|
|
16
|
-
'bg': #
|
|
17
|
-
'bg-light': #
|
|
18
|
-
'bg-dark': #
|
|
19
|
-
'bg-dark-grey': #
|
|
9
|
+
'tertiary': #9d9d9d,
|
|
10
|
+
'green': #22bf4e,
|
|
11
|
+
'yellow': #fda640,
|
|
12
|
+
'red': #e33131,
|
|
13
|
+
'argentum': #a3a3a3,
|
|
14
|
+
'aurum': #bfa45e,
|
|
15
|
+
'platinum': #f1f1f1,
|
|
16
|
+
'bg': #fff,
|
|
17
|
+
'bg-light': #dadada,
|
|
18
|
+
'bg-dark': #dadada,
|
|
19
|
+
'bg-dark-grey': #1a1a1a,
|
|
20
20
|
'bg-black': #444,
|
|
21
21
|
);
|
|
22
22
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
3
|
-
@use
|
|
4
|
-
@use
|
|
1
|
+
@use './themes/theme_cfx';
|
|
2
|
+
@use './themes/theme_fivem';
|
|
3
|
+
@use './themes/theme_redm';
|
|
4
|
+
@use './themes/theme_wireframe';
|