pelatform-ui 1.2.2 → 1.2.4
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/css/theme.css +23 -1
- package/package.json +1 -1
package/css/theme.css
CHANGED
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
@source "../dist/.";
|
|
24
24
|
|
|
25
25
|
@custom-variant dark (&:is(.dark *));
|
|
26
|
+
@custom-variant fixed (&:is(.layout-fixed *));
|
|
26
27
|
|
|
27
28
|
:root {
|
|
28
29
|
/** Dashboard **/
|
|
@@ -39,6 +40,13 @@
|
|
|
39
40
|
--invert: var(--color-zinc-900);
|
|
40
41
|
--invert-foreground: var(--color-zinc-50);
|
|
41
42
|
|
|
43
|
+
--surface: oklch(0.98 0 0);
|
|
44
|
+
--surface-foreground: var(--foreground);
|
|
45
|
+
--code: var(--surface);
|
|
46
|
+
--code-foreground: var(--surface-foreground);
|
|
47
|
+
--code-highlight: oklch(0.96 0 0);
|
|
48
|
+
--code-number: oklch(0.56 0 0);
|
|
49
|
+
|
|
42
50
|
/** Grid colors **/
|
|
43
51
|
--grid-base-color: rgba(66, 71, 112, 0.09);
|
|
44
52
|
--grid-dots-color: rgba(66, 71, 112, 0.09);
|
|
@@ -55,6 +63,13 @@
|
|
|
55
63
|
--invert: var(--color-zinc-700);
|
|
56
64
|
--invert-foreground: var(--color-zinc-50);
|
|
57
65
|
|
|
66
|
+
--surface: oklch(0.2 0 0);
|
|
67
|
+
--surface-foreground: oklch(0.708 0 0);
|
|
68
|
+
--code: var(--surface);
|
|
69
|
+
--code-foreground: var(--surface-foreground);
|
|
70
|
+
--code-highlight: oklch(0.27 0 0);
|
|
71
|
+
--code-number: oklch(0.72 0 0);
|
|
72
|
+
|
|
58
73
|
/** Grid color **/
|
|
59
74
|
--grid-base-color: rgba(255, 255, 255, 0.09);
|
|
60
75
|
--grid-dots-color: rgba(255, 255, 255, 0.09);
|
|
@@ -83,6 +98,13 @@
|
|
|
83
98
|
--color-warning-foreground: var(--warning-foreground);
|
|
84
99
|
--color-invert: var(--invert);
|
|
85
100
|
--color-invert-foreground: var(--invert-foreground);
|
|
101
|
+
|
|
102
|
+
--color-surface: var(--surface);
|
|
103
|
+
--color-surface-foreground: var(--surface-foreground);
|
|
104
|
+
--color-code: var(--code);
|
|
105
|
+
--color-code-foreground: var(--code-foreground);
|
|
106
|
+
--color-code-highlight: var(--code-highlight);
|
|
107
|
+
--color-code-number: var(--code-number);
|
|
86
108
|
}
|
|
87
109
|
|
|
88
110
|
/** Custom Scrollbar **/
|
|
@@ -125,7 +147,7 @@
|
|
|
125
147
|
}
|
|
126
148
|
|
|
127
149
|
@utility section-soft {
|
|
128
|
-
@apply from-background to-surface/40 dark:bg-background bg-gradient-to-b;
|
|
150
|
+
@apply from-background to-surface/40 dark:bg-background 3xl:fixed:bg-none bg-gradient-to-b;
|
|
129
151
|
}
|
|
130
152
|
|
|
131
153
|
@utility theme-container {
|