@citrusworx/juiceui 0.6.0 → 0.7.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/README.md +42 -1
- package/dist/index.css +413 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +848 -98
- package/dist/js/juice.d.ts +6 -0
- package/dist/js/src/drawer/drawer-runtime.d.ts +30 -0
- package/dist/js/src/popover/popover-runtime.d.ts +56 -0
- package/dist/js/src/toast/toast-runtime.d.ts +45 -0
- package/dist/themes/aquaflux.css +230 -0
- package/dist/themes/citrusmint.css +218 -0
- package/dist/themes/kiwipress.css +223 -1
- package/dist/themes/tide.css +227 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/*
|
|
3
3
|
KiwiPress is a Juice theme.
|
|
4
4
|
The theme paints Juice's component primitives — it does not define them.
|
|
5
|
-
Structure (hero, card, cta, panel, modal, badge, stat, workflow, search-panel,
|
|
5
|
+
Structure (hero, card, cta, panel, modal, drawer, toast, popover, badge, stat, workflow, search-panel,
|
|
6
6
|
tabs, plan, section-header) lives in src/components. The theme only owns:
|
|
7
7
|
- color relationships
|
|
8
8
|
- typography voice
|
|
@@ -133,6 +133,77 @@
|
|
|
133
133
|
--juice-modal-close-color: var(--kw-modal-close-color);
|
|
134
134
|
--juice-modal-close-hover: var(--kw-modal-close-hover);
|
|
135
135
|
--juice-modal-focus-ring: var(--kw-modal-focus-ring);
|
|
136
|
+
/* Drawer chrome — dimming scrim + edge panel from existing tokens.
|
|
137
|
+
Close is a surface control, not the kiwi CTA. */
|
|
138
|
+
--kw-drawer-overlay: color-mix(in srgb, var(--kw-surface-deep) 75%, transparent);
|
|
139
|
+
--kw-drawer-panel: var(--kw-surface);
|
|
140
|
+
--kw-drawer-panel-border: var(--kw-border);
|
|
141
|
+
--kw-drawer-panel-shadow: 0 24px 56px -24px var(--kw-shadow-strong);
|
|
142
|
+
--kw-drawer-close: var(--kw-surface);
|
|
143
|
+
--kw-drawer-close-color: var(--kw-heading);
|
|
144
|
+
--kw-drawer-close-hover: var(--kw-surface-muted);
|
|
145
|
+
--kw-drawer-focus-ring: var(--kw-accent);
|
|
146
|
+
--juice-drawer-overlay: var(--kw-drawer-overlay);
|
|
147
|
+
--juice-drawer-panel: var(--kw-drawer-panel);
|
|
148
|
+
--juice-drawer-panel-border: var(--kw-drawer-panel-border);
|
|
149
|
+
--juice-drawer-panel-shadow: var(--kw-drawer-panel-shadow);
|
|
150
|
+
--juice-drawer-close: var(--kw-drawer-close);
|
|
151
|
+
--juice-drawer-close-color: var(--kw-drawer-close-color);
|
|
152
|
+
--juice-drawer-close-hover: var(--kw-drawer-close-hover);
|
|
153
|
+
--juice-drawer-focus-ring: var(--kw-drawer-focus-ring);
|
|
154
|
+
/* Toast chrome — non-modal stack + panel from existing tokens.
|
|
155
|
+
Close is a surface control, not the kiwi CTA. Status remaps
|
|
156
|
+
kiwi / cornflower / marmalade identity (no new hue family). */
|
|
157
|
+
--kw-toast-panel: var(--kw-surface);
|
|
158
|
+
--kw-toast-panel-border: var(--kw-border);
|
|
159
|
+
--kw-toast-panel-shadow: 0 18px 40px -24px var(--kw-shadow-strong);
|
|
160
|
+
--kw-toast-ink: var(--kw-text);
|
|
161
|
+
--kw-toast-close: var(--kw-surface);
|
|
162
|
+
--kw-toast-close-color: var(--kw-heading);
|
|
163
|
+
--kw-toast-close-hover: var(--kw-surface-muted);
|
|
164
|
+
--kw-toast-focus-ring: var(--kw-accent);
|
|
165
|
+
--kw-toast-success: var(--kw-accent);
|
|
166
|
+
--kw-toast-success-soft: var(--kw-accent-soft);
|
|
167
|
+
--kw-toast-error: var(--kw-surface-deep);
|
|
168
|
+
--kw-toast-error-soft: color-mix(in srgb, var(--kw-surface-deep) 10%, var(--kw-surface));
|
|
169
|
+
--kw-toast-info: var(--kw-tier-content);
|
|
170
|
+
--kw-toast-info-soft: var(--kw-tier-content-soft);
|
|
171
|
+
--kw-toast-warning: var(--kw-warm);
|
|
172
|
+
--kw-toast-warning-soft: var(--kw-warm-soft);
|
|
173
|
+
--juice-toast-panel: var(--kw-toast-panel);
|
|
174
|
+
--juice-toast-panel-border: var(--kw-toast-panel-border);
|
|
175
|
+
--juice-toast-panel-shadow: var(--kw-toast-panel-shadow);
|
|
176
|
+
--juice-toast-ink: var(--kw-toast-ink);
|
|
177
|
+
--juice-toast-close: var(--kw-toast-close);
|
|
178
|
+
--juice-toast-close-color: var(--kw-toast-close-color);
|
|
179
|
+
--juice-toast-close-hover: var(--kw-toast-close-hover);
|
|
180
|
+
--juice-toast-focus-ring: var(--kw-toast-focus-ring);
|
|
181
|
+
--juice-toast-success: var(--kw-toast-success);
|
|
182
|
+
--juice-toast-success-soft: var(--kw-toast-success-soft);
|
|
183
|
+
--juice-toast-error: var(--kw-toast-error);
|
|
184
|
+
--juice-toast-error-soft: var(--kw-toast-error-soft);
|
|
185
|
+
--juice-toast-info: var(--kw-toast-info);
|
|
186
|
+
--juice-toast-info-soft: var(--kw-toast-info-soft);
|
|
187
|
+
--juice-toast-warning: var(--kw-toast-warning);
|
|
188
|
+
--juice-toast-warning-soft: var(--kw-toast-warning-soft);
|
|
189
|
+
/* Popover chrome — anchored floating panel from existing tokens.
|
|
190
|
+
Close is a surface control, not the kiwi CTA. */
|
|
191
|
+
--kw-popover-panel: var(--kw-surface);
|
|
192
|
+
--kw-popover-panel-border: var(--kw-border);
|
|
193
|
+
--kw-popover-panel-shadow: 0 18px 40px -24px var(--kw-shadow-strong);
|
|
194
|
+
--kw-popover-ink: var(--kw-text);
|
|
195
|
+
--kw-popover-close: var(--kw-surface);
|
|
196
|
+
--kw-popover-close-color: var(--kw-heading);
|
|
197
|
+
--kw-popover-close-hover: var(--kw-surface-muted);
|
|
198
|
+
--kw-popover-focus-ring: var(--kw-accent);
|
|
199
|
+
--juice-popover-panel: var(--kw-popover-panel);
|
|
200
|
+
--juice-popover-panel-border: var(--kw-popover-panel-border);
|
|
201
|
+
--juice-popover-panel-shadow: var(--kw-popover-panel-shadow);
|
|
202
|
+
--juice-popover-ink: var(--kw-popover-ink);
|
|
203
|
+
--juice-popover-close: var(--kw-popover-close);
|
|
204
|
+
--juice-popover-close-color: var(--kw-popover-close-color);
|
|
205
|
+
--juice-popover-close-hover: var(--kw-popover-close-hover);
|
|
206
|
+
--juice-popover-focus-ring: var(--kw-popover-focus-ring);
|
|
136
207
|
background-color: var(--kw-page);
|
|
137
208
|
color: var(--kw-text);
|
|
138
209
|
font-family: var(--kw-body-font);
|
|
@@ -1335,6 +1406,157 @@
|
|
|
1335
1406
|
outline-offset: 2px;
|
|
1336
1407
|
}
|
|
1337
1408
|
|
|
1409
|
+
/* Drawer chrome. Generic KiwiPress buttons are kiwi CTAs;
|
|
1410
|
+
[drawer-close] stays a surface control. */
|
|
1411
|
+
[theme=kiwipress] [drawer-overlay] {
|
|
1412
|
+
background-color: var(--juice-drawer-overlay);
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
[theme=kiwipress] [drawer]:not([surfaceTone]) {
|
|
1416
|
+
background-color: var(--juice-drawer-panel);
|
|
1417
|
+
border: 1px solid var(--juice-drawer-panel-border);
|
|
1418
|
+
box-shadow: var(--juice-drawer-panel-shadow);
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
[theme=kiwipress] button[drawer-close],
|
|
1422
|
+
[theme=kiwipress] [drawer-close] {
|
|
1423
|
+
background-image: none;
|
|
1424
|
+
background-color: var(--juice-drawer-close);
|
|
1425
|
+
color: var(--juice-drawer-close-color);
|
|
1426
|
+
box-shadow: none;
|
|
1427
|
+
transform: none;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
[theme=kiwipress] button[drawer-close]:hover,
|
|
1431
|
+
[theme=kiwipress] [drawer-close]:hover {
|
|
1432
|
+
background-color: var(--juice-drawer-close-hover);
|
|
1433
|
+
transform: none;
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
[theme=kiwipress] button[drawer-close]:focus-visible,
|
|
1437
|
+
[theme=kiwipress] [drawer-close]:focus-visible {
|
|
1438
|
+
outline: 2px solid var(--juice-drawer-focus-ring);
|
|
1439
|
+
outline-offset: 2px;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
/* Toast chrome. Generic KiwiPress buttons are kiwi CTAs;
|
|
1443
|
+
[toast-close] stays a surface control. */
|
|
1444
|
+
[theme=kiwipress] [toast]:not([surfaceTone]) {
|
|
1445
|
+
background-color: var(--juice-toast-panel);
|
|
1446
|
+
border: 1px solid var(--juice-toast-panel-border);
|
|
1447
|
+
box-shadow: var(--juice-toast-panel-shadow);
|
|
1448
|
+
color: var(--juice-toast-ink);
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
[theme=kiwipress] [toast-title],
|
|
1452
|
+
[theme=kiwipress] [toast-body] {
|
|
1453
|
+
color: var(--juice-toast-ink);
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
[theme=kiwipress] [toast=success]:not([surfaceTone]) {
|
|
1457
|
+
background-color: var(--juice-toast-success-soft);
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
[theme=kiwipress] [toast=success] {
|
|
1461
|
+
border-left-color: var(--juice-toast-success);
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
[theme=kiwipress] [toast=success] [toast-title] {
|
|
1465
|
+
color: var(--juice-toast-success);
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
[theme=kiwipress] [toast=error]:not([surfaceTone]) {
|
|
1469
|
+
background-color: var(--juice-toast-error-soft);
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
[theme=kiwipress] [toast=error] {
|
|
1473
|
+
border-left-color: var(--juice-toast-error);
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
[theme=kiwipress] [toast=error] [toast-title] {
|
|
1477
|
+
color: var(--juice-toast-error);
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
[theme=kiwipress] [toast=info]:not([surfaceTone]) {
|
|
1481
|
+
background-color: var(--juice-toast-info-soft);
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
[theme=kiwipress] [toast=info] {
|
|
1485
|
+
border-left-color: var(--juice-toast-info);
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
[theme=kiwipress] [toast=info] [toast-title] {
|
|
1489
|
+
color: var(--juice-toast-info);
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
[theme=kiwipress] [toast=warning]:not([surfaceTone]) {
|
|
1493
|
+
background-color: var(--juice-toast-warning-soft);
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
[theme=kiwipress] [toast=warning] {
|
|
1497
|
+
border-left-color: var(--juice-toast-warning);
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
[theme=kiwipress] [toast=warning] [toast-title] {
|
|
1501
|
+
color: var(--juice-toast-warning);
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
[theme=kiwipress] button[toast-close],
|
|
1505
|
+
[theme=kiwipress] [toast-close] {
|
|
1506
|
+
background-image: none;
|
|
1507
|
+
background-color: var(--juice-toast-close);
|
|
1508
|
+
color: var(--juice-toast-close-color);
|
|
1509
|
+
box-shadow: none;
|
|
1510
|
+
transform: none;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
[theme=kiwipress] button[toast-close]:hover,
|
|
1514
|
+
[theme=kiwipress] [toast-close]:hover {
|
|
1515
|
+
background-color: var(--juice-toast-close-hover);
|
|
1516
|
+
transform: none;
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
[theme=kiwipress] button[toast-close]:focus-visible,
|
|
1520
|
+
[theme=kiwipress] [toast-close]:focus-visible {
|
|
1521
|
+
outline: 2px solid var(--juice-toast-focus-ring);
|
|
1522
|
+
outline-offset: 2px;
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
/* Popover chrome. Generic KiwiPress buttons are kiwi CTAs;
|
|
1526
|
+
[popover-close] stays a surface control. */
|
|
1527
|
+
[theme=kiwipress] [popover-panel]:not([surfaceTone]) {
|
|
1528
|
+
background-color: var(--juice-popover-panel);
|
|
1529
|
+
border: 1px solid var(--juice-popover-panel-border);
|
|
1530
|
+
box-shadow: var(--juice-popover-panel-shadow);
|
|
1531
|
+
color: var(--juice-popover-ink);
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
[theme=kiwipress] [popover-header],
|
|
1535
|
+
[theme=kiwipress] [popover-body] {
|
|
1536
|
+
color: var(--juice-popover-ink);
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
[theme=kiwipress] button[popover-close],
|
|
1540
|
+
[theme=kiwipress] [popover-close] {
|
|
1541
|
+
background-image: none;
|
|
1542
|
+
background-color: var(--juice-popover-close);
|
|
1543
|
+
color: var(--juice-popover-close-color);
|
|
1544
|
+
box-shadow: none;
|
|
1545
|
+
transform: none;
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
[theme=kiwipress] button[popover-close]:hover,
|
|
1549
|
+
[theme=kiwipress] [popover-close]:hover {
|
|
1550
|
+
background-color: var(--juice-popover-close-hover);
|
|
1551
|
+
transform: none;
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
[theme=kiwipress] button[popover-close]:focus-visible,
|
|
1555
|
+
[theme=kiwipress] [popover-close]:focus-visible {
|
|
1556
|
+
outline: 2px solid var(--juice-popover-focus-ring);
|
|
1557
|
+
outline-offset: 2px;
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1338
1560
|
/* Accordion wrappers are structural, not default section surfaces.
|
|
1339
1561
|
Generic KiwiPress buttons are kiwi CTAs; triggers stay surface controls. */
|
|
1340
1562
|
[theme=kiwipress] :where([accordion]) {
|
package/dist/themes/tide.css
CHANGED
|
@@ -133,6 +133,76 @@
|
|
|
133
133
|
--juice-modal-close-color: var(--tide-modal-close-color);
|
|
134
134
|
--juice-modal-close-hover: var(--tide-modal-close-hover);
|
|
135
135
|
--juice-modal-focus-ring: var(--tide-modal-focus-ring);
|
|
136
|
+
/* Drawer chrome — dark scrim + elevated dark panel, not white glass.
|
|
137
|
+
Close is a surface control, not the CTA gradient. */
|
|
138
|
+
--tide-drawer-overlay: color-mix(in srgb, var(--tide-page) 72%, transparent);
|
|
139
|
+
--tide-drawer-panel: var(--tide-surface-strong);
|
|
140
|
+
--tide-drawer-panel-border: var(--tide-border);
|
|
141
|
+
--tide-drawer-panel-shadow: var(--tide-line-glow), 0 24px 56px -22px var(--tide-shadow);
|
|
142
|
+
--tide-drawer-close: var(--tide-surface-strong);
|
|
143
|
+
--tide-drawer-close-color: var(--tide-heading);
|
|
144
|
+
--tide-drawer-close-hover: var(--tide-surface-muted);
|
|
145
|
+
--tide-drawer-focus-ring: var(--tide-accent);
|
|
146
|
+
--juice-drawer-overlay: var(--tide-drawer-overlay);
|
|
147
|
+
--juice-drawer-panel: var(--tide-drawer-panel);
|
|
148
|
+
--juice-drawer-panel-border: var(--tide-drawer-panel-border);
|
|
149
|
+
--juice-drawer-panel-shadow: var(--tide-drawer-panel-shadow);
|
|
150
|
+
--juice-drawer-close: var(--tide-drawer-close);
|
|
151
|
+
--juice-drawer-close-color: var(--tide-drawer-close-color);
|
|
152
|
+
--juice-drawer-close-hover: var(--tide-drawer-close-hover);
|
|
153
|
+
--juice-drawer-focus-ring: var(--tide-drawer-focus-ring);
|
|
154
|
+
/* Toast chrome — dark panel, not white glass. Close is a surface
|
|
155
|
+
control, not the CTA gradient. Status remaps lagoon identity. */
|
|
156
|
+
--tide-toast-panel: var(--tide-surface-strong);
|
|
157
|
+
--tide-toast-panel-border: var(--tide-border);
|
|
158
|
+
--tide-toast-panel-shadow: var(--tide-line-glow), 0 18px 40px -22px var(--tide-shadow);
|
|
159
|
+
--tide-toast-ink: var(--tide-text);
|
|
160
|
+
--tide-toast-close: var(--tide-surface-strong);
|
|
161
|
+
--tide-toast-close-color: var(--tide-heading);
|
|
162
|
+
--tide-toast-close-hover: var(--tide-surface-muted);
|
|
163
|
+
--tide-toast-focus-ring: var(--tide-accent);
|
|
164
|
+
--tide-toast-success: var(--tide-accent);
|
|
165
|
+
--tide-toast-success-soft: color-mix(in srgb, var(--tide-accent) 16%, var(--tide-surface-strong));
|
|
166
|
+
--tide-toast-error: var(--tide-accent-strong);
|
|
167
|
+
--tide-toast-error-soft: color-mix(in srgb, var(--tide-accent-strong) 14%, var(--tide-surface-strong));
|
|
168
|
+
--tide-toast-info: var(--tide-accent-soft);
|
|
169
|
+
--tide-toast-info-soft: var(--tide-surface-muted);
|
|
170
|
+
--tide-toast-warning: var(--tide-page-tint);
|
|
171
|
+
--tide-toast-warning-soft: color-mix(in srgb, var(--tide-page-tint) 22%, var(--tide-surface-strong));
|
|
172
|
+
--juice-toast-panel: var(--tide-toast-panel);
|
|
173
|
+
--juice-toast-panel-border: var(--tide-toast-panel-border);
|
|
174
|
+
--juice-toast-panel-shadow: var(--tide-toast-panel-shadow);
|
|
175
|
+
--juice-toast-ink: var(--tide-toast-ink);
|
|
176
|
+
--juice-toast-close: var(--tide-toast-close);
|
|
177
|
+
--juice-toast-close-color: var(--tide-toast-close-color);
|
|
178
|
+
--juice-toast-close-hover: var(--tide-toast-close-hover);
|
|
179
|
+
--juice-toast-focus-ring: var(--tide-toast-focus-ring);
|
|
180
|
+
--juice-toast-success: var(--tide-toast-success);
|
|
181
|
+
--juice-toast-success-soft: var(--tide-toast-success-soft);
|
|
182
|
+
--juice-toast-error: var(--tide-toast-error);
|
|
183
|
+
--juice-toast-error-soft: var(--tide-toast-error-soft);
|
|
184
|
+
--juice-toast-info: var(--tide-toast-info);
|
|
185
|
+
--juice-toast-info-soft: var(--tide-toast-info-soft);
|
|
186
|
+
--juice-toast-warning: var(--tide-toast-warning);
|
|
187
|
+
--juice-toast-warning-soft: var(--tide-toast-warning-soft);
|
|
188
|
+
/* Popover chrome — dark panel, not white glass. Close is a surface
|
|
189
|
+
control, not the CTA gradient. Distinct from modal/drawer/toast. */
|
|
190
|
+
--tide-popover-panel: var(--tide-surface-strong);
|
|
191
|
+
--tide-popover-panel-border: var(--tide-border);
|
|
192
|
+
--tide-popover-panel-shadow: var(--tide-line-glow), 0 18px 40px -22px var(--tide-shadow);
|
|
193
|
+
--tide-popover-ink: var(--tide-text);
|
|
194
|
+
--tide-popover-close: var(--tide-surface-strong);
|
|
195
|
+
--tide-popover-close-color: var(--tide-heading);
|
|
196
|
+
--tide-popover-close-hover: var(--tide-surface-muted);
|
|
197
|
+
--tide-popover-focus-ring: var(--tide-accent);
|
|
198
|
+
--juice-popover-panel: var(--tide-popover-panel);
|
|
199
|
+
--juice-popover-panel-border: var(--tide-popover-panel-border);
|
|
200
|
+
--juice-popover-panel-shadow: var(--tide-popover-panel-shadow);
|
|
201
|
+
--juice-popover-ink: var(--tide-popover-ink);
|
|
202
|
+
--juice-popover-close: var(--tide-popover-close);
|
|
203
|
+
--juice-popover-close-color: var(--tide-popover-close-color);
|
|
204
|
+
--juice-popover-close-hover: var(--tide-popover-close-hover);
|
|
205
|
+
--juice-popover-focus-ring: var(--tide-popover-focus-ring);
|
|
136
206
|
min-height: 100vh;
|
|
137
207
|
background-color: var(--tide-page);
|
|
138
208
|
background-image: var(--tide-page-background);
|
|
@@ -479,4 +549,161 @@
|
|
|
479
549
|
[theme=tide] [modal-close]:focus-visible {
|
|
480
550
|
outline: 2px solid var(--juice-modal-focus-ring);
|
|
481
551
|
outline-offset: 2px;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
/* Drawer chrome. Generic Tide buttons use --tide-button-background;
|
|
555
|
+
[drawer-close] stays a surface control. Panel stays dark. */
|
|
556
|
+
[theme=tide] [drawer-overlay] {
|
|
557
|
+
background-color: var(--juice-drawer-overlay);
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
[theme=tide] [drawer]:not([surfaceTone]) {
|
|
561
|
+
background-color: var(--juice-drawer-panel);
|
|
562
|
+
border: 1px solid var(--juice-drawer-panel-border);
|
|
563
|
+
box-shadow: var(--juice-drawer-panel-shadow);
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
[theme=tide] button[drawer-close],
|
|
567
|
+
[theme=tide] [drawer-close] {
|
|
568
|
+
background-image: none;
|
|
569
|
+
background-color: var(--juice-drawer-close);
|
|
570
|
+
color: var(--juice-drawer-close-color);
|
|
571
|
+
box-shadow: none;
|
|
572
|
+
transform: none;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
[theme=tide] button[drawer-close]:hover,
|
|
576
|
+
[theme=tide] [drawer-close]:hover {
|
|
577
|
+
background-image: none;
|
|
578
|
+
background-color: var(--juice-drawer-close-hover);
|
|
579
|
+
color: var(--juice-drawer-close-color);
|
|
580
|
+
transform: none;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
[theme=tide] button[drawer-close]:focus-visible,
|
|
584
|
+
[theme=tide] [drawer-close]:focus-visible {
|
|
585
|
+
outline: 2px solid var(--juice-drawer-focus-ring);
|
|
586
|
+
outline-offset: 2px;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
/* Toast chrome. Generic Tide buttons use --tide-button-background;
|
|
590
|
+
[toast-close] stays a surface control. Panel stays dark. */
|
|
591
|
+
[theme=tide] [toast]:not([surfaceTone]) {
|
|
592
|
+
background-color: var(--juice-toast-panel);
|
|
593
|
+
border: 1px solid var(--juice-toast-panel-border);
|
|
594
|
+
box-shadow: var(--juice-toast-panel-shadow);
|
|
595
|
+
color: var(--juice-toast-ink);
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
[theme=tide] [toast-title],
|
|
599
|
+
[theme=tide] [toast-body] {
|
|
600
|
+
color: var(--juice-toast-ink);
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
[theme=tide] [toast=success]:not([surfaceTone]) {
|
|
604
|
+
background-color: var(--juice-toast-success-soft);
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
[theme=tide] [toast=success] {
|
|
608
|
+
border-left-color: var(--juice-toast-success);
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
[theme=tide] [toast=success] [toast-title] {
|
|
612
|
+
color: var(--juice-toast-success);
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
[theme=tide] [toast=error]:not([surfaceTone]) {
|
|
616
|
+
background-color: var(--juice-toast-error-soft);
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
[theme=tide] [toast=error] {
|
|
620
|
+
border-left-color: var(--juice-toast-error);
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
[theme=tide] [toast=error] [toast-title] {
|
|
624
|
+
color: var(--juice-toast-error);
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
[theme=tide] [toast=info]:not([surfaceTone]) {
|
|
628
|
+
background-color: var(--juice-toast-info-soft);
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
[theme=tide] [toast=info] {
|
|
632
|
+
border-left-color: var(--juice-toast-info);
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
[theme=tide] [toast=info] [toast-title] {
|
|
636
|
+
color: var(--juice-toast-info);
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
[theme=tide] [toast=warning]:not([surfaceTone]) {
|
|
640
|
+
background-color: var(--juice-toast-warning-soft);
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
[theme=tide] [toast=warning] {
|
|
644
|
+
border-left-color: var(--juice-toast-warning);
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
[theme=tide] [toast=warning] [toast-title] {
|
|
648
|
+
color: var(--juice-toast-warning);
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
[theme=tide] button[toast-close],
|
|
652
|
+
[theme=tide] [toast-close] {
|
|
653
|
+
background-image: none;
|
|
654
|
+
background-color: var(--juice-toast-close);
|
|
655
|
+
color: var(--juice-toast-close-color);
|
|
656
|
+
box-shadow: none;
|
|
657
|
+
transform: none;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
[theme=tide] button[toast-close]:hover,
|
|
661
|
+
[theme=tide] [toast-close]:hover {
|
|
662
|
+
background-image: none;
|
|
663
|
+
background-color: var(--juice-toast-close-hover);
|
|
664
|
+
color: var(--juice-toast-close-color);
|
|
665
|
+
transform: none;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
[theme=tide] button[toast-close]:focus-visible,
|
|
669
|
+
[theme=tide] [toast-close]:focus-visible {
|
|
670
|
+
outline: 2px solid var(--juice-toast-focus-ring);
|
|
671
|
+
outline-offset: 2px;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/* Popover chrome. Generic Tide buttons use --tide-button-background;
|
|
675
|
+
[popover-close] stays a surface control. Panel stays dark. */
|
|
676
|
+
[theme=tide] [popover-panel]:not([surfaceTone]) {
|
|
677
|
+
background-color: var(--juice-popover-panel);
|
|
678
|
+
border: 1px solid var(--juice-popover-panel-border);
|
|
679
|
+
box-shadow: var(--juice-popover-panel-shadow);
|
|
680
|
+
color: var(--juice-popover-ink);
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
[theme=tide] [popover-header],
|
|
684
|
+
[theme=tide] [popover-body] {
|
|
685
|
+
color: var(--juice-popover-ink);
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
[theme=tide] button[popover-close],
|
|
689
|
+
[theme=tide] [popover-close] {
|
|
690
|
+
background-image: none;
|
|
691
|
+
background-color: var(--juice-popover-close);
|
|
692
|
+
color: var(--juice-popover-close-color);
|
|
693
|
+
box-shadow: none;
|
|
694
|
+
transform: none;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
[theme=tide] button[popover-close]:hover,
|
|
698
|
+
[theme=tide] [popover-close]:hover {
|
|
699
|
+
background-image: none;
|
|
700
|
+
background-color: var(--juice-popover-close-hover);
|
|
701
|
+
color: var(--juice-popover-close-color);
|
|
702
|
+
transform: none;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
[theme=tide] button[popover-close]:focus-visible,
|
|
706
|
+
[theme=tide] [popover-close]:focus-visible {
|
|
707
|
+
outline: 2px solid var(--juice-popover-focus-ring);
|
|
708
|
+
outline-offset: 2px;
|
|
482
709
|
}
|