@zambon-dev/library 2.0.0 → 2.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.
- package/CHANGELOG.md +19 -9
- package/README.md +9 -9
- package/fesm2022/zambon-dev-library.mjs +200 -329
- package/fesm2022/zambon-dev-library.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/variables.scss +26 -26
package/package.json
CHANGED
package/styles/variables.scss
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
/* Radii (rounded restyle) */
|
|
29
|
+
--sidebar-radius: 1.25rem;
|
|
30
|
+
--sidebar-item-radius: 10px;
|
|
31
31
|
}
|