@apliteni/apliteni-ui 0.7.1 → 0.8.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.
@@ -118,6 +118,10 @@
118
118
  --surface-2: #1b1927;
119
119
  --surface-3: #2a2739;
120
120
  --seg-active-bg: #34314a; /* raised pill — clearly above the inset track in dark */
121
+ /* The raised handle on a control track (switch knob). Stays white in both
122
+ themes and under every accent: it has to read on the plain track AND on
123
+ the accent fill the track takes when the control is on. */
124
+ --control-knob: #ffffff;
121
125
  --border: #332f45;
122
126
  --border-strong: #453f5c;
123
127
 
@@ -131,18 +135,46 @@
131
135
  --accent-contrast: #ffffff;
132
136
  --ink: #e9e7f0;
133
137
 
138
+ /* Ink that reads on a SIGNAL colour once that colour becomes a fill — the
139
+ glyph in a success circle, the text in a solid toast. The signal hues sit
140
+ high enough in dark and mid-tone in light that near-black wins on all of
141
+ them; the pink danger fill deliberately takes light ink instead. */
142
+ --signal-contrast: #0c0c0c;
143
+ --danger-contrast: #ffffff;
144
+
134
145
  --glow-green: rgba(152, 255, 143, 0.16);
135
146
  --glow-purple: rgba(155, 93, 255, 0.18);
136
147
  --glow-cyan: rgba(32, 220, 245, 0.14);
137
148
  --glow-pink: rgba(227, 91, 143, 0.16);
138
149
 
150
+ /* Status-chip paint — the ink + fill of a badge / pill. Dark tints with the
151
+ signal's own glow; light needs a solid, deepened pair (the glows wash out
152
+ on white), which is why these are a token pair and not just --green etc. */
153
+ --chip-success-ink: var(--green);
154
+ --chip-success-fill: var(--glow-green);
155
+ --chip-warn-ink: var(--amber);
156
+ --chip-warn-fill: color-mix(in srgb, var(--amber) 15%, transparent);
157
+ --chip-danger-ink: var(--pink);
158
+ --chip-danger-fill: var(--glow-pink);
159
+
139
160
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.28);
140
161
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
141
162
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.5);
142
163
  /* Tight elevation for the active segmented pill — stays contained in its track. */
143
164
  --shadow-seg: 0 1px 2px rgba(0, 0, 0, 0.45), 0 2px 4px rgba(0, 0, 0, 0.3);
165
+ /* Resting elevation for a card. Dark cards are borderless — the surface does
166
+ the grouping on its own — so they cast nothing. */
167
+ --shadow-card: none;
144
168
  --ring: 0 0 0 3px rgba(155, 93, 255, 0.35);
145
169
 
170
+ /* The ink a cast shadow is made of, and the specular white that reads as
171
+ gloss on a raised surface. Effects mix these instead of writing rgba(). */
172
+ --shadow-ink: #000000;
173
+ --sheen: #ffffff;
174
+
175
+ /* Backdrop that dims the page behind an overlay (drawer, modal, composer). */
176
+ --scrim: rgba(0, 0, 0, 0.58);
177
+
146
178
  /* Accent gradient stops (hero headline, marketing) — overridden per sub-theme. */
147
179
  --grad-from: var(--purple-light);
148
180
  --grad-to: var(--cyan);
@@ -170,6 +202,7 @@
170
202
  --surface-2: #f5f6f9;
171
203
  --surface-3: #eceef3;
172
204
  --seg-active-bg: #ffffff; /* white pill raised above the grey track in light */
205
+ --control-knob: #ffffff;
173
206
  --border: #e4e7ee;
174
207
  --border-strong: #cdd2dc;
175
208
 
@@ -183,18 +216,39 @@
183
216
  --accent-contrast: #ffffff;
184
217
  --ink: #1e232b;
185
218
 
219
+ --signal-contrast: #0c0c0c;
220
+ --danger-contrast: #ffffff;
221
+
186
222
  --glow-green: rgba(30, 150, 50, 0.1);
187
223
  --glow-purple: rgba(106, 45, 204, 0.09);
188
224
  --glow-cyan: rgba(12, 143, 168, 0.1);
189
225
  --glow-pink: rgba(214, 60, 114, 0.1);
190
226
 
227
+ /* Solid chip pairs for the white app. Each ink is deepened past its signal
228
+ hue so 10px uppercase text clears WCAG AA on its own pale fill —
229
+ e.g. --pink (#d63c72) on #fbe0ea is 3.6:1, #b7295f is 4.9:1. */
230
+ --chip-success-ink: #1f7a38;
231
+ --chip-success-fill: #dff3e4;
232
+ --chip-warn-ink: #8a5e00;
233
+ --chip-warn-fill: #fbedd2;
234
+ --chip-danger-ink: #b7295f;
235
+ --chip-danger-fill: #fbe0ea;
236
+
191
237
  --shadow-sm: 0 1px 3px rgba(30, 30, 50, 0.08);
192
238
  --shadow-md: 0 8px 24px rgba(30, 30, 50, 0.1);
193
239
  --shadow-lg: 0 18px 50px rgba(30, 30, 50, 0.16);
194
240
  /* Tight elevation for the active segmented pill — stays contained in its track. */
195
241
  --shadow-seg: 0 1px 2px rgba(30, 30, 50, 0.12), 0 2px 4px rgba(30, 30, 50, 0.1);
242
+ /* A white card on a white page needs its own, flatter-than-sm elevation:
243
+ a hairline contact shadow plus a wide soft one (see card.css). */
244
+ --shadow-card: 0 1px 2px rgba(20, 25, 45, 0.04), 0 4px 14px rgba(20, 25, 45, 0.05);
196
245
  --ring: 0 0 0 3px rgba(106, 45, 204, 0.25);
197
246
 
247
+ --shadow-ink: #1e1e32;
248
+ --sheen: #ffffff;
249
+
250
+ --scrim: rgba(20, 22, 40, 0.38);
251
+
198
252
  --grad-from: var(--purple-light);
199
253
  --grad-to: var(--cyan);
200
254
  }