@atom63/ui-react 0.2.0-beta.12 → 0.2.0-beta.13
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 +12 -0
- package/dist/{button-oVOZ5VpA.d.ts → button-DMnQeAEL.d.ts} +2 -1
- package/dist/calendar/index.d.ts +2 -1
- package/dist/{chunk-CVKG2VJD.js → chunk-IFBF2IA3.js} +14 -5
- package/dist/chunk-IFBF2IA3.js.map +1 -0
- package/dist/{chunk-CN4A5CNH.js → chunk-RLF45GBS.js} +149 -49
- package/dist/chunk-RLF45GBS.js.map +1 -0
- package/dist/{chunk-R67OZVA2.js → chunk-WL27K6MO.js} +3 -2
- package/dist/chunk-WL27K6MO.js.map +1 -0
- package/dist/{chunk-X5L5DEUZ.js → chunk-ZEY2VU4O.js} +3 -3
- package/dist/{chunk-X5L5DEUZ.js.map → chunk-ZEY2VU4O.js.map} +1 -1
- package/dist/{destination-link-DMLeR-oF.d.ts → destination-link-BHVQyWry.d.ts} +2 -1
- package/dist/{index-B06li5uo.d.ts → index-CbgpSG4j.d.ts} +16 -7
- package/dist/index.d.ts +77 -26
- package/dist/index.js +239 -86
- package/dist/index.js.map +1 -1
- package/dist/layout/index.d.ts +2 -1
- package/dist/media/index.d.ts +5 -4
- package/dist/media/index.js +35 -7
- package/dist/media/index.js.map +1 -1
- package/dist/media/media-lightbox/parts/index.d.ts +5 -4
- package/dist/media/media-lightbox/parts/index.js +2 -2
- package/dist/preview/index.d.ts +2 -3
- package/dist/preview/index.js +1 -1
- package/dist/theme/index.d.ts +3 -2
- package/dist/theme/index.js +1 -1
- package/dist/{types-Dxe5IzjE.d.ts → types-KQLxlHQZ.d.ts} +21 -0
- package/package.json +11 -10
- package/src/components/alert/alert.css +18 -15
- package/src/components/autocomplete/autocomplete.css +20 -4
- package/src/components/chat-typing-indicator/chat-typing-indicator.css +22 -0
- package/src/components/command/command.css +20 -0
- package/src/components/destination-link/destination-link.css +28 -0
- package/src/components/drawer/drawer.css +6 -2
- package/src/components/empty/empty.css +2 -4
- package/src/components/load-more-trigger/load-more-trigger.css +17 -0
- package/src/components/marquee/marquee.css +25 -3
- package/src/components/menu/menu.css +36 -1
- package/src/components/navigation-menu/navigation-menu.css +22 -4
- package/src/components/panel-setting-button/panel-setting-button.css +14 -0
- package/src/components/progress/progress.css +24 -2
- package/src/components/radio/radio.css +14 -0
- package/src/components/rating/rating.css +17 -0
- package/src/components/segmented-control/segmented-control.css +14 -0
- package/src/components/select/select.css +8 -0
- package/src/components/separator/separator.css +3 -1
- package/src/components/sheet/sheet.css +8 -4
- package/src/components/sidebar/sidebar.css +11 -4
- package/src/components/switch/switch.css +16 -1
- package/src/components/tabs/tabs.css +10 -0
- package/src/components/toggle/toggle.css +14 -8
- package/src/components/toggle-group/toggle-group.css +9 -0
- package/src/media/media-lightbox/media-lightbox.css +31 -1
- package/src/styles/recipes.css +1 -0
- package/src/styles/utilities.css +3 -0
- package/dist/chunk-CN4A5CNH.js.map +0 -1
- package/dist/chunk-CVKG2VJD.js.map +0 -1
- package/dist/chunk-R67OZVA2.js.map +0 -1
|
@@ -74,3 +74,17 @@
|
|
|
74
74
|
.a63-PanelSettingButton[data-active] .a63-PanelSettingButton-label {
|
|
75
75
|
color: var(--a63-text-primary);
|
|
76
76
|
}
|
|
77
|
+
|
|
78
|
+
/* Forced colors turn the active tint and border into the same system colours as
|
|
79
|
+
an inactive tile, so the active tile takes the system selection colours. */
|
|
80
|
+
@media (forced-colors: active) {
|
|
81
|
+
.a63-Button.a63-PanelSettingButton[data-active] {
|
|
82
|
+
--button-background: Highlight;
|
|
83
|
+
--button-foreground: HighlightText;
|
|
84
|
+
--button-state-hover-background: Highlight;
|
|
85
|
+
--button-state-active-background: Highlight;
|
|
86
|
+
}
|
|
87
|
+
.a63-PanelSettingButton[data-active] .a63-PanelSettingButton-label {
|
|
88
|
+
color: HighlightText;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -33,8 +33,10 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.a63-Progress-indicator {
|
|
36
|
+
--progress-fill: var(--a63-action-primary);
|
|
37
|
+
|
|
36
38
|
height: 100%;
|
|
37
|
-
background-color: var(--
|
|
39
|
+
background-color: var(--progress-fill);
|
|
38
40
|
background-image: var(--a63-control-gloss, none);
|
|
39
41
|
transition:
|
|
40
42
|
transform var(--duration-slow) var(--a63-motion-ease-standard),
|
|
@@ -46,7 +48,7 @@
|
|
|
46
48
|
background-color: var(--a63-surface-muted);
|
|
47
49
|
}
|
|
48
50
|
.a63-Progress[data-tone='neutral'] .a63-Progress-indicator {
|
|
49
|
-
|
|
51
|
+
--progress-fill: var(--a63-text-primary);
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
.a63-Progress-indicator[data-indeterminate] {
|
|
@@ -75,4 +77,24 @@
|
|
|
75
77
|
animation: none;
|
|
76
78
|
transition: none;
|
|
77
79
|
}
|
|
80
|
+
/* A still 40% bar would read as 40% done. Without the sweep, the unknown
|
|
81
|
+
amount fills the whole track with stripes instead. */
|
|
82
|
+
.a63-Progress-indicator[data-indeterminate] {
|
|
83
|
+
width: 100%;
|
|
84
|
+
background-color: transparent;
|
|
85
|
+
background-image: repeating-linear-gradient(
|
|
86
|
+
-45deg,
|
|
87
|
+
var(--progress-fill) 0 0.25rem,
|
|
88
|
+
transparent 0.25rem 0.5rem
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* Forced colors replace the fill with the track colour and drop the stripes,
|
|
94
|
+
so the indicator paints itself in the system selection colour. */
|
|
95
|
+
@media (forced-colors: active) {
|
|
96
|
+
.a63-Progress[data-tone] .a63-Progress-indicator {
|
|
97
|
+
--progress-fill: Highlight;
|
|
98
|
+
forced-color-adjust: none;
|
|
99
|
+
}
|
|
78
100
|
}
|
|
@@ -121,6 +121,20 @@
|
|
|
121
121
|
height: 0.4375rem;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
+
/* Forced colors turn the accent fill and the dot into the same system colour as
|
|
125
|
+
an unchecked radio, so a checked radio takes the system selection colours. */
|
|
126
|
+
@media (forced-colors: active) {
|
|
127
|
+
.a63-Radio[data-checked] {
|
|
128
|
+
border-color: Highlight;
|
|
129
|
+
}
|
|
130
|
+
.a63-Radio[data-checked] .a63-Radio-indicator {
|
|
131
|
+
background-color: Highlight;
|
|
132
|
+
}
|
|
133
|
+
.a63-Radio-indicator::before {
|
|
134
|
+
background-color: HighlightText;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
124
138
|
@media (prefers-reduced-motion: reduce) {
|
|
125
139
|
.a63-Radio {
|
|
126
140
|
transition: none;
|
|
@@ -101,3 +101,20 @@
|
|
|
101
101
|
transition: none;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
+
|
|
105
|
+
/* Forced colors map the on and off colours to one system colour. On stars take
|
|
106
|
+
the system selection colour, and off stars draw as outlines, so the score
|
|
107
|
+
reads by shape as well as colour. */
|
|
108
|
+
@media (forced-colors: active) {
|
|
109
|
+
.a63-Rating {
|
|
110
|
+
--rating-on: Highlight;
|
|
111
|
+
--rating-off: CanvasText;
|
|
112
|
+
}
|
|
113
|
+
.a63-Rating-icon > :where(svg) {
|
|
114
|
+
fill: none;
|
|
115
|
+
}
|
|
116
|
+
.a63-Rating-icon--filled > :where(svg),
|
|
117
|
+
.a63-Rating-item[data-on] .a63-Rating-icon > :where(svg) {
|
|
118
|
+
fill: currentColor;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -234,6 +234,20 @@
|
|
|
234
234
|
min-width: var(--a63-control-min-target-lg, var(--a63-control-min-target));
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
+
/* Forced colors (Windows High Contrast) drop the plate's fill and shadow and
|
|
238
|
+
the selected label colour, so the selected segment takes the system
|
|
239
|
+
selection colours. */
|
|
240
|
+
@media (forced-colors: active) {
|
|
241
|
+
.a63-SegmentedControl-indicator,
|
|
242
|
+
.a63-SegmentedControl[data-tone='accent'] .a63-SegmentedControl-indicator {
|
|
243
|
+
background-color: Highlight;
|
|
244
|
+
}
|
|
245
|
+
.a63-SegmentedControl-item[data-active],
|
|
246
|
+
.a63-SegmentedControl[data-tone='accent'] .a63-SegmentedControl-item[data-active] {
|
|
247
|
+
color: HighlightText;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
237
251
|
@media (prefers-reduced-motion: reduce) {
|
|
238
252
|
.a63-SegmentedControl-item,
|
|
239
253
|
.a63-SegmentedControl-indicator {
|
|
@@ -68,6 +68,14 @@
|
|
|
68
68
|
outline: var(--a63-control-focus-ring-width) solid var(--select-focus-ring);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
/* Invalid: the same danger edge as .a63-Input[data-invalid] (input.css). */
|
|
72
|
+
.a63-Select-trigger[data-invalid],
|
|
73
|
+
.a63-Select-trigger[aria-invalid='true'] {
|
|
74
|
+
--select-border: color-mix(in oklch, var(--a63-action-danger) 62%, transparent);
|
|
75
|
+
--select-focus-border: var(--a63-action-danger);
|
|
76
|
+
--select-focus-ring: color-mix(in oklch, var(--a63-action-danger) 35%, transparent);
|
|
77
|
+
}
|
|
78
|
+
|
|
71
79
|
.a63-Select-trigger[data-disabled] {
|
|
72
80
|
cursor: not-allowed;
|
|
73
81
|
opacity: 0.56;
|
|
@@ -15,10 +15,12 @@
|
|
|
15
15
|
width: 100%;
|
|
16
16
|
height: 1px;
|
|
17
17
|
}
|
|
18
|
+
/* No percentage height: it would stop the flex stretch and collapse to 0 in a
|
|
19
|
+
row without a set height. The floor keeps it visible outside a stretching row. */
|
|
18
20
|
.a63-Separator[data-orientation='vertical'] {
|
|
19
21
|
align-self: stretch;
|
|
20
22
|
width: 1px;
|
|
21
|
-
|
|
23
|
+
min-block-size: 1em;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
/* ── Gradient fade ─────────────────────────────────────────────────────── */
|
|
@@ -42,13 +42,17 @@
|
|
|
42
42
|
grid-template-rows: auto 1fr;
|
|
43
43
|
padding-bottom: max(3rem, var(--a63-safe-area-bottom, 0px));
|
|
44
44
|
}
|
|
45
|
+
/* `left` and `right` are physical screen edges, in right-to-left pages too: the
|
|
46
|
+
placement, the entrance translate, the safe-area padding and the inner border
|
|
47
|
+
all name the same edge. `justify-content: left/right` is physical, where
|
|
48
|
+
flex-start/flex-end would follow the text direction. */
|
|
45
49
|
.a63-Sheet-viewport[data-side='left'] {
|
|
46
50
|
display: flex;
|
|
47
|
-
justify-content:
|
|
51
|
+
justify-content: left;
|
|
48
52
|
}
|
|
49
53
|
.a63-Sheet-viewport[data-side='right'] {
|
|
50
54
|
display: flex;
|
|
51
|
-
justify-content:
|
|
55
|
+
justify-content: right;
|
|
52
56
|
}
|
|
53
57
|
@media (min-width: 640px) {
|
|
54
58
|
.a63-Sheet-viewport[data-variant='inset'] {
|
|
@@ -105,7 +109,7 @@
|
|
|
105
109
|
width: calc(100% - 3rem);
|
|
106
110
|
max-width: 28rem;
|
|
107
111
|
padding-left: var(--a63-safe-area-left, 0px);
|
|
108
|
-
border-
|
|
112
|
+
border-right-width: var(--a63-control-border-width);
|
|
109
113
|
}
|
|
110
114
|
.a63-Sheet-popup[data-side='left'][data-starting-style],
|
|
111
115
|
.a63-Sheet-popup[data-side='left'][data-ending-style] {
|
|
@@ -116,7 +120,7 @@
|
|
|
116
120
|
width: calc(100% - 3rem);
|
|
117
121
|
max-width: 28rem;
|
|
118
122
|
padding-right: var(--a63-safe-area-right, 0px);
|
|
119
|
-
border-
|
|
123
|
+
border-left-width: var(--a63-control-border-width);
|
|
120
124
|
}
|
|
121
125
|
.a63-Sheet-popup[data-side='right'][data-starting-style],
|
|
122
126
|
.a63-Sheet-popup[data-side='right'][data-ending-style] {
|
|
@@ -524,7 +524,8 @@
|
|
|
524
524
|
color: var(--sidebar-accent-fg);
|
|
525
525
|
box-shadow: 0 0 0 1px var(--sidebar-accent);
|
|
526
526
|
}
|
|
527
|
-
/* collapsed icon rail: square the button + hide labels
|
|
527
|
+
/* collapsed icon rail: square the button + hide labels visually (they stay
|
|
528
|
+
the button's accessible name) */
|
|
528
529
|
.a63-Sidebar-root[data-collapsible='icon'] .a63-Sidebar-menu-button {
|
|
529
530
|
margin-inline: auto;
|
|
530
531
|
width: max(
|
|
@@ -545,14 +546,20 @@
|
|
|
545
546
|
.a63-Sidebar-root[data-collapsible='icon']
|
|
546
547
|
.a63-Sidebar-menu-button
|
|
547
548
|
> span:not(.a63-Sidebar-sr-only) {
|
|
548
|
-
|
|
549
|
+
position: absolute;
|
|
550
|
+
width: 1px;
|
|
551
|
+
height: 1px;
|
|
552
|
+
margin: -1px;
|
|
553
|
+
overflow: hidden;
|
|
554
|
+
clip-path: inset(50%);
|
|
555
|
+
white-space: nowrap;
|
|
549
556
|
}
|
|
550
557
|
|
|
551
558
|
/* ── Menu action ─────────────────────────────────────────────────────────── */
|
|
552
559
|
.a63-Sidebar-menu-action {
|
|
553
560
|
position: absolute;
|
|
554
561
|
top: 50%;
|
|
555
|
-
|
|
562
|
+
inset-inline-end: 0;
|
|
556
563
|
display: flex;
|
|
557
564
|
aspect-ratio: 1 / 1;
|
|
558
565
|
width: var(--a63-control-min-target);
|
|
@@ -602,7 +609,7 @@
|
|
|
602
609
|
.a63-Sidebar-menu-badge {
|
|
603
610
|
pointer-events: none;
|
|
604
611
|
position: absolute;
|
|
605
|
-
|
|
612
|
+
inset-inline-end: 0.25rem;
|
|
606
613
|
display: flex;
|
|
607
614
|
height: 1.25rem;
|
|
608
615
|
min-width: 1.25rem;
|
|
@@ -74,6 +74,9 @@
|
|
|
74
74
|
.a63-Switch-thumb {
|
|
75
75
|
--thumb-x: 0;
|
|
76
76
|
--thumb-sx: 1;
|
|
77
|
+
/* 1 slides the checked thumb right; -1 under dir="rtl", where the track starts
|
|
78
|
+
on the right. */
|
|
79
|
+
--thumb-dir: 1;
|
|
77
80
|
|
|
78
81
|
box-sizing: border-box;
|
|
79
82
|
display: grid;
|
|
@@ -85,7 +88,7 @@
|
|
|
85
88
|
background: var(--switch-thumb-bg);
|
|
86
89
|
color: var(--switch-thumb-fg);
|
|
87
90
|
box-shadow: 0 1px 2px color-mix(in oklch, var(--a63-shadow-color) 20%, transparent);
|
|
88
|
-
transform: translateX(var(--thumb-x)) scaleX(var(--thumb-sx));
|
|
91
|
+
transform: translateX(calc(var(--thumb-x) * var(--thumb-dir))) scaleX(var(--thumb-sx));
|
|
89
92
|
transform-origin: left center;
|
|
90
93
|
transition:
|
|
91
94
|
transform var(--a63-control-feedback-duration) var(--a63-control-feedback-ease),
|
|
@@ -119,6 +122,18 @@
|
|
|
119
122
|
transform-origin: right center;
|
|
120
123
|
}
|
|
121
124
|
|
|
125
|
+
/* Right-to-left: the thumb starts on the right and slides left, and the press
|
|
126
|
+
squash grows away from whichever edge it rests on. */
|
|
127
|
+
.a63-Switch-thumb:dir(rtl) {
|
|
128
|
+
--thumb-dir: -1;
|
|
129
|
+
|
|
130
|
+
transform-origin: right center;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.a63-Switch[data-checked] .a63-Switch-thumb:dir(rtl) {
|
|
134
|
+
transform-origin: left center;
|
|
135
|
+
}
|
|
136
|
+
|
|
122
137
|
.a63-Switch:hover:not([data-disabled]):not([data-checked]) {
|
|
123
138
|
border-color: color-mix(in oklch, var(--switch-border), var(--a63-text-primary) 20%);
|
|
124
139
|
}
|
|
@@ -295,6 +295,16 @@
|
|
|
295
295
|
transform: translateY(var(--active-tab-top));
|
|
296
296
|
}
|
|
297
297
|
|
|
298
|
+
/* Forced colors drop the indicator's plate, bar and shadow and flatten both
|
|
299
|
+
text colours, so the selected tab of every variant takes the system
|
|
300
|
+
selection colours. */
|
|
301
|
+
@media (forced-colors: active) {
|
|
302
|
+
.a63-Tabs-list[data-variant] .a63-Tabs-tab[data-active] {
|
|
303
|
+
background-color: Highlight;
|
|
304
|
+
color: HighlightText;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
298
308
|
/* ── Panel ─────────────────────────────────────────────────────────────── */
|
|
299
309
|
|
|
300
310
|
.a63-Tabs-panel {
|
|
@@ -22,14 +22,11 @@
|
|
|
22
22
|
--a63-toggle-hover-background,
|
|
23
23
|
var(--a63-segment-hover-background, var(--a63-surface-control-hover))
|
|
24
24
|
);
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
);
|
|
29
|
-
--toggle-on-foreground: var(
|
|
30
|
-
--a63-toggle-on-foreground,
|
|
31
|
-
var(--a63-segment-selected-foreground, var(--a63-text-primary))
|
|
32
|
-
);
|
|
25
|
+
/* A standalone pressed toggle sits on the page, not on a segment track, so it
|
|
26
|
+
takes the high-emphasis neutral solid (Button `default`, the pressed pill)
|
|
27
|
+
rather than the segment plate, which matches the page in several themes. */
|
|
28
|
+
--toggle-on-background: var(--a63-toggle-on-background, var(--a63-action-neutral));
|
|
29
|
+
--toggle-on-foreground: var(--a63-toggle-on-foreground, var(--a63-action-neutral-foreground));
|
|
33
30
|
--toggle-primary-background: var(
|
|
34
31
|
--a63-toggle-primary-background,
|
|
35
32
|
var(--a63-segment-primary-background, var(--a63-selection-accent, var(--a63-action-primary)))
|
|
@@ -184,6 +181,15 @@
|
|
|
184
181
|
font-size: var(--a63-control-font-size-lg);
|
|
185
182
|
}
|
|
186
183
|
|
|
184
|
+
/* Forced colors replace fills and text colours with the same system colours,
|
|
185
|
+
so a pressed toggle of any tone takes the system selection colours. */
|
|
186
|
+
@media (forced-colors: active) {
|
|
187
|
+
.a63-Toggle[data-pressed][data-tone] {
|
|
188
|
+
background-color: Highlight;
|
|
189
|
+
color: HighlightText;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
187
193
|
@media (prefers-reduced-motion: reduce) {
|
|
188
194
|
.a63-Toggle,
|
|
189
195
|
.a63-Toggle-content {
|
|
@@ -169,3 +169,12 @@
|
|
|
169
169
|
.a63-ToggleGroup-separator[data-orientation='horizontal'] {
|
|
170
170
|
height: var(--a63-toggle-border-width, var(--a63-control-border-width));
|
|
171
171
|
}
|
|
172
|
+
|
|
173
|
+
/* Forced colors drop the cell fill, gloss and shadow, so the pressed cell of
|
|
174
|
+
every variant takes the system selection colours. */
|
|
175
|
+
@media (forced-colors: active) {
|
|
176
|
+
.a63-ToggleGroup[data-variant] .a63-Toggle.a63-Toggle[data-pressed] {
|
|
177
|
+
background-color: Highlight;
|
|
178
|
+
color: HighlightText;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
@@ -41,13 +41,43 @@
|
|
|
41
41
|
background-color: var(--a63-lightbox-on-media-surface-hover);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
+
/*
|
|
45
|
+
* Icon buttons the caller puts in the toolbar slot match the built-in ones
|
|
46
|
+
* beside them (`size-11`). Button's largest icon step is 40px, and a 4px
|
|
47
|
+
* smaller circle in the same row reads as a mistake rather than a choice.
|
|
48
|
+
*/
|
|
49
|
+
[data-slot='media-lightbox-toolbar'] .a63-Button:is([data-size^='icon']) {
|
|
50
|
+
--button-height: 2.75rem;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/*
|
|
54
|
+
* An overlay Button in the toolbar takes the same glass as the built-in
|
|
55
|
+
* controls beside it (`.a63-media-lightbox-on-media`): Button's own overlay is
|
|
56
|
+
* a lighter, more translucent fill, which read as a different control in the
|
|
57
|
+
* same row.
|
|
58
|
+
*/
|
|
59
|
+
[data-slot='media-lightbox-toolbar']
|
|
60
|
+
.a63-Button:is([data-variant='overlay'], [data-variant='glass']) {
|
|
61
|
+
--button-background: var(--a63-lightbox-on-media-surface);
|
|
62
|
+
--button-border-color: var(--a63-lightbox-on-media-border);
|
|
63
|
+
--button-foreground: var(--a63-lightbox-on-media-fg);
|
|
64
|
+
--button-shadow: var(--a63-overlay-inner-shadow, none), var(--a63-overlay-shadow);
|
|
65
|
+
--button-state-hover-background: var(--a63-lightbox-on-media-surface-hover);
|
|
66
|
+
--button-state-hover-border-color: var(--a63-lightbox-on-media-border);
|
|
67
|
+
|
|
68
|
+
background-image: var(--a63-overlay-gloss), var(--a63-overlay-texture-image);
|
|
69
|
+
background-blend-mode: normal, var(--a63-overlay-texture-blend);
|
|
70
|
+
backdrop-filter: var(--a63-overlay-backdrop);
|
|
71
|
+
}
|
|
72
|
+
|
|
44
73
|
/*
|
|
45
74
|
* Nothing blurred sits over the track while it moves. A `backdrop-filter`
|
|
46
75
|
* has to re-sample the photo moving beneath it on every frame, and a blur over
|
|
47
76
|
* the moving photo is what made paging judder before. The controls keep their
|
|
48
77
|
* opaque-enough backplate, so they stay legible for the moment the blur is off.
|
|
49
78
|
*/
|
|
50
|
-
[data-slot='media-lightbox'][data-paging] .a63-media-lightbox-on-media
|
|
79
|
+
[data-slot='media-lightbox'][data-paging] .a63-media-lightbox-on-media,
|
|
80
|
+
[data-slot='media-lightbox'][data-paging] [data-slot='media-lightbox-toolbar'] .a63-Button {
|
|
51
81
|
backdrop-filter: none;
|
|
52
82
|
}
|
|
53
83
|
|
package/src/styles/recipes.css
CHANGED
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
@import '../components/breadcrumb/breadcrumb.css' layer(components);
|
|
48
48
|
@import '../components/button-group/button-group.css' layer(components);
|
|
49
49
|
@import '../components/copy-button/copy-button.css' layer(components);
|
|
50
|
+
@import '../components/destination-link/destination-link.css' layer(components);
|
|
50
51
|
@import '../components/dialog/dialog.css' layer(components);
|
|
51
52
|
@import '../components/empty/empty.css' layer(components);
|
|
52
53
|
@import '../components/item/item.css' layer(components);
|