@zambon-dev/shared 3.0.0 → 3.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.
@@ -1,48 +1,48 @@
1
1
  .row {
2
- @apply grid gap-3;
3
-
4
- &.cols-1 {
5
- @apply grid-cols-1;
6
- }
7
- &.cols-2 {
8
- @apply grid-cols-2;
9
- }
10
- &.cols-3 {
11
- @apply grid-cols-3;
12
- }
13
- &.cols-4 {
14
- @apply grid-cols-4;
15
- }
16
- &.cols-5 {
17
- @apply grid-cols-5;
18
- }
19
- &.cols-6 {
20
- @apply grid-cols-6;
21
- }
22
- &.cols-7 {
23
- @apply grid-cols-7;
24
- }
25
- &.cols-8 {
26
- @apply grid-cols-8;
27
- }
28
- &.cols-9 {
29
- @apply grid-cols-9;
30
- }
31
- &.cols-10 {
32
- @apply grid-cols-10;
33
- }
34
- &.cols-11 {
35
- @apply grid-cols-11;
36
- }
37
- &.cols-12 {
38
- @apply grid-cols-12;
39
- }
2
+ @apply grid gap-3;
40
3
 
41
- .input-group ~ .input-group {
42
- @apply mt-0;
43
- }
4
+ &.cols-1 {
5
+ @apply grid-cols-1;
6
+ }
7
+ &.cols-2 {
8
+ @apply grid-cols-2;
9
+ }
10
+ &.cols-3 {
11
+ @apply grid-cols-3;
12
+ }
13
+ &.cols-4 {
14
+ @apply grid-cols-4;
15
+ }
16
+ &.cols-5 {
17
+ @apply grid-cols-5;
18
+ }
19
+ &.cols-6 {
20
+ @apply grid-cols-6;
21
+ }
22
+ &.cols-7 {
23
+ @apply grid-cols-7;
24
+ }
25
+ &.cols-8 {
26
+ @apply grid-cols-8;
27
+ }
28
+ &.cols-9 {
29
+ @apply grid-cols-9;
30
+ }
31
+ &.cols-10 {
32
+ @apply grid-cols-10;
33
+ }
34
+ &.cols-11 {
35
+ @apply grid-cols-11;
36
+ }
37
+ &.cols-12 {
38
+ @apply grid-cols-12;
39
+ }
44
40
 
45
- ~ .row {
46
- @apply mt-3;
47
- }
48
- }
41
+ .input-group ~ .input-group {
42
+ @apply mt-0;
43
+ }
44
+
45
+ ~ .row {
46
+ @apply mt-3;
47
+ }
48
+ }
@@ -1,29 +1,31 @@
1
1
  @mixin fixed-background($image, $color) {
2
- @apply fixed -z-50 w-full h-screen;
2
+ @apply fixed -z-50 w-full h-screen;
3
3
 
4
- @include background($image, $color);
4
+ @include background($image, $color);
5
5
  }
6
6
 
7
7
  @mixin background($image, $color) {
8
- @apply overflow-hidden;
8
+ @apply overflow-hidden;
9
9
 
10
- &, &:before {
11
- @apply bg-[url(#{$image})] bg-fixed bg-cover;
12
- }
10
+ &,
11
+ &:before {
12
+ @apply bg-[url(#{$image})] bg-fixed bg-cover;
13
+ }
13
14
 
14
- &:before, &:after {
15
- @apply content-[''] absolute inset-0;
16
- }
15
+ &:before,
16
+ &:after {
17
+ @apply content-[''] absolute inset-0;
18
+ }
17
19
 
18
- &:before {
19
- @apply blur;
20
- }
20
+ &:before {
21
+ @apply blur;
22
+ }
21
23
 
22
- &:after {
23
- @apply #{$color};
24
- }
24
+ &:after {
25
+ @apply #{$color};
26
+ }
25
27
 
26
- * {
27
- @apply z-10;
28
- }
29
- }
28
+ * {
29
+ @apply z-10;
30
+ }
31
+ }
@@ -1,31 +1,31 @@
1
1
  :root {
2
- /* Dimensions */
3
- --sidebar-animation-duration: 600ms;
4
- --sidebar-collapsed-width: 70px;
5
- --sidebar-expanded-width: 220px;
6
- --sidebar-icon-collapsed-margin: 10px;
7
- --sidebar-item-height: 2.75rem;
8
- --sidebar-logo-height: 50px;
9
- --sidebar-picture-size: 50px;
2
+ /* Dimensions */
3
+ --sidebar-animation-duration: 600ms;
4
+ --sidebar-collapsed-width: 70px;
5
+ --sidebar-expanded-width: 220px;
6
+ --sidebar-icon-collapsed-margin: 10px;
7
+ --sidebar-item-height: 2.75rem;
8
+ --sidebar-logo-height: 50px;
9
+ --sidebar-picture-size: 50px;
10
10
 
11
- /* Surfaces & colors — translucent "glass" (brand-tinted) */
12
- --sidebar-bg: color-mix(in srgb, theme('colors.primary.600') 82%, transparent);
13
- --sidebar-nav-bg: color-mix(in srgb, white 5%, transparent);
14
- --sidebar-text: theme('colors.gray.100');
15
- --sidebar-text-muted: color-mix(in srgb, theme('colors.gray.100') 60%, transparent);
16
- --sidebar-item-hover-bg: color-mix(in srgb, white 12%, transparent);
17
- --sidebar-item-selected-bg: color-mix(in srgb, white 22%, transparent);
18
- --sidebar-item-selected-text: theme('colors.white');
19
- --sidebar-accent: theme('colors.gray.100');
20
- --sidebar-tree-line: color-mix(in srgb, white 80%, theme('colors.primary.600'));
11
+ /* Surfaces & colors — translucent "glass" (brand-tinted) */
12
+ --sidebar-bg: color-mix(in srgb, theme('colors.primary.600') 82%, transparent);
13
+ --sidebar-nav-bg: color-mix(in srgb, white 5%, transparent);
14
+ --sidebar-text: theme('colors.gray.100');
15
+ --sidebar-text-muted: color-mix(in srgb, theme('colors.gray.100') 60%, transparent);
16
+ --sidebar-item-hover-bg: color-mix(in srgb, white 12%, transparent);
17
+ --sidebar-item-selected-bg: color-mix(in srgb, white 22%, transparent);
18
+ --sidebar-item-selected-text: theme('colors.white');
19
+ --sidebar-accent: theme('colors.gray.100');
20
+ --sidebar-tree-line: color-mix(in srgb, white 80%, theme('colors.primary.600'));
21
21
 
22
- /* Glass */
23
- --sidebar-blur: 16px;
24
- --sidebar-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.45);
25
- /* App background the glass sidebar floats over (tune to taste). */
26
- --app-backdrop: linear-gradient(160deg, theme('colors.gray.100') 0%, theme('colors.gray.300') 100%);
22
+ /* Glass */
23
+ --sidebar-blur: 16px;
24
+ --sidebar-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.45);
25
+ /* App background the glass sidebar floats over (tune to taste). */
26
+ --app-backdrop: linear-gradient(160deg, theme('colors.gray.100') 0%, theme('colors.gray.300') 100%);
27
27
 
28
- /* Radii (rounded restyle) */
29
- --sidebar-radius: 1.25rem;
30
- --sidebar-item-radius: 10px;
28
+ /* Radii (rounded restyle) */
29
+ --sidebar-radius: 1.25rem;
30
+ --sidebar-item-radius: 10px;
31
31
  }