@nuvoui/core 1.1.3 → 1.1.5

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.
@@ -4,8 +4,6 @@
4
4
  @use 'layouts/container' as *;
5
5
  @use 'layouts/flex' as *;
6
6
  @use 'layouts/grid' as *;
7
- @use 'themes/dark' as *;
8
- @use 'themes/light' as *;
9
7
  @use 'themes/theme' as *;
10
8
  @use 'utilities/animations' as *;
11
9
  @use 'utilities/borders' as *;
@@ -50,12 +48,6 @@
50
48
  @include media-up($breakpoint) {
51
49
  @if $mixin-str == 'container-base' {
52
50
  @include container-base;
53
- } @else if $mixin-str == 'container' {
54
- @include container;
55
- } @else if $mixin-str == 'container-flex' {
56
- @include container-flex;
57
- } @else if $mixin-str == 'container-grid' {
58
- @include container-grid;
59
51
  } @else if $mixin-str == 'flex' {
60
52
  @include flex;
61
53
  } @else if $mixin-str == 'flex-inline' {
@@ -86,16 +78,30 @@
86
78
  @include around;
87
79
  } @else if $mixin-str == 'evenly' {
88
80
  @include evenly;
89
- } @else if $mixin-str == 'align-start' {
90
- @include align-start;
91
- } @else if $mixin-str == 'align-end' {
92
- @include align-end;
93
- } @else if $mixin-str == 'align-center' {
94
- @include align-center;
95
- } @else if $mixin-str == 'align-stretch' {
96
- @include align-stretch;
97
- } @else if $mixin-str == 'align-baseline' {
98
- @include align-baseline;
81
+ } @else if $mixin-str == 'x-start' {
82
+ @include x-start;
83
+ } @else if $mixin-str == 'x-end' {
84
+ @include x-end;
85
+ } @else if $mixin-str == 'x-center' {
86
+ @include x-center;
87
+ } @else if $mixin-str == 'x-stretch' {
88
+ @include x-stretch;
89
+ } @else if $mixin-str == 'x-baseline' {
90
+ @include x-baseline;
91
+ } @else if $mixin-str == 'x-content-start' {
92
+ @include x-content-start;
93
+ } @else if $mixin-str == 'x-content-end' {
94
+ @include x-content-end;
95
+ } @else if $mixin-str == 'x-content-center' {
96
+ @include x-content-center;
97
+ } @else if $mixin-str == 'x-content-between' {
98
+ @include x-content-between;
99
+ } @else if $mixin-str == 'x-content-around' {
100
+ @include x-content-around;
101
+ } @else if $mixin-str == 'x-content-evenly' {
102
+ @include x-content-evenly;
103
+ } @else if $mixin-str == 'x-content-stretch' {
104
+ @include x-content-stretch;
99
105
  } @else if $mixin-str == 'self-auto' {
100
106
  @include self-auto;
101
107
  } @else if $mixin-str == 'self-start' {
@@ -124,12 +130,12 @@
124
130
  @include grid;
125
131
  } @else if $mixin-str == 'grid-inline' {
126
132
  @include grid-inline;
127
- } @else if $mixin-str == 'grid-flow-row' {
128
- @include grid-flow-row;
129
- } @else if $mixin-str == 'grid-flow-col' {
130
- @include grid-flow-col;
131
- } @else if $mixin-str == 'grid-flow-dense' {
132
- @include grid-flow-dense;
133
+ } @else if $mixin-str == 'flow-in-row' {
134
+ @include flow-in-row;
135
+ } @else if $mixin-str == 'flow-in-col' {
136
+ @include flow-in-col;
137
+ } @else if $mixin-str == 'flow-dense-items' {
138
+ @include flow-dense-items;
133
139
  } @else if $mixin-str == 'd-none' {
134
140
  @include d-none;
135
141
  } @else if $mixin-str == 'd-block' {
@@ -266,31 +272,36 @@
266
272
  @include no-underline;
267
273
  } @else if $mixin-str == 'truncate' {
268
274
  @include truncate;
275
+ } @else if str.index($mixin-str, 'container(') == 1 {
276
+ $start: str.index($mixin-str, '(') + 1;
277
+ $end: str.length($mixin-str) - 1;
278
+ $value: str.slice($mixin-str, $start, $end);
279
+ @include container(str.unquote($value));
269
280
  } @else if str.index($mixin-str, 'w-col(') == 1 {
270
281
  $start: str.index($mixin-str, '(') + 1;
271
282
  $end: str.length($mixin-str) - 1;
272
283
  $value: str.slice($mixin-str, $start, $end);
273
284
  @include w-col(str.unquote($value));
274
- } @else if str.index($mixin-str, 'grid-cols(') == 1 {
285
+ } @else if str.index($mixin-str, 'cols(') == 1 {
275
286
  $start: str.index($mixin-str, '(') + 1;
276
287
  $end: str.length($mixin-str) - 1;
277
288
  $value: str.slice($mixin-str, $start, $end);
278
- @include grid-cols(str.unquote($value));
279
- } @else if str.index($mixin-str, 'grid-rows(') == 1 {
289
+ @include cols(str.unquote($value));
290
+ } @else if str.index($mixin-str, 'rows(') == 1 {
280
291
  $start: str.index($mixin-str, '(') + 1;
281
292
  $end: str.length($mixin-str) - 1;
282
293
  $value: str.slice($mixin-str, $start, $end);
283
- @include grid-rows(str.unquote($value));
284
- } @else if str.index($mixin-str, 'grid-auto-fit(') == 1 {
294
+ @include rows(str.unquote($value));
295
+ } @else if str.index($mixin-str, 'auto-fit(') == 1 {
285
296
  $start: str.index($mixin-str, '(') + 1;
286
297
  $end: str.length($mixin-str) - 1;
287
298
  $value: str.slice($mixin-str, $start, $end);
288
- @include grid-auto-fit(str.unquote($value));
289
- } @else if str.index($mixin-str, 'grid-auto-fill(') == 1 {
299
+ @include auto-fit(str.unquote($value));
300
+ } @else if str.index($mixin-str, 'auto-fill(') == 1 {
290
301
  $start: str.index($mixin-str, '(') + 1;
291
302
  $end: str.length($mixin-str) - 1;
292
303
  $value: str.slice($mixin-str, $start, $end);
293
- @include grid-auto-fill(str.unquote($value));
304
+ @include auto-fill(str.unquote($value));
294
305
  } @else if str.index($mixin-str, 'justify-items(') == 1 {
295
306
  $start: str.index($mixin-str, '(') + 1;
296
307
  $end: str.length($mixin-str) - 1;
@@ -306,16 +317,16 @@
306
317
  $end: str.length($mixin-str) - 1;
307
318
  $value: str.slice($mixin-str, $start, $end);
308
319
  @include place-items(str.unquote($value));
309
- } @else if str.index($mixin-str, 'col-span(') == 1 {
320
+ } @else if str.index($mixin-str, 'span-col(') == 1 {
310
321
  $start: str.index($mixin-str, '(') + 1;
311
322
  $end: str.length($mixin-str) - 1;
312
323
  $value: str.slice($mixin-str, $start, $end);
313
- @include col-span(str.unquote($value));
314
- } @else if str.index($mixin-str, 'row-span(') == 1 {
324
+ @include span-col(str.unquote($value));
325
+ } @else if str.index($mixin-str, 'span-row(') == 1 {
315
326
  $start: str.index($mixin-str, '(') + 1;
316
327
  $end: str.length($mixin-str) - 1;
317
328
  $value: str.slice($mixin-str, $start, $end);
318
- @include row-span(str.unquote($value));
329
+ @include span-row(str.unquote($value));
319
330
  } @else if str.index($mixin-str, 'col-start(') == 1 {
320
331
  $start: str.index($mixin-str, '(') + 1;
321
332
  $end: str.length($mixin-str) - 1;
@@ -336,11 +347,21 @@
336
347
  $end: str.length($mixin-str) - 1;
337
348
  $value: str.slice($mixin-str, $start, $end);
338
349
  @include row-end(str.unquote($value));
339
- } @else if str.index($mixin-str, 'generate-theme-colors(') == 1 {
350
+ } @else if str.index($mixin-str, 'grid-position(') == 1 {
351
+ $start: str.index($mixin-str, '(') + 1;
352
+ $end: str.length($mixin-str) - 1;
353
+ $value: str.slice($mixin-str, $start, $end);
354
+ @include grid-position(str.unquote($value));
355
+ } @else if str.index($mixin-str, 'position-col(') == 1 {
356
+ $start: str.index($mixin-str, '(') + 1;
357
+ $end: str.length($mixin-str) - 1;
358
+ $value: str.slice($mixin-str, $start, $end);
359
+ @include position-col(str.unquote($value));
360
+ } @else if str.index($mixin-str, 'position-row(') == 1 {
340
361
  $start: str.index($mixin-str, '(') + 1;
341
362
  $end: str.length($mixin-str) - 1;
342
363
  $value: str.slice($mixin-str, $start, $end);
343
- @include generate-theme-colors(str.unquote($value));
364
+ @include position-row(str.unquote($value));
344
365
  } @else if str.index($mixin-str, 'generate-bounce-keyframes(') == 1 {
345
366
  $start: str.index($mixin-str, '(') + 1;
346
367
  $end: str.length($mixin-str) - 1;
@@ -611,12 +632,6 @@
611
632
  } @else {
612
633
  @if $mixin-str == 'container-base' {
613
634
  @include container-base;
614
- } @else if $mixin-str == 'container' {
615
- @include container;
616
- } @else if $mixin-str == 'container-flex' {
617
- @include container-flex;
618
- } @else if $mixin-str == 'container-grid' {
619
- @include container-grid;
620
635
  } @else if $mixin-str == 'flex' {
621
636
  @include flex;
622
637
  } @else if $mixin-str == 'flex-inline' {
@@ -647,16 +662,30 @@
647
662
  @include around;
648
663
  } @else if $mixin-str == 'evenly' {
649
664
  @include evenly;
650
- } @else if $mixin-str == 'align-start' {
651
- @include align-start;
652
- } @else if $mixin-str == 'align-end' {
653
- @include align-end;
654
- } @else if $mixin-str == 'align-center' {
655
- @include align-center;
656
- } @else if $mixin-str == 'align-stretch' {
657
- @include align-stretch;
658
- } @else if $mixin-str == 'align-baseline' {
659
- @include align-baseline;
665
+ } @else if $mixin-str == 'x-start' {
666
+ @include x-start;
667
+ } @else if $mixin-str == 'x-end' {
668
+ @include x-end;
669
+ } @else if $mixin-str == 'x-center' {
670
+ @include x-center;
671
+ } @else if $mixin-str == 'x-stretch' {
672
+ @include x-stretch;
673
+ } @else if $mixin-str == 'x-baseline' {
674
+ @include x-baseline;
675
+ } @else if $mixin-str == 'x-content-start' {
676
+ @include x-content-start;
677
+ } @else if $mixin-str == 'x-content-end' {
678
+ @include x-content-end;
679
+ } @else if $mixin-str == 'x-content-center' {
680
+ @include x-content-center;
681
+ } @else if $mixin-str == 'x-content-between' {
682
+ @include x-content-between;
683
+ } @else if $mixin-str == 'x-content-around' {
684
+ @include x-content-around;
685
+ } @else if $mixin-str == 'x-content-evenly' {
686
+ @include x-content-evenly;
687
+ } @else if $mixin-str == 'x-content-stretch' {
688
+ @include x-content-stretch;
660
689
  } @else if $mixin-str == 'self-auto' {
661
690
  @include self-auto;
662
691
  } @else if $mixin-str == 'self-start' {
@@ -685,12 +714,12 @@
685
714
  @include grid;
686
715
  } @else if $mixin-str == 'grid-inline' {
687
716
  @include grid-inline;
688
- } @else if $mixin-str == 'grid-flow-row' {
689
- @include grid-flow-row;
690
- } @else if $mixin-str == 'grid-flow-col' {
691
- @include grid-flow-col;
692
- } @else if $mixin-str == 'grid-flow-dense' {
693
- @include grid-flow-dense;
717
+ } @else if $mixin-str == 'flow-in-row' {
718
+ @include flow-in-row;
719
+ } @else if $mixin-str == 'flow-in-col' {
720
+ @include flow-in-col;
721
+ } @else if $mixin-str == 'flow-dense-items' {
722
+ @include flow-dense-items;
694
723
  } @else if $mixin-str == 'd-none' {
695
724
  @include d-none;
696
725
  } @else if $mixin-str == 'd-block' {
@@ -827,31 +856,36 @@
827
856
  @include no-underline;
828
857
  } @else if $mixin-str == 'truncate' {
829
858
  @include truncate;
859
+ } @else if str.index($mixin-str, 'container(') == 1 {
860
+ $start: str.index($mixin-str, '(') + 1;
861
+ $end: str.length($mixin-str) - 1;
862
+ $value: str.slice($mixin-str, $start, $end);
863
+ @include container(str.unquote($value));
830
864
  } @else if str.index($mixin-str, 'w-col(') == 1 {
831
865
  $start: str.index($mixin-str, '(') + 1;
832
866
  $end: str.length($mixin-str) - 1;
833
867
  $value: str.slice($mixin-str, $start, $end);
834
868
  @include w-col(str.unquote($value));
835
- } @else if str.index($mixin-str, 'grid-cols(') == 1 {
869
+ } @else if str.index($mixin-str, 'cols(') == 1 {
836
870
  $start: str.index($mixin-str, '(') + 1;
837
871
  $end: str.length($mixin-str) - 1;
838
872
  $value: str.slice($mixin-str, $start, $end);
839
- @include grid-cols(str.unquote($value));
840
- } @else if str.index($mixin-str, 'grid-rows(') == 1 {
873
+ @include cols(str.unquote($value));
874
+ } @else if str.index($mixin-str, 'rows(') == 1 {
841
875
  $start: str.index($mixin-str, '(') + 1;
842
876
  $end: str.length($mixin-str) - 1;
843
877
  $value: str.slice($mixin-str, $start, $end);
844
- @include grid-rows(str.unquote($value));
845
- } @else if str.index($mixin-str, 'grid-auto-fit(') == 1 {
878
+ @include rows(str.unquote($value));
879
+ } @else if str.index($mixin-str, 'auto-fit(') == 1 {
846
880
  $start: str.index($mixin-str, '(') + 1;
847
881
  $end: str.length($mixin-str) - 1;
848
882
  $value: str.slice($mixin-str, $start, $end);
849
- @include grid-auto-fit(str.unquote($value));
850
- } @else if str.index($mixin-str, 'grid-auto-fill(') == 1 {
883
+ @include auto-fit(str.unquote($value));
884
+ } @else if str.index($mixin-str, 'auto-fill(') == 1 {
851
885
  $start: str.index($mixin-str, '(') + 1;
852
886
  $end: str.length($mixin-str) - 1;
853
887
  $value: str.slice($mixin-str, $start, $end);
854
- @include grid-auto-fill(str.unquote($value));
888
+ @include auto-fill(str.unquote($value));
855
889
  } @else if str.index($mixin-str, 'justify-items(') == 1 {
856
890
  $start: str.index($mixin-str, '(') + 1;
857
891
  $end: str.length($mixin-str) - 1;
@@ -867,16 +901,16 @@
867
901
  $end: str.length($mixin-str) - 1;
868
902
  $value: str.slice($mixin-str, $start, $end);
869
903
  @include place-items(str.unquote($value));
870
- } @else if str.index($mixin-str, 'col-span(') == 1 {
904
+ } @else if str.index($mixin-str, 'span-col(') == 1 {
871
905
  $start: str.index($mixin-str, '(') + 1;
872
906
  $end: str.length($mixin-str) - 1;
873
907
  $value: str.slice($mixin-str, $start, $end);
874
- @include col-span(str.unquote($value));
875
- } @else if str.index($mixin-str, 'row-span(') == 1 {
908
+ @include span-col(str.unquote($value));
909
+ } @else if str.index($mixin-str, 'span-row(') == 1 {
876
910
  $start: str.index($mixin-str, '(') + 1;
877
911
  $end: str.length($mixin-str) - 1;
878
912
  $value: str.slice($mixin-str, $start, $end);
879
- @include row-span(str.unquote($value));
913
+ @include span-row(str.unquote($value));
880
914
  } @else if str.index($mixin-str, 'col-start(') == 1 {
881
915
  $start: str.index($mixin-str, '(') + 1;
882
916
  $end: str.length($mixin-str) - 1;
@@ -897,11 +931,21 @@
897
931
  $end: str.length($mixin-str) - 1;
898
932
  $value: str.slice($mixin-str, $start, $end);
899
933
  @include row-end(str.unquote($value));
900
- } @else if str.index($mixin-str, 'generate-theme-colors(') == 1 {
934
+ } @else if str.index($mixin-str, 'grid-position(') == 1 {
935
+ $start: str.index($mixin-str, '(') + 1;
936
+ $end: str.length($mixin-str) - 1;
937
+ $value: str.slice($mixin-str, $start, $end);
938
+ @include grid-position(str.unquote($value));
939
+ } @else if str.index($mixin-str, 'position-col(') == 1 {
940
+ $start: str.index($mixin-str, '(') + 1;
941
+ $end: str.length($mixin-str) - 1;
942
+ $value: str.slice($mixin-str, $start, $end);
943
+ @include position-col(str.unquote($value));
944
+ } @else if str.index($mixin-str, 'position-row(') == 1 {
901
945
  $start: str.index($mixin-str, '(') + 1;
902
946
  $end: str.length($mixin-str) - 1;
903
947
  $value: str.slice($mixin-str, $start, $end);
904
- @include generate-theme-colors(str.unquote($value));
948
+ @include position-row(str.unquote($value));
905
949
  } @else if str.index($mixin-str, 'generate-bounce-keyframes(') == 1 {
906
950
  $start: str.index($mixin-str, '(') + 1;
907
951
  $end: str.length($mixin-str) - 1;
@@ -1,135 +1,84 @@
1
1
  // _theme.scss
2
2
  @use 'sass:color';
3
3
  @use 'sass:map';
4
+ @use '../utilities/colors' as *;
4
5
  @use '../utilities/variables' as *;
5
6
 
6
7
 
7
- // Color variations percentage
8
- $color-variations: (
9
- 'lighter': 15%,
10
- 'light': 10%,
11
- 'dark': -10%,
12
- 'darker': -15%
13
- );
8
+
14
9
 
15
- $opacity-levels: (
16
- '10': 0.1,
17
- '25': 0.25,
18
- '50': 0.5,
19
- '75': 0.75
20
- );
10
+ // Generate scales for primitives
11
+ $colors-primitives: ();
21
12
 
22
-
23
- @function theme-color($color-name, $variant: 'base') {
24
- @return var(--#{$color-name}#{if($variant == 'base', '', '-' + $variant)});
13
+ @each $name, $color in $color-primitives {
14
+ $colors-primitives: map.set($colors-primitives, $name, create-color-scale($color));
25
15
  }
26
16
 
27
- @mixin generate-theme-colors($theme) {
28
- @each $name, $color in $colors {
29
- // Base color
30
- --#{$name}: #{$color};
31
-
32
- // Variations
33
- @each $variant, $percentage in $color-variations {
34
- --#{$name}-#{$variant}: #{if($theme == 'light',
35
- color.scale($color, $lightness: $percentage),
36
- color.scale($color, $lightness: $percentage * -1)
37
- )};
38
- }
39
-
40
- // Opacity variations
41
- @each $level, $opacity in $opacity-levels {
42
- --#{$name}-#{$level}: #{rgba($color, $opacity)};
17
+ :root {
18
+ @each $color-name, $scale in $colors {
19
+ --#{$color-name}: #{color.adjust(map.get($scale, 500), $alpha: 1)};
20
+ @each $shade, $value in $scale {
21
+ --#{$color-name}-#{$shade}: #{color.adjust($value, $alpha: 1)};
43
22
  }
44
-
45
- // State variations
46
- --#{$name}-hover: var(--#{$name}-#{if($theme == 'light', 'dark', 'light')});
47
- --#{$name}-active: var(--#{$name}-#{if($theme == 'light', 'darker', 'lighter')});
48
- --#{$name}-disabled: var(--#{$name}-50);
49
- }
50
-
51
- // Background & Border
52
- @if $theme == 'light' {
53
- --bg-primary: var(--light);
54
- --bg-secondary: #{color.scale(map.get($colors, 'light'), $lightness: -5%)};
55
- --bg-tertiary: #{color.scale(map.get($colors, 'light'), $lightness: -10%)};
56
- --border-color: #{rgba(map.get($colors, 'dark'), 0.1)};
57
- --border-color-dark: #{rgba(map.get($colors, 'dark'), 0.2)};
58
- } @else {
59
- --bg-primary: var(--dark);
60
- --bg-secondary: #{color.scale(map.get($colors, 'dark'), $lightness: 5%)};
61
- --bg-tertiary: #{color.scale(map.get($colors, 'dark'), $lightness: 10%)};
62
- --border-color: #{rgba(map.get($colors, 'light'), 0.07)};
63
- --border-color-dark: #{rgba(map.get($colors, 'light'), 0.15)};
64
23
  }
65
24
 
66
-
67
- // Text Colors
68
- @if $theme == 'light' {
69
- --text-primary: var(--dark);
70
- --text-secondary: #{rgba(map.get($colors, 'dark'), 0.7)};
71
- --text-tertiary: #{rgba(map.get($colors, 'dark'), 0.5)};
72
- --text-disabled: #{rgba(map.get($colors, 'dark'), 0.3)};
73
- --text-inverse: var(--light);
74
- } @else {
75
- --text-primary: var(--light);
76
- --text-secondary: #{rgba(map.get($colors, 'light'), 0.7)};
77
- --text-tertiary: #{rgba(map.get($colors, 'light'), 0.5)};
78
- --text-disabled: #{rgba(map.get($colors, 'light'), 0.3)};
79
- --text-inverse: var(--dark);
25
+ @each $color-name, $scale in $colors-primitives {
26
+ --#{$color-name}: #{color.adjust(map.get($scale, 500), $alpha: 1)};
27
+ @each $shade, $value in $scale {
28
+ --#{$color-name}-#{$shade}: #{color.adjust($value, $alpha: 1)};
29
+ }
80
30
  }
81
31
 
82
-
83
- // Link Colors
32
+ --background: #{map.get($light-theme, 'background')};
33
+ --foreground: #{map.get($light-theme, 'foreground')};
34
+ --surface: #{map.get($light-theme, 'surface')};
35
+ --border: var(--primary-600);
36
+ --text-primary: var(--gray-900);
37
+ --text-secondary: var(--gray-600);
38
+ --button-bg-color: var(--primary);
39
+ --button-bg-color-hover: var(--primary-600);
40
+ --button-text-color: var(--gray-100);
84
41
  --link-color: var(--primary);
85
- --link-hover-color: #{color.scale(map.get($colors, 'primary'), $lightness: if($theme == 'light', -10%, 10%))};
86
- --link-active-color: #{color.scale(map.get($colors, 'primary'), $lightness: if($theme == 'light', -20%, 20%))};
87
- --link-visited-color: #{color.scale(map.get($colors, 'primary'), $saturation: -20%)};
42
+ --link-hover-color: var(--primary-600);
43
+ }
88
44
 
89
- // Navigation
90
- --nav-bg: var(--bg-primary);
91
- --nav-hover: var(--bg-secondary);
92
- --nav-active: var(--bg-tertiary);
93
- --nav-text: var(--text-primary);
94
- --nav-text-hover: var(--primary);
95
- --nav-border: var(--border-color);
45
+ [data-theme="dark"] {
46
+ --background: #{map.get($dark-theme, 'background')};
47
+ --foreground: #{map.get($dark-theme, 'foreground')};
48
+ --surface: #{map.get($dark-theme, 'surface')};
49
+ --border: var(--primary-400);
50
+ --text-primary: var(--gray-100);
51
+ --text-secondary: var(--gray-400);
52
+ --button-bg-color: var(--primary);
53
+ --button-bg-color-hover: var(--primary-400);
54
+ --button-text-color: var(--gray-200);
55
+ --link-color: var(--primary);
56
+ --link-hover-color: var(--primary-400);
57
+ }
96
58
 
97
- // Tooltip
98
- --tooltip-bg: var(--dark);
99
- --tooltip-text: var(--light);
100
- --tooltip-shadow-color: rgb(0 0 0 / 40%);
101
- --microtip-transition-duration: 0.518s;
102
- --microtip-transition-delay: .2s;
103
- --microtip-transition-easing: cubic-bezier(0.16, 1, 0.9, 1);
104
- --microtip-font-size: 0.875rem;
105
- --microtip-font-weight: 300;
106
- --microtip-text-transform: none;
59
+ // --font-family-heading: var(--font-family-base);
60
+ // --text-primary: #{map.get($colors, 'dark')};
61
+ // --link-color: #{map.get($colors, 'primary')};
62
+ // --link-hover-color: #{color.scale(map.get($colors, 'primary'), $lightness: -10%)};
107
63
 
108
- // Shadow
109
- // --shadow-color: #{if($theme == 'light', '0,0,0', '255,255,255')};
110
- // --shadow-opacity: #{if($theme == 'light', 0.1, 0.5)};
111
- }
64
+ // --nav-bg: #{map.get($colors, 'light')};
65
+ // // --nav-hover: #{color.scale(map.get($colors, 'light'), $lightness: -10%)};
66
+ // --nav-hover: white;
67
+ // --nav-text: #{map.get($colors, 'dark')};
112
68
 
113
- /**
114
- .btn-primary {
115
- background-color: theme-color('primary');
116
-
117
- &:hover {
118
- background-color: theme-color('primary', 'hover');
119
- }
120
-
121
- &:disabled {
122
- background-color: theme-color('primary', 'disabled');
123
- }
124
- }
69
+ // // Link Colors
70
+ // --link-color: var(--primary);
71
+ // --link-hover-color: #{color.scale(map.get($colors, 'primary'), $lightness: if($theme == 'light', -10%, 10%))};
72
+ // --link-active-color: #{color.scale(map.get($colors, 'primary'), $lightness: if($theme == 'light', -20%, 20%))};
73
+ // --link-visited-color: #{color.scale(map.get($colors, 'primary'), $saturation: -20%)};
125
74
 
126
- .form-input {
127
- border-color: var(--border-color);
128
- color: var(--text-primary);
129
-
130
- &:focus {
131
- border-color: theme-color('primary');
132
- box-shadow: 0 0 0 4px theme-color('primary', '25');
133
- }
134
- }
135
- */
75
+ // // Tooltip
76
+ // --tooltip-bg: var(--dark);
77
+ // --tooltip-text: var(--light);
78
+ // --tooltip-shadow-color: rgb(0 0 0 / 40%);
79
+ // --microtip-transition-duration: 0.518s;
80
+ // --microtip-transition-delay: .2s;
81
+ // --microtip-transition-easing: cubic-bezier(0.16, 1, 0.9, 1);
82
+ // --microtip-font-size: 0.875rem;
83
+ // --microtip-font-weight: 300;
84
+ // --microtip-text-transform: none;
@@ -14,14 +14,10 @@
14
14
  .border-#{$i} { @include border($i); }
15
15
  }
16
16
 
17
- @each $color-name, $color-value in $colors {
18
- .border-#{$color-name} { border-color: $color-value; }
19
- }
20
-
21
17
  .rounded { @include rounded(0.25rem); }
22
18
  .square { @include rounded(0) }
23
19
  .pill { @include rounded(9999px); }
24
-
20
+
25
21
  // Responsive Position Classes
26
22
  @each $breakpoint, $width in $breakpoints {
27
23
  @media (min-width: $width) {