@nxgt/material 3.4.0 → 3.6.0
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 +78 -0
- package/README.md +2 -2
- package/dist/components/components.css +1 -0
- package/dist/components/theme-tokens.css +78 -71
- package/dist/components/tones/tokens.css +5 -5
- package/dist/components/ui/display/chip/chip-hairline.css +1 -1
- package/dist/components/ui/layout/app-shell/activity-backdrop.css +24 -0
- package/dist/components/ui/layout/sidebar/sidebar-tokens.css +1 -1
- package/dist/components/ui/overlays/dialog/dialog.css +2 -2
- package/dist/components/ui/primitives/field-box/field-box-tokens.css +1 -1
- package/dist/components/ui/primitives/toggle-group/toggle-group-segmented.css +2 -2
- package/dist/components/ui/primitives/toggle-group/toggle-group-separate.css +1 -1
- package/dist/{components-p7VoF7gR.js → components-BCYZgeoV.js} +21 -14
- package/dist/components.js +1 -1
- package/dist/lib/components/ui/layout/app-shell/activity-layout.d.ts +23 -1
- package/dist/main.js +1 -1
- package/dist/material.css +1 -1
- package/docs/components/data-display.md +2 -2
- package/docs/components/navigation-and-layout.md +1 -0
- package/docs/guides/app-shell.md +47 -0
- package/docs/guides/backgrounds.md +7 -1
- package/docs/guides/theming.md +86 -43
- package/docs/troubleshooting.md +50 -3
- package/lib/components/components.css +1 -0
- package/lib/components/theme-tokens.css +78 -71
- package/lib/components/tones/tokens.css +5 -5
- package/lib/components/ui/display/chip/chip-hairline.css +1 -1
- package/lib/components/ui/layout/app-shell/activity-backdrop.css +24 -0
- package/lib/components/ui/layout/sidebar/sidebar-tokens.css +1 -1
- package/lib/components/ui/overlays/dialog/dialog.css +2 -2
- package/lib/components/ui/primitives/field-box/field-box-tokens.css +1 -1
- package/lib/components/ui/primitives/toggle-group/toggle-group-segmented.css +2 -2
- package/lib/components/ui/primitives/toggle-group/toggle-group-separate.css +1 -1
- package/package.json +1 -1
|
@@ -3,52 +3,57 @@
|
|
|
3
3
|
* after importing the stylesheet, under the same selectors. */
|
|
4
4
|
:root {
|
|
5
5
|
--radius: 0.625rem;
|
|
6
|
-
--background: oklch(
|
|
7
|
-
--foreground: oklch(0.
|
|
6
|
+
--background: oklch(0.973 0.008 293.9);
|
|
7
|
+
--foreground: oklch(0.227 0.017 290);
|
|
8
8
|
--card: oklch(1 0 0);
|
|
9
|
-
--card-foreground: oklch(0.
|
|
9
|
+
--card-foreground: oklch(0.227 0.017 290);
|
|
10
10
|
--strix: oklch(45.91% 0.1864 310.75);
|
|
11
11
|
--popover: oklch(1 0 0);
|
|
12
|
-
--popover-foreground: oklch(0.
|
|
12
|
+
--popover-foreground: oklch(0.227 0.017 290);
|
|
13
13
|
--primary: oklch(46% 0.1135 276.35);
|
|
14
14
|
--primary-foreground: oklch(0.984 0.003 247.858);
|
|
15
15
|
/* Primary drawn as text or an icon on a normal surface (`text-primary-text`):
|
|
16
|
-
the colour
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
the colour mixed 4 % toward black in light, which keeps it 7.3:1 or more on
|
|
17
|
+
the violet page (7.9:1 on a Card; the colour itself gives 6.8:1 on the
|
|
18
|
+
page); the dark theme lifts it. */
|
|
19
|
+
--primary-text: color-mix(in oklab, var(--primary) 96%, black);
|
|
20
|
+
/* --secondary, --success and --info are 0.02 darker than before: on the
|
|
21
|
+
violet page tint (--background, 97.3 %) their own 15 % tonal tint gave the
|
|
22
|
+
text 4.3 to 4.5:1; now 4.7:1 or more on the page and on a Card. */
|
|
23
|
+
--secondary: oklch(48% 0.1135 245.65);
|
|
19
24
|
--secondary-foreground: oklch(0.984 0.003 247.858);
|
|
20
|
-
--muted: oklch(0.
|
|
21
|
-
--muted-foreground: oklch(0.
|
|
25
|
+
--muted: oklch(0.955 0.012 292);
|
|
26
|
+
--muted-foreground: oklch(0.478 0.032 292);
|
|
22
27
|
/* Non-text (WCAG 1.4.11): the empty part of a slider, a meter, a drawer
|
|
23
28
|
handle. Light keeps the pale track; the value reads from the thumb. */
|
|
24
|
-
--track: oklch(0.
|
|
29
|
+
--track: oklch(0.955 0.012 292);
|
|
25
30
|
--track-fill: var(--primary);
|
|
26
|
-
--tooltip: oklch(0.446 0.043
|
|
31
|
+
--tooltip: oklch(0.446 0.043 291);
|
|
27
32
|
--tooltip-foreground: oklch(1 0 0);
|
|
28
|
-
--accent: oklch(0.
|
|
29
|
-
--accent-foreground: oklch(0.
|
|
33
|
+
--accent: oklch(0.91 0.016 293);
|
|
34
|
+
--accent-foreground: oklch(0.227 0.017 290);
|
|
30
35
|
/* Darker than the dark theme's: near-white text on a filled error surface
|
|
31
36
|
reaches 4.8:1 (4.6 at 0.577), and the colour as text 5.0:1 on white. */
|
|
32
37
|
--error: oklch(0.56 0.245 27.325);
|
|
33
38
|
--error-foreground: oklch(0.984 0.003 247.858);
|
|
34
39
|
/* Error drawn as text (a field's message, HelperText, a focused error menu
|
|
35
|
-
item):
|
|
36
|
-
--error itself gives 5.0 and 4.2:1. */
|
|
37
|
-
--error-text: color-mix(in oklab, var(--error)
|
|
40
|
+
item): 6.0:1 on white and 5.0:1 on the menu's bg-error/10 tint (4.7:1 on that
|
|
41
|
+
tint over the violet page), where --error itself gives 5.0 and 4.2:1. */
|
|
42
|
+
--error-text: color-mix(in oklab, var(--error) 92%, black);
|
|
38
43
|
/* The foregrounds are near-white: these three are dark enough for WCAG AA
|
|
39
44
|
text (4.5:1) on them, and for the same colours used as text on white. */
|
|
40
|
-
--success: oklch(0.
|
|
45
|
+
--success: oklch(0.46 0.118 184.704);
|
|
41
46
|
--success-foreground: oklch(0.984 0.003 247.858);
|
|
42
|
-
--info: oklch(0.
|
|
47
|
+
--info: oklch(0.48 0.165 254.624);
|
|
43
48
|
--info-foreground: oklch(0.984 0.003 247.858);
|
|
44
49
|
/* Amber, a hue apart from --error (27): a warning must not read as a
|
|
45
50
|
failure. 5.7:1 as text on white, 5.0:1 on its 10% tint, 5.5:1 under near-white text. */
|
|
46
51
|
--warning: oklch(0.52 0.13 62);
|
|
47
52
|
--warning-foreground: oklch(0.984 0.003 247.858);
|
|
48
53
|
--destructive: var(--error);
|
|
49
|
-
--border: oklch(0.
|
|
50
|
-
--input: oklch(0.
|
|
51
|
-
--ring: oklch(0.704 0.04
|
|
54
|
+
--border: oklch(0.912 0.016 293.7);
|
|
55
|
+
--input: oklch(0.912 0.016 293.7);
|
|
56
|
+
--ring: oklch(0.704 0.04 291);
|
|
52
57
|
--chart-1: oklch(0.646 0.222 41.116);
|
|
53
58
|
--chart-2: oklch(0.6 0.118 184.704);
|
|
54
59
|
--chart-3: oklch(0.398 0.07 227.392);
|
|
@@ -74,63 +79,65 @@
|
|
|
74
79
|
--chart-soft-4-ink: oklch(0.52 0.16 310);
|
|
75
80
|
--chart-soft-5: oklch(0.9 0.05 25);
|
|
76
81
|
--chart-soft-5-ink: oklch(0.56 0.15 25);
|
|
77
|
-
--sidebar: oklch(0.
|
|
78
|
-
--sidebar-foreground: oklch(0.
|
|
79
|
-
--sidebar-primary: oklch(0.
|
|
82
|
+
--sidebar: oklch(0.985 0.006 293.9);
|
|
83
|
+
--sidebar-foreground: oklch(0.227 0.017 290);
|
|
84
|
+
--sidebar-primary: oklch(0.227 0.017 290);
|
|
80
85
|
--sidebar-primary-foreground: oklch(0.984 0.003 247.858);
|
|
81
|
-
--sidebar-accent: oklch(0.
|
|
82
|
-
--sidebar-accent-foreground: oklch(0.
|
|
83
|
-
--sidebar-border: oklch(0.
|
|
84
|
-
--sidebar-ring: oklch(0.704 0.04
|
|
86
|
+
--sidebar-accent: oklch(0.955 0.012 292);
|
|
87
|
+
--sidebar-accent-foreground: oklch(0.227 0.017 290);
|
|
88
|
+
--sidebar-border: oklch(0.912 0.016 293.7);
|
|
89
|
+
--sidebar-ring: oklch(0.704 0.04 291);
|
|
85
90
|
}
|
|
86
91
|
|
|
87
92
|
.dark,
|
|
88
93
|
[data-theme="dark"] {
|
|
89
|
-
--background: oklch(0.
|
|
90
|
-
--foreground: oklch(0.
|
|
91
|
-
--card: oklch(0.
|
|
92
|
-
--card-foreground: oklch(0.
|
|
93
|
-
--popover: oklch(0.
|
|
94
|
-
--popover-foreground: oklch(0.
|
|
94
|
+
--background: oklch(0.192 0.016 290.5);
|
|
95
|
+
--foreground: oklch(0.943 0.012 291.3);
|
|
96
|
+
--card: oklch(0.232 0.019 289.4);
|
|
97
|
+
--card-foreground: oklch(0.943 0.012 291.3);
|
|
98
|
+
--popover: oklch(0.232 0.019 289.4);
|
|
99
|
+
--popover-foreground: oklch(0.943 0.012 291.3);
|
|
95
100
|
--primary: oklch(46% 0.1135 276.35);
|
|
96
|
-
--primary-foreground: oklch(0.
|
|
101
|
+
--primary-foreground: oklch(0.995 0.002 291.3);
|
|
97
102
|
/* Mixed 60 % toward white (the tonal Button labels' recipe): readable as text
|
|
98
103
|
on --background and --card. */
|
|
99
104
|
--primary-text: color-mix(in oklab, var(--primary) 40%, white);
|
|
100
|
-
/* Brighter than the light one: it is read as text on the dark surfaces (6.
|
|
101
|
-
on --background, 5.8:1 on --card
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
--secondary
|
|
105
|
-
--
|
|
106
|
-
--muted
|
|
107
|
-
|
|
108
|
-
--
|
|
105
|
+
/* Brighter than the light one: it is read as text on the dark surfaces (6.3:1
|
|
106
|
+
on --background, 5.8:1 on --card; 4.6:1 on its own 15 % tonal tint over a
|
|
107
|
+
Card). A filled secondary surface mixes it toward --background (the opaque
|
|
108
|
+
70 % mix) to keep 5.2:1 under its near-white text (4.9:1 over a Card). */
|
|
109
|
+
--secondary: oklch(0.675 0.1135 245.65);
|
|
110
|
+
--secondary-foreground: oklch(0.995 0.002 291.3);
|
|
111
|
+
--muted: oklch(0.27 0.022 290);
|
|
112
|
+
--muted-foreground: oklch(0.725 0.03 292.2);
|
|
113
|
+
/* 3.5:1 on --background, 3.2:1 on --card; the fill 3.3:1 on the track. */
|
|
114
|
+
--track: oklch(0.53 0.03 290);
|
|
109
115
|
--track-fill: oklch(0.85 0.09 276.35);
|
|
110
|
-
--tooltip: oklch(0.
|
|
111
|
-
--tooltip-foreground: oklch(0.446 0.043
|
|
112
|
-
--accent: oklch(0.
|
|
113
|
-
--accent-foreground: oklch(0.
|
|
116
|
+
--tooltip: oklch(0.925 0.012 291.3);
|
|
117
|
+
--tooltip-foreground: oklch(0.446 0.043 291);
|
|
118
|
+
--accent: oklch(0.27 0.022 290);
|
|
119
|
+
--accent-foreground: oklch(0.943 0.012 291.3);
|
|
114
120
|
--error: oklch(0.577 0.245 27.325);
|
|
115
|
-
--error-foreground: oklch(0.
|
|
121
|
+
--error-foreground: oklch(0.995 0.002 291.3);
|
|
116
122
|
/* --error stays the fill under near-white text; as text it would give only
|
|
117
|
-
|
|
123
|
+
3.9:1 on --background and 3.5:1 on --card. Lightened, 5.4 and 5.0:1. */
|
|
118
124
|
--error-text: color-mix(in oklab, var(--error) 80%, white);
|
|
119
125
|
/* The light brights: on the dark surfaces they read as text and as the
|
|
120
|
-
badge's 60% tint, which keeps its contrast
|
|
126
|
+
badge's 60% tint, which keeps its contrast under near-white text (success
|
|
127
|
+
7.1:1, info 5.6:1, error 9.1:1). */
|
|
121
128
|
--success: oklch(0.6 0.118 184.704);
|
|
122
|
-
--success-foreground: oklch(0.
|
|
129
|
+
--success-foreground: oklch(0.995 0.002 291.3);
|
|
123
130
|
--info: oklch(0.707 0.165 254.624);
|
|
124
|
-
--info-foreground: oklch(0.
|
|
125
|
-
/* Amber too, as text: 7
|
|
126
|
-
5.
|
|
127
|
-
|
|
131
|
+
--info-foreground: oklch(0.995 0.002 291.3);
|
|
132
|
+
/* Amber too, as text: 6.7:1 on --background and 6.1:1 on --card, 5.9:1 and
|
|
133
|
+
5.3:1 on its 10% tint; the badge's 60% fill under near-white text is
|
|
134
|
+
5.8:1 on a page and 5.5:1 on a Card. */
|
|
128
135
|
--warning: oklch(0.7 0.15 70);
|
|
129
|
-
--warning-foreground: oklch(0.
|
|
136
|
+
--warning-foreground: oklch(0.995 0.002 291.3);
|
|
130
137
|
--destructive: oklch(0.704 0.191 22.216);
|
|
131
|
-
--border: oklch(
|
|
132
|
-
--input: oklch(
|
|
133
|
-
--ring: oklch(0.551 0.
|
|
138
|
+
--border: oklch(0.301 0.025 291.4);
|
|
139
|
+
--input: oklch(0.34 0.027 291.4);
|
|
140
|
+
--ring: oklch(0.551 0.03 290);
|
|
134
141
|
--chart-1: oklch(0.488 0.243 264.376);
|
|
135
142
|
--chart-2: oklch(0.696 0.17 162.48);
|
|
136
143
|
--chart-3: oklch(0.769 0.188 70.08);
|
|
@@ -138,7 +145,7 @@
|
|
|
138
145
|
--chart-5: oklch(0.645 0.246 16.439);
|
|
139
146
|
/* The soft palette on the dark card: mid-tone fills (L 0.49, the sand a
|
|
140
147
|
warmer 0.5 0.1 75), light inks of the same hues. Ink on the card:
|
|
141
|
-
1 8.
|
|
148
|
+
1 8.44:1, 2 9.46, 3 10.17, 4 8.03, 5 8.06; at the 0.85 dim 6.17:1 or
|
|
142
149
|
more. Ink on its own fill (the outline): 1 3.13:1, 2 3.40, 3 3.69,
|
|
143
150
|
4 3.11, 5 3.13. Every pair at least 54 degrees and ΔEOK 0.109 apart. */
|
|
144
151
|
--chart-soft-1: oklch(0.49 0.08 255);
|
|
@@ -151,14 +158,14 @@
|
|
|
151
158
|
--chart-soft-4-ink: oklch(0.78 0.13 310);
|
|
152
159
|
--chart-soft-5: oklch(0.49 0.09 25);
|
|
153
160
|
--chart-soft-5-ink: oklch(0.78 0.11 25);
|
|
154
|
-
--sidebar: oklch(0.
|
|
155
|
-
--sidebar-foreground: oklch(0.
|
|
161
|
+
--sidebar: oklch(0.232 0.019 289.4);
|
|
162
|
+
--sidebar-foreground: oklch(0.943 0.012 291.3);
|
|
156
163
|
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
157
|
-
--sidebar-primary-foreground: oklch(0.
|
|
158
|
-
--sidebar-accent: oklch(0.
|
|
159
|
-
--sidebar-accent-foreground: oklch(0.
|
|
160
|
-
--sidebar-border: oklch(
|
|
161
|
-
--sidebar-ring: oklch(0.551 0.
|
|
164
|
+
--sidebar-primary-foreground: oklch(0.995 0.002 291.3);
|
|
165
|
+
--sidebar-accent: oklch(0.27 0.022 290);
|
|
166
|
+
--sidebar-accent-foreground: oklch(0.943 0.012 291.3);
|
|
167
|
+
--sidebar-border: oklch(0.301 0.025 291.4);
|
|
168
|
+
--sidebar-ring: oklch(0.551 0.03 290);
|
|
162
169
|
}
|
|
163
170
|
|
|
164
171
|
/* The tertiary colour (the strix violet), for accents and backgrounds beside
|
|
@@ -168,10 +175,10 @@
|
|
|
168
175
|
--tertiary-foreground: oklch(0.984 0.003 247.858);
|
|
169
176
|
}
|
|
170
177
|
|
|
171
|
-
/* Dark: lifted like --secondary, as it is read as text (
|
|
172
|
-
|
|
178
|
+
/* Dark: lifted like --secondary, as it is read as text (6.5:1 on --background,
|
|
179
|
+
5.9:1 on --card); its foreground is the dark surface, 6.5:1 on the fill. */
|
|
173
180
|
.dark,
|
|
174
181
|
[data-theme="dark"] {
|
|
175
182
|
--tertiary: oklch(0.7 0.15 310.75);
|
|
176
|
-
--tertiary-foreground: oklch(0.
|
|
183
|
+
--tertiary-foreground: oklch(0.192 0.016 290.5);
|
|
177
184
|
}
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
* one, which the zone never touches. */
|
|
24
24
|
--nxgt-tint-status: 20%;
|
|
25
25
|
/* The share of the tone's text colour in a hairline (--nxgt-tone-ring): 3:1
|
|
26
|
-
* or more against the surface in light and dark at
|
|
27
|
-
--nxgt-tone-ring-share:
|
|
26
|
+
* or more against the surface in light and dark at 68 %. */
|
|
27
|
+
--nxgt-tone-ring-share: 68%;
|
|
28
28
|
|
|
29
29
|
/* Neutral, the grey tone: the muted foreground, on the page colour. */
|
|
30
30
|
--neutral: var(--muted-foreground);
|
|
31
31
|
--neutral-foreground: var(--background);
|
|
32
32
|
|
|
33
|
-
/* Text: the tone darkened (80 % tone, 20 % black), 6.
|
|
33
|
+
/* Text: the tone darkened (80 % tone, 20 % black), 6.1:1 or more on
|
|
34
34
|
* --background and --card and on its own container (over either). Primary and error keep
|
|
35
35
|
* the tokens theme-tokens.css defines. */
|
|
36
36
|
--secondary-text: color-mix(in oklab, var(--secondary) 80%, black);
|
|
@@ -88,8 +88,8 @@
|
|
|
88
88
|
--neutral-text: color-mix(in oklab, var(--neutral) 75%, white);
|
|
89
89
|
|
|
90
90
|
/* On the fill: the dark theme lifts these tones, and near-white on them
|
|
91
|
-
* would give 2.5 to 3.5:1. The page colour is 5.
|
|
92
|
-
* Primary, tertiary and error keep their foreground (7.
|
|
91
|
+
* would give 2.5 to 3.5:1. The page colour is 5.0:1 or more on each.
|
|
92
|
+
* Primary, tertiary and error keep their foreground (7.2, 6.5, 4.7:1). */
|
|
93
93
|
--primary-on: var(--primary-foreground);
|
|
94
94
|
--tertiary-on: var(--tertiary-foreground);
|
|
95
95
|
--error-on: var(--error-foreground);
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
--chip-face: var(--background);
|
|
28
28
|
border-color: var(--chip-line);
|
|
29
29
|
background: var(--chip-face);
|
|
30
|
-
box-shadow: 0 1px 1px oklch(0.2 0.03
|
|
30
|
+
box-shadow: 0 1px 1px oklch(0.2 0.03 290 / 0.05);
|
|
31
31
|
}
|
|
32
32
|
.nxgt-chip[data-look="hairline"][data-size="sm"] {
|
|
33
33
|
--chip-r: 0.4375rem;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* ActivityLayout's `backdrop` prop: a node (a `Background` preset from
|
|
2
|
+
* `@nxgt/material/backgrounds`) drawn behind the frame instead of the built-in
|
|
3
|
+
* gradient. `data-backdrop` is on the layout's root only while one is given, so
|
|
4
|
+
* without it nothing here matches and the gradient is unchanged.
|
|
5
|
+
*
|
|
6
|
+
* Plain CSS, no inline `style`, in `@layer components` like the rest: an app's
|
|
7
|
+
* utilities still win. The layer itself (`data-slot="activity-layout-backdrop"`)
|
|
8
|
+
* is positioned by classes in activity-layout.tsx. */
|
|
9
|
+
@layer components {
|
|
10
|
+
/* The gradient's own tint and blobs give way to the backdrop. */
|
|
11
|
+
[data-slot="activity-layout"][data-backdrop] {
|
|
12
|
+
background-image: none;
|
|
13
|
+
}
|
|
14
|
+
[data-slot="activity-layout"][data-backdrop] > [data-layer] {
|
|
15
|
+
display: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* A preset fills the layer: the layer's size, not `100lvw x 100lvh`, which
|
|
19
|
+
* counts the scrollbar and a phone's toolbar. */
|
|
20
|
+
[data-slot="activity-layout-backdrop"] > [data-background] {
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: 100%;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
.dark,
|
|
21
21
|
[data-theme="dark"] {
|
|
22
22
|
/* The dark theme's primary is too dark to read on its surfaces (2.5:1), so
|
|
23
|
-
* the rail's label is a saturated lavender of its hue (
|
|
23
|
+
* the rail's label is a saturated lavender of its hue (5.3:1: lightness
|
|
24
24
|
* 0.72, chroma 0.15) on a denser pill (30 %, 35 % hovered). Light keeps the
|
|
25
25
|
* lightness and chroma of primary (the `l` and `c` fallbacks). */
|
|
26
26
|
--nxgt-sidebar-active-share: 30%;
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
* motion: reduced-motion.css ends every animation at once. */
|
|
11
11
|
@layer components {
|
|
12
12
|
.nxgt-scrim {
|
|
13
|
-
background-color: oklch(0.2 0.035
|
|
13
|
+
background-color: oklch(0.2 0.035 290 / 0.42);
|
|
14
14
|
}
|
|
15
15
|
:where(.dark, [data-theme="dark"]) .nxgt-scrim {
|
|
16
|
-
background-color: oklch(0.04 0.01
|
|
16
|
+
background-color: oklch(0.04 0.01 290 / 0.62);
|
|
17
17
|
}
|
|
18
18
|
.nxgt-scrim[data-scrim="blur"] {
|
|
19
19
|
-webkit-backdrop-filter: blur(6px) saturate(1.15);
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
var(--error) 5%,
|
|
27
27
|
var(--background)
|
|
28
28
|
);
|
|
29
|
-
--nxgt-field-border: color-mix(in oklab, var(--foreground)
|
|
29
|
+
--nxgt-field-border: color-mix(in oklab, var(--foreground) 14%, transparent);
|
|
30
30
|
--nxgt-field-border-hover: color-mix(
|
|
31
31
|
in oklab,
|
|
32
32
|
var(--foreground) 24%,
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
--tg-pill: color-mix(in oklab, var(--primary) 10%, var(--background));
|
|
14
14
|
--tg-ring: color-mix(in oklab, var(--primary-text) 82%, var(--background));
|
|
15
15
|
--tg-lift:
|
|
16
|
-
0 1px 2px oklch(0.2 0.04
|
|
17
|
-
0 2px 6px -2px oklch(0.2 0.04
|
|
16
|
+
0 1px 2px oklch(0.2 0.04 290 / 0.1),
|
|
17
|
+
0 2px 6px -2px oklch(0.2 0.04 290 / 0.12);
|
|
18
18
|
--tg-i: 0;
|
|
19
19
|
--tg-n: 1;
|
|
20
20
|
position: relative;
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
--tg-lift:
|
|
24
24
|
0 1px 2px oklch(0.25 0.06 270 / 0.08),
|
|
25
25
|
0 3px 8px -3px oklch(0.35 0.1 276 / 0.22);
|
|
26
|
-
--tg-rest: 0 1px 1px oklch(0.2 0.03
|
|
26
|
+
--tg-rest: 0 1px 1px oklch(0.2 0.03 290 / 0.04);
|
|
27
27
|
gap: 0.375rem;
|
|
28
28
|
}
|
|
29
29
|
.nxgt-toggle-group[data-variant="separate"][data-size="sm"] {
|