@swiftwc/ui 0.0.0-dev.22 → 0.0.0-dev.23
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/generated/client/index.d.ts +1 -1
- package/generated/client/index.js +97 -32
- package/generated/components/bordered-button.js +1 -1
- package/generated/components/bordered-prominent-button.js +1 -1
- package/generated/components/borderless-button.js +1 -1
- package/generated/components/fine-tooltip.d.ts +7 -0
- package/generated/components/fine-tooltip.js +93 -0
- package/generated/components/glass-button.js +1 -1
- package/generated/components/glass-prominent-button.js +1 -1
- package/generated/components/index.d.ts +1 -0
- package/generated/components/index.js +1 -0
- package/generated/components/tool-bar-item.d.ts +2 -0
- package/generated/components/tool-bar-item.js +18 -4
- package/generated/css/index.css +236 -149
- package/generated/internal/utils/button-role.d.ts +1 -1
- package/generated/internal/utils/button-role.js +8 -3
- package/package.json +1 -1
- package/scss/_components.scss +2 -0
- package/scss/_mixins.scss +4 -0
- package/scss/_transitions.scss +2 -0
- package/scss/base/_reboot.scss +5 -0
- package/scss/base/_root.scss +63 -67
- package/scss/colors/_index.scss +57 -26
- package/scss/components/_alert-dialog.scss +4 -5
- package/scss/components/_confirmation-dialog.scss +1 -1
- package/scss/components/_fine-tooltip.scss +82 -0
- package/scss/components/_index.scss +21 -20
- package/scss/components/_menu-view.scss +17 -0
- package/scss/components/_navigation-split-view.scss +3 -3
- package/scss/components/_tool-bar-item.scss +61 -62
- package/scss/mixins/_button.scss +42 -0
- package/scss/mixins/_color.scss +16 -0
- package/scss/mixins/_index.scss +1 -1
- package/scss/placeholders/_buttons.scss +1 -44
- package/scss/transitions/_fine-tooltip.scss +21 -0
- package/web-components.html-data/en.json +12 -1
package/generated/css/index.css
CHANGED
|
@@ -45,6 +45,18 @@
|
|
|
45
45
|
:root {
|
|
46
46
|
--liquid-glass-bg: oklch(var(--liquid-glass-bg-lch) / var(--liquid-glass-bg-alpha));
|
|
47
47
|
--liquid-glass-bg-dark: oklch(var(--liquid-glass-bg-lch-dark) / var(--liquid-glass-bg-alpha-dark));
|
|
48
|
+
--clear-glass-bg: var(--liquid-glass-bg);
|
|
49
|
+
--clear-glass-bg-dark: var(--liquid-glass-bg-dark);
|
|
50
|
+
--clear-glass-focus-bg: var(--clear-glass-bg);
|
|
51
|
+
--clear-glass-focus-bg-dark: var(--clear-glass-bg-dark);
|
|
52
|
+
--clear-glass-active-bg: var(--clear-glass-bg);
|
|
53
|
+
--clear-glass-active-bg-dark: var(--clear-glass-bg-dark);
|
|
54
|
+
--control-clear-glass-bg: var(--liquid-glass-bg);
|
|
55
|
+
--control-clear-glass-bg-dark: var(--liquid-glass-bg-dark);
|
|
56
|
+
--control-clear-glass-focus-bg: var(--control-clear-glass-bg);
|
|
57
|
+
--control-clear-glass-focus-bg-dark: var(--control-clear-glass-bg-dark);
|
|
58
|
+
--control-clear-glass-active-bg: var(--control-clear-glass-bg);
|
|
59
|
+
--control-clear-glass-active-bg-dark: var(--control-clear-glass-bg-dark);
|
|
48
60
|
--liquid-glass-backdrop-filter: saturate(180%) blur(16px);
|
|
49
61
|
--liquid-glass-bs-bevel-highlight: inset -1px -1px 0 -0.5px light-dark(#fff, #fff6);
|
|
50
62
|
--liquid-glass-bs-soft-bevel-blur: inset 1px 1px 0 -0.5px light-dark(#fff, #fff6);
|
|
@@ -52,27 +64,20 @@
|
|
|
52
64
|
--liquid-glass-box-shadow:
|
|
53
65
|
var(--liquid-glass-bs-bevel-highlight), var(--liquid-glass-bs-soft-bevel-blur), inset 3px 3px 10px -3px light-dark(#ddd, #262626), inset -3px -3px 10px -3px light-dark(#ddd, #262626),
|
|
54
66
|
inset 0 0 5px 1px light-dark(#fff, #141414), inset 0 0 0 0.5px light-dark(#00000040, #ffffff26), inset 0 0 24px 0 light-dark(#0000001a, #ffffff0d), var(--liquid-glass-bs-outer);
|
|
67
|
+
--control-clear-glass-box-shadow: var(--liquid-glass-box-shadow);
|
|
55
68
|
--navigation-bar-block-size: var(--tool-bar-block-size);
|
|
56
69
|
--nav-split-view-sidebar-inline-size: 20rem;
|
|
57
70
|
--nav-split-view-content-inline-size: 25rem;
|
|
58
|
-
--
|
|
59
|
-
--
|
|
60
|
-
--primary-label: oklch(0 0 0);
|
|
61
|
-
--primary-label-dark: oklch(1 0 0);
|
|
62
|
-
--secondary-text: oklch(0 0 0);
|
|
63
|
-
--secondary-text-dark: oklch(1 0 0);
|
|
71
|
+
--secondary-text: var(--black);
|
|
72
|
+
--secondary-text-dark: var(--white);
|
|
64
73
|
--tint: oklch(0.5325 0.1899 257.12);
|
|
65
74
|
--tint1g: color-mix(in oklch, white 70%, var(--tint));
|
|
66
75
|
--tint2: color-mix(in oklch, white 80%, var(--tint));
|
|
67
76
|
--tint3: color-mix(in oklch, white 90%, var(--tint));
|
|
68
77
|
--tintcontrast: white;
|
|
69
|
-
--
|
|
70
|
-
--
|
|
71
|
-
--
|
|
72
|
-
--system-bg-dark: oklch(0 0 0);
|
|
73
|
-
--primary-bg: oklch(0.9566 0.0067 286.27);
|
|
74
|
-
--primary-bg-dark: oklch(0 0 0);
|
|
75
|
-
--primary-grouped-bg: oklch(1 0 0);
|
|
78
|
+
--system-bg: var(--white);
|
|
79
|
+
--system-bg-dark: var(--black);
|
|
80
|
+
--primary-grouped-bg: var(--white);
|
|
76
81
|
--primary-grouped-bg-dark: oklch(0.8136 0.0428 255.03);
|
|
77
82
|
--secondary-bg: oklch(0.8045 0.0779 73.42);
|
|
78
83
|
--secondary-bg-dark: oklch(0.8045 0.0779 73.42);
|
|
@@ -89,37 +94,33 @@
|
|
|
89
94
|
--pill-border-radius: 99999px;
|
|
90
95
|
--clear: transparent;
|
|
91
96
|
--toolbar-col-gap: 0.5rem;
|
|
92
|
-
--toolbar-cell-bg: var(--
|
|
93
|
-
--toolbar-cell-bg-dark: var(--
|
|
97
|
+
--toolbar-cell-bg: var(--control-clear-glass-bg);
|
|
98
|
+
--toolbar-cell-bg-dark: var(--control-clear-glass-bg-dark);
|
|
94
99
|
--toolbar-cell-inline-padding-start: 0.25rem;
|
|
95
100
|
--toolbar-cell-inline-padding-end: 0.25rem;
|
|
96
101
|
--toolbar-cell-block-padding-start: 0.25rem;
|
|
97
102
|
--toolbar-cell-block-padding-end: 0.25rem;
|
|
98
103
|
--toolbar-cell-border-radius: var(--pill-border-radius);
|
|
99
104
|
--toolbar-cell-min-size: 2.8rem;
|
|
100
|
-
--toolbar-cell-focus-bg: var(--
|
|
101
|
-
--toolbar-cell-focus-bg-dark: var(--
|
|
102
|
-
--toolbar-cell-active-bg: var(--
|
|
103
|
-
--toolbar-cell-active-bg-dark: var(--
|
|
104
|
-
--toolbar-cell-box-shadow: var(--
|
|
105
|
-
--menu-bg: var(--
|
|
106
|
-
--menu-bg-dark: var(--
|
|
105
|
+
--toolbar-cell-focus-bg: var(--control-clear-glass-focus-bg);
|
|
106
|
+
--toolbar-cell-focus-bg-dark: var(--control-clear-glass-focus-bg-dark);
|
|
107
|
+
--toolbar-cell-active-bg: var(--control-clear-glass-active-bg);
|
|
108
|
+
--toolbar-cell-active-bg-dark: var(--control-clear-glass-active-bg-dark);
|
|
109
|
+
--toolbar-cell-box-shadow: var(--control-clear-glass-box-shadow);
|
|
110
|
+
--menu-bg: var(--control-clear-glass-bg);
|
|
111
|
+
--menu-bg-dark: var(--control-clear-glass-bg-dark);
|
|
107
112
|
--menu-max-inline-size: 15rem;
|
|
108
113
|
--menu-max-block-size: 60vh;
|
|
109
114
|
--menu-spacing: 1rem;
|
|
110
115
|
--menu-host-offscreen-transform: scale(0);
|
|
111
116
|
--menu-host-offscreen-filter: blur(10px);
|
|
112
|
-
--menu-popover-box-shadow: var(--
|
|
117
|
+
--menu-popover-box-shadow: var(--control-clear-glass-box-shadow);
|
|
113
118
|
--menu-padding: 0.5rem;
|
|
114
119
|
--menu-item-padding-inline-start: 1rem;
|
|
115
120
|
--menu-item-padding-inline-end: 1rem;
|
|
116
121
|
--menu-item-padding-block-start: 0.5rem;
|
|
117
122
|
--menu-item-padding-block-end: 0.5rem;
|
|
118
123
|
--menu-item-border-radius: 1.2rem;
|
|
119
|
-
--menu-item-focus-bg: oklch(0 0 0 / 0%);
|
|
120
|
-
--menu-item-focus-bg-dark: oklch(0 0 0 / 0%);
|
|
121
|
-
--menu-item-active-bg: oklch(0 0 0 / 20%);
|
|
122
|
-
--menu-item-active-bg-dark: oklch(1 0 0 / 20%);
|
|
123
124
|
--touchglass-transition-duration: 300ms;
|
|
124
125
|
--disclosure-group-animation-duration: 300ms;
|
|
125
126
|
--disclosure-group-animation-easing: ease-out;
|
|
@@ -255,12 +256,6 @@
|
|
|
255
256
|
--table-col-gap: 1rem;
|
|
256
257
|
--table-accessory-gap: 0.2rem;
|
|
257
258
|
--table-accessory-size: 1.2rem;
|
|
258
|
-
--glass-btn-bg: var(--liquid-glass-bg);
|
|
259
|
-
--glass-btn-bg-dark: var(--liquid-glass-bg-dark);
|
|
260
|
-
--glass-btn-focus-bg: var(--glass-btn-bg);
|
|
261
|
-
--glass-btn-focus-bg-dark: var(--glass-btn-bg-dark);
|
|
262
|
-
--glass-btn-active-bg: var(--glass-btn-bg);
|
|
263
|
-
--glass-btn-active-bg-dark: var(--glass-btn-bg-dark);
|
|
264
259
|
--mini-btn-padding: 0.2rem;
|
|
265
260
|
--mini-btn-padding: 0.2rem;
|
|
266
261
|
--mini-btn-border-radius: 1rem;
|
|
@@ -277,6 +272,8 @@
|
|
|
277
272
|
--large-btn-padding: 1.2rem;
|
|
278
273
|
--large-btn-border-radius: 2.4rem;
|
|
279
274
|
--large-btn-border-radius: 2.4rem;
|
|
275
|
+
--picker-affordance-size: 1rem;
|
|
276
|
+
--picker-affordance-col-gap: 1rem;
|
|
280
277
|
}
|
|
281
278
|
@media (pointer: fine) {
|
|
282
279
|
:root {
|
|
@@ -296,32 +293,13 @@
|
|
|
296
293
|
--large-btn-padding: 1.2rem;
|
|
297
294
|
--large-btn-border-radius: 1.4rem;
|
|
298
295
|
--large-btn-border-radius: 1.4rem;
|
|
299
|
-
--
|
|
300
|
-
--
|
|
301
|
-
--
|
|
302
|
-
--
|
|
303
|
-
--
|
|
304
|
-
--
|
|
305
|
-
--
|
|
306
|
-
--toolbar-cell-bg-dark: var(--noglass-bg-dark);
|
|
307
|
-
--toolbar-cell-focus-bg: oklch(0.9551 0 0);
|
|
308
|
-
--toolbar-cell-focus-bg-dark: oklch(0.3578 0.008 75.3);
|
|
309
|
-
--toolbar-cell-active-bg: oklch(0.9128 0 0);
|
|
310
|
-
--toolbar-cell-active-bg-dark: oklch(0.3995 0.0077 75.32);
|
|
311
|
-
--menu-bg: var(--noglass-bg);
|
|
312
|
-
--menu-bg-dark: var(--noglass-bg-dark);
|
|
313
|
-
--toolbar-cell-box-shadow: var(--liquid-glass-bs-bevel-highlight), var(--liquid-glass-bs-soft-bevel-blur), var(--liquid-glass-bs-outer);
|
|
314
|
-
--menu-popover-box-shadow: var(--liquid-glass-bs-bevel-highlight), var(--liquid-glass-bs-soft-bevel-blur), var(--liquid-glass-bs-outer);
|
|
315
|
-
--menu-item-focus-color: oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none);
|
|
316
|
-
--menu-item-focus-color-dark: oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none);
|
|
317
|
-
--menu-item-active-color: oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none);
|
|
318
|
-
--menu-item-active-color-dark: oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none);
|
|
319
|
-
--menu-item-focus-bg: var(--accentColor);
|
|
320
|
-
--menu-item-focus-bg-dark: var(--accentColor);
|
|
321
|
-
--menu-item-active-bg: oklch(from var(--accentColor) max(calc(l * 0.7), 0) min(calc(c * 1.4), c) h);
|
|
322
|
-
--menu-item-active-bg-dark: oklch(from var(--accentColor) min(calc(l * 1.3), 1) min(calc(c * 1.2), c) h);
|
|
323
|
-
--picker-affordance-size: 1rem;
|
|
324
|
-
--picker-affordance-col-gap: 1rem;
|
|
296
|
+
--control-clear-glass-bg: var(--white);
|
|
297
|
+
--control-clear-glass-bg-dark: oklch(0.2871 0.0029 17.33);
|
|
298
|
+
--control-clear-glass-focus-bg: var(--gray5);
|
|
299
|
+
--control-clear-glass-focus-bg-dark: oklch(0.3578 0.008 75.3);
|
|
300
|
+
--control-clear-glass-active-bg: var(--gray3);
|
|
301
|
+
--control-clear-glass-active-bg-dark: oklch(0.3995 0.0077 75.32);
|
|
302
|
+
--control-clear-glass-box-shadow: var(--liquid-glass-bs-bevel-highlight), var(--liquid-glass-bs-soft-bevel-blur), var(--liquid-glass-bs-outer);
|
|
325
303
|
}
|
|
326
304
|
}
|
|
327
305
|
html:has(color-scheme[dark]) {
|
|
@@ -412,6 +390,11 @@
|
|
|
412
390
|
html {
|
|
413
391
|
transition: font-size 1ms step-start;
|
|
414
392
|
}
|
|
393
|
+
@media (pointer: fine) {
|
|
394
|
+
html {
|
|
395
|
+
font-size: 14px;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
415
398
|
html::before {
|
|
416
399
|
content: "delete-button-icon=trash&confirm-button-icon=check&close-button-icon=x&cancel-button-icon=x&ipad-sheet-view-height=27.75rem&ipad-sheet-view-inline-size=37rem&vt-fwd-class-name=fwd";
|
|
417
400
|
display: none;
|
|
@@ -892,9 +875,6 @@
|
|
|
892
875
|
:where([is=glass-prominent-button] > [slot], [is=glass-button] > [slot], [is=bordered-prominent-button] > [slot], [is=bordered-button] > [slot], [is=borderless-button] > [slot], [is=plain-button] > [slot]) {
|
|
893
876
|
position: absolute;
|
|
894
877
|
visibility: collapse;
|
|
895
|
-
max-inline-size: 90%;
|
|
896
|
-
max-block-size: 90%;
|
|
897
|
-
border-radius: inherit;
|
|
898
878
|
}
|
|
899
879
|
:where([is=glass-prominent-button] > [slot=overlay], [is=glass-button] > [slot=overlay], [is=bordered-prominent-button] > [slot=overlay], [is=bordered-button] > [slot=overlay], [is=borderless-button] > [slot=overlay], [is=plain-button] > [slot=overlay]) {
|
|
900
880
|
visibility: visible;
|
|
@@ -906,8 +886,10 @@
|
|
|
906
886
|
:where([is=glass-prominent-button]:has(> [slot=overlay]) > *:not([slot=overlay]), [is=glass-button]:has(> [slot=overlay]) > *:not([slot=overlay]), [is=bordered-prominent-button]:has(> [slot=overlay]) > *:not([slot=overlay]), [is=bordered-button]:has(> [slot=overlay]) > *:not([slot=overlay]), [is=borderless-button]:has(> [slot=overlay]) > *:not([slot=overlay]), [is=plain-button]:has(> [slot=overlay]) > *:not([slot=overlay])) {
|
|
907
887
|
opacity: 0;
|
|
908
888
|
}
|
|
909
|
-
|
|
910
|
-
|
|
889
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
890
|
+
:where([is=glass-prominent-button]:has(> [slot=overlay]) > [slot=overlay], [is=glass-button]:has(> [slot=overlay]) > [slot=overlay], [is=bordered-prominent-button]:has(> [slot=overlay]) > [slot=overlay], [is=bordered-button]:has(> [slot=overlay]) > [slot=overlay], [is=borderless-button]:has(> [slot=overlay]) > [slot=overlay], [is=plain-button]:has(> [slot=overlay]) > [slot=overlay]) {
|
|
891
|
+
transition: opacity ease-out 200ms;
|
|
892
|
+
}
|
|
911
893
|
}
|
|
912
894
|
@starting-style {
|
|
913
895
|
:where([is=glass-prominent-button]:has(> [slot=overlay]) > [slot=overlay], [is=glass-button]:has(> [slot=overlay]) > [slot=overlay], [is=bordered-prominent-button]:has(> [slot=overlay]) > [slot=overlay], [is=bordered-button]:has(> [slot=overlay]) > [slot=overlay], [is=borderless-button]:has(> [slot=overlay]) > [slot=overlay], [is=plain-button]:has(> [slot=overlay]) > [slot=overlay]) {
|
|
@@ -1057,6 +1039,7 @@
|
|
|
1057
1039
|
content-unavailable-view:not([hidden]),
|
|
1058
1040
|
tool-bar-item:not([hidden]),
|
|
1059
1041
|
tool-bar-item-group:not([hidden]),
|
|
1042
|
+
fine-tooltip:not([hidden]),
|
|
1060
1043
|
sidebar-toggle:not([hidden]),
|
|
1061
1044
|
[is=form-view]:not([hidden]),
|
|
1062
1045
|
v-stack:not([hidden]),
|
|
@@ -1128,8 +1111,7 @@
|
|
|
1128
1111
|
tool-bar-item > input,
|
|
1129
1112
|
[is=tab-bar] [is=tab-item],
|
|
1130
1113
|
tool-bar-item [is=disclosure-group] > button,
|
|
1131
|
-
tool-bar-item [is=disclosure-group] > summary)
|
|
1132
|
-
:where(menu-view)::part(menu-summary) {
|
|
1114
|
+
tool-bar-item [is=disclosure-group] > summary) {
|
|
1133
1115
|
appearance: none;
|
|
1134
1116
|
-webkit-appearance: none;
|
|
1135
1117
|
border: var(--toolbaritemborder,);
|
|
@@ -1145,7 +1127,6 @@
|
|
|
1145
1127
|
tool-bar-item > button:not(:disabled):not([readonly]),
|
|
1146
1128
|
tool-bar-item > input:not(:disabled):not([readonly]),
|
|
1147
1129
|
[is=tab-bar] [is=tab-item]:not(:disabled):not([readonly]),
|
|
1148
|
-
menu-view > button:not(:disabled):not([readonly]),
|
|
1149
1130
|
tool-bar-item [is=disclosure-group] > button:not(:disabled):not([readonly]),
|
|
1150
1131
|
tool-bar-item [is=disclosure-group] > summary:not(:disabled):not([readonly])):focus-visible {
|
|
1151
1132
|
outline: none;
|
|
@@ -1154,7 +1135,6 @@
|
|
|
1154
1135
|
tool-bar-item > button:not(:disabled):not([readonly]),
|
|
1155
1136
|
tool-bar-item > input:not(:disabled):not([readonly]),
|
|
1156
1137
|
[is=tab-bar] [is=tab-item]:not(:disabled):not([readonly]),
|
|
1157
|
-
menu-view > button:not(:disabled):not([readonly]),
|
|
1158
1138
|
tool-bar-item [is=disclosure-group] > button:not(:disabled):not([readonly]),
|
|
1159
1139
|
tool-bar-item [is=disclosure-group] > summary:not(:disabled):not([readonly])):focus-visible {
|
|
1160
1140
|
--toolbaritemface: var(--toolbaritemhighlightface,);
|
|
@@ -1165,42 +1145,23 @@
|
|
|
1165
1145
|
tool-bar-item > button:not(:disabled):not([readonly]),
|
|
1166
1146
|
tool-bar-item > input:not(:disabled):not([readonly]),
|
|
1167
1147
|
[is=tab-bar] [is=tab-item]:not(:disabled):not([readonly]),
|
|
1168
|
-
menu-view > button:not(:disabled):not([readonly]),
|
|
1169
1148
|
tool-bar-item [is=disclosure-group] > button:not(:disabled):not([readonly]),
|
|
1170
1149
|
tool-bar-item [is=disclosure-group] > summary:not(:disabled):not([readonly])):hover {
|
|
1171
1150
|
--toolbaritemface: var(--toolbaritemhighlightface,);
|
|
1172
1151
|
--toolbaritemtext: var(--toolbaritemhighlighttext,);
|
|
1173
1152
|
}
|
|
1174
1153
|
}
|
|
1175
|
-
:where(menu-view:not(:disabled):not([readonly])):focus-visible {
|
|
1176
|
-
outline: none;
|
|
1177
|
-
}
|
|
1178
|
-
:where(menu-view:not(:disabled):not([readonly])):focus-visible::part(menu-summary) {
|
|
1179
|
-
--toolbaritemface: var(--toolbaritemhighlightface,);
|
|
1180
|
-
--toolbaritemtext: var(--toolbaritemhighlighttext,);
|
|
1181
|
-
}
|
|
1182
|
-
@media (pointer: fine) {
|
|
1183
|
-
:where(menu-view:not(:disabled):not([readonly])):hover::part(menu-summary) {
|
|
1184
|
-
--toolbaritemface: var(--toolbaritemhighlightface,);
|
|
1185
|
-
--toolbaritemtext: var(--toolbaritemhighlighttext,);
|
|
1186
|
-
}
|
|
1187
|
-
}
|
|
1188
1154
|
}
|
|
1189
1155
|
@layer sw-actions {
|
|
1190
1156
|
:where(sidebar-toggle > button:not(:disabled):not([readonly]),
|
|
1191
1157
|
tool-bar-item > button:not(:disabled):not([readonly]),
|
|
1192
1158
|
tool-bar-item > input:not(:disabled):not([readonly]),
|
|
1193
1159
|
[is=tab-bar] [is=tab-item]:not(:disabled):not([readonly]),
|
|
1194
|
-
menu-view > button:not(:disabled):not([readonly]),
|
|
1195
1160
|
tool-bar-item [is=disclosure-group] > button:not(:disabled):not([readonly]),
|
|
1196
1161
|
tool-bar-item [is=disclosure-group] > summary:not(:disabled):not([readonly])):active {
|
|
1197
1162
|
--toolbaritemface: var(--toolbaritemactiveface,);
|
|
1198
1163
|
--toolbaritemtext: var(--toolbaritemactivetext,);
|
|
1199
1164
|
}
|
|
1200
|
-
:where(menu-view:not(:disabled):not([readonly])):active::part(menu-summary) {
|
|
1201
|
-
--toolbaritemface: var(--toolbaritemactiveface,);
|
|
1202
|
-
--toolbaritemtext: var(--toolbaritemactivetext,);
|
|
1203
|
-
}
|
|
1204
1165
|
}
|
|
1205
1166
|
@layer sw-components {
|
|
1206
1167
|
:where(v-keyboard) {
|
|
@@ -1467,6 +1428,62 @@
|
|
|
1467
1428
|
}
|
|
1468
1429
|
}
|
|
1469
1430
|
}
|
|
1431
|
+
@layer sw-tab-components {
|
|
1432
|
+
:where(fine-tooltip) {
|
|
1433
|
+
color: var(--text, );
|
|
1434
|
+
pointer-events: none;
|
|
1435
|
+
touch-action: none;
|
|
1436
|
+
position: fixed;
|
|
1437
|
+
inline-size: max-content;
|
|
1438
|
+
block-size: max-content;
|
|
1439
|
+
height: auto;
|
|
1440
|
+
max-inline-size: 80vw;
|
|
1441
|
+
max-block-size: 80vh;
|
|
1442
|
+
margin-block: var(--tooltip--dialog-margin-block, );
|
|
1443
|
+
margin-inline: var(--tooltip--dialog-margin-inline, );
|
|
1444
|
+
transform: var(--tooltip--dialog-scale, ) var(--tooltip--dialog-translate, );
|
|
1445
|
+
opacity: var(--tooltip--dialog-opacity, );
|
|
1446
|
+
transform-origin: top;
|
|
1447
|
+
position-anchor: --fine-tooltip;
|
|
1448
|
+
position-area: bottom center;
|
|
1449
|
+
overflow: clip;
|
|
1450
|
+
border-radius: 0.9rem;
|
|
1451
|
+
backdrop-filter: var(--liquid-glass-backdrop-filter, );
|
|
1452
|
+
box-shadow: var(--menu-popover-box-shadow, );
|
|
1453
|
+
padding-block: 0.5rem;
|
|
1454
|
+
padding-inline: 1rem;
|
|
1455
|
+
gap: 0.5rem;
|
|
1456
|
+
border: none;
|
|
1457
|
+
position-try-fallbacks: --custom-top;
|
|
1458
|
+
position-try-order: most-height;
|
|
1459
|
+
position-visibility: anchors-visible;
|
|
1460
|
+
--tooltip--dialog-translate: translateY(-10%);
|
|
1461
|
+
--tooltip--dialog-scale: scale(0.9);
|
|
1462
|
+
--tooltip--dialog-opacity: 0;
|
|
1463
|
+
}
|
|
1464
|
+
:where(fine-tooltip[open]) {
|
|
1465
|
+
--tooltip--dialog-margin-block: max(env(safe-area-inset-top), var(--menu-spacing)) max(env(safe-area-inset-bottom), var(--menu-spacing));
|
|
1466
|
+
--tooltip--dialog-margin-inline: max(env(safe-area-inset-left), var(--menu-spacing)) max(env(safe-area-inset-right), var(--menu-spacing));
|
|
1467
|
+
--tooltip--dialog-translate: translateY(0);
|
|
1468
|
+
--tooltip--dialog-scale: scale(1);
|
|
1469
|
+
--tooltip--dialog-opacity: 0.9;
|
|
1470
|
+
}
|
|
1471
|
+
@starting-style {
|
|
1472
|
+
:where(fine-tooltip[open]) {
|
|
1473
|
+
--tooltip--dialog-translate: translateY(-10%);
|
|
1474
|
+
--tooltip--dialog-scale: scale(0.9);
|
|
1475
|
+
--tooltip--dialog-opacity: 0;
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
:where(fine-tooltip[closing]) {
|
|
1479
|
+
--tooltip--dialog-translate: translateY(-10%);
|
|
1480
|
+
--tooltip--dialog-scale: scale(0.9);
|
|
1481
|
+
--tooltip--dialog-opacity: 0;
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
@position-try --custom-top {
|
|
1485
|
+
position-area: top center;
|
|
1486
|
+
}
|
|
1470
1487
|
@property --stuck {
|
|
1471
1488
|
syntax: "<number>";
|
|
1472
1489
|
inherits: false;
|
|
@@ -1613,7 +1630,7 @@
|
|
|
1613
1630
|
backdrop-filter: var(--liquid-glass-backdrop-filter, );
|
|
1614
1631
|
box-shadow: var(--menu-popover-box-shadow, );
|
|
1615
1632
|
padding-block: 1rem;
|
|
1616
|
-
padding-inline:
|
|
1633
|
+
padding-inline: 1rem;
|
|
1617
1634
|
gap: 0.5rem;
|
|
1618
1635
|
--confirmation--dialog-scale: scale(0);
|
|
1619
1636
|
}
|
|
@@ -1660,18 +1677,17 @@
|
|
|
1660
1677
|
height: auto;
|
|
1661
1678
|
max-inline-size: min(20rem, 80vw);
|
|
1662
1679
|
max-block-size: 80vh;
|
|
1663
|
-
margin-block:
|
|
1664
|
-
margin-inline:
|
|
1680
|
+
margin-block: auto;
|
|
1681
|
+
margin-inline: auto;
|
|
1665
1682
|
transform: var(--alert--dialog-scale, );
|
|
1666
1683
|
opacity: var(--alert--dialog-opacity, );
|
|
1667
|
-
|
|
1668
|
-
position-area: center;
|
|
1684
|
+
place-self: center;
|
|
1669
1685
|
overflow: clip;
|
|
1670
1686
|
border-radius: 0.9rem;
|
|
1671
1687
|
backdrop-filter: var(--liquid-glass-backdrop-filter, );
|
|
1672
1688
|
box-shadow: var(--menu-popover-box-shadow, );
|
|
1673
1689
|
padding-block: 1rem;
|
|
1674
|
-
padding-inline:
|
|
1690
|
+
padding-inline: 1rem;
|
|
1675
1691
|
gap: 1rem;
|
|
1676
1692
|
--alert--dialog-scale: scale(1.2);
|
|
1677
1693
|
--alert--dialog-opacity: 0.8;
|
|
@@ -1816,19 +1832,19 @@
|
|
|
1816
1832
|
place-content: safe center;
|
|
1817
1833
|
gap: 1rem;
|
|
1818
1834
|
}
|
|
1819
|
-
:where(h-stack[template="
|
|
1835
|
+
:where(h-stack[template="spacer auto"]) {
|
|
1820
1836
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
1821
1837
|
}
|
|
1822
|
-
:where(h-stack[template="auto
|
|
1838
|
+
:where(h-stack[template="auto spacer auto auto"]) {
|
|
1823
1839
|
grid-template-columns: auto minmax(0, 1fr) auto auto;
|
|
1824
1840
|
}
|
|
1825
|
-
:where(h-stack[template="auto
|
|
1841
|
+
:where(h-stack[template="auto spacer auto"]) {
|
|
1826
1842
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
1827
1843
|
}
|
|
1828
|
-
:where(h-stack[template="repeat(4,
|
|
1844
|
+
:where(h-stack[template="repeat(4,spacer)"]) {
|
|
1829
1845
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
1830
1846
|
}
|
|
1831
|
-
:where(h-stack[template="repeat(2,
|
|
1847
|
+
:where(h-stack[template="repeat(2,spacer) auto"]) {
|
|
1832
1848
|
grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
|
|
1833
1849
|
}
|
|
1834
1850
|
}
|
|
@@ -1839,16 +1855,16 @@
|
|
|
1839
1855
|
place-content: safe center;
|
|
1840
1856
|
gap: 1rem;
|
|
1841
1857
|
}
|
|
1842
|
-
:where(v-stack[template="auto
|
|
1858
|
+
:where(v-stack[template="auto spacer"]) {
|
|
1843
1859
|
grid-template-rows: auto minmax(0, 1fr);
|
|
1844
1860
|
}
|
|
1845
|
-
:where(v-stack[template="auto auto
|
|
1861
|
+
:where(v-stack[template="auto auto spacer"]) {
|
|
1846
1862
|
grid-template-rows: auto auto minmax(0, 1fr);
|
|
1847
1863
|
}
|
|
1848
|
-
:where(v-stack[template="auto auto auto
|
|
1864
|
+
:where(v-stack[template="auto auto auto spacer"]) {
|
|
1849
1865
|
grid-template-rows: auto auto auto minmax(0, 1fr);
|
|
1850
1866
|
}
|
|
1851
|
-
:where(v-stack[template="auto auto auto auto
|
|
1867
|
+
:where(v-stack[template="auto auto auto auto spacer"]) {
|
|
1852
1868
|
grid-template-rows: auto auto auto auto minmax(0, 1fr);
|
|
1853
1869
|
}
|
|
1854
1870
|
}
|
|
@@ -1983,6 +1999,11 @@
|
|
|
1983
1999
|
--toolbaritemradiusbl: var(--toolbar-cell-border-radius);
|
|
1984
2000
|
--toolbaritemradiusbr: var(--toolbar-cell-border-radius);
|
|
1985
2001
|
--toolbaritemborder: 0;
|
|
2002
|
+
--menusummaryradiustl: var(--toolbar-cell-border-radius);
|
|
2003
|
+
--menusummaryradiustr: var(--toolbar-cell-border-radius);
|
|
2004
|
+
--menusummaryradiusbl: var(--toolbar-cell-border-radius);
|
|
2005
|
+
--menusummaryradiusbr: var(--toolbar-cell-border-radius);
|
|
2006
|
+
--menusummaryborder: 0;
|
|
1986
2007
|
}
|
|
1987
2008
|
:where(tool-bar-item:has([disabled])) {
|
|
1988
2009
|
pointer-events: none;
|
|
@@ -1991,35 +2012,37 @@
|
|
|
1991
2012
|
place-items: center;
|
|
1992
2013
|
place-content: center;
|
|
1993
2014
|
}
|
|
1994
|
-
:where(tool-bar-item > button
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
--label-padding-inline: 0.5rem;
|
|
2015
|
+
:where(tool-bar-item > button > [slot]) {
|
|
2016
|
+
position: absolute;
|
|
2017
|
+
visibility: collapse;
|
|
1998
2018
|
}
|
|
1999
|
-
|
|
2000
|
-
:
|
|
2001
|
-
tool-bar-item > menu-view > label-view) {
|
|
2002
|
-
--label-image-size: 1.8;
|
|
2003
|
-
}
|
|
2019
|
+
:where(tool-bar-item > button > [slot=overlay]) {
|
|
2020
|
+
visibility: visible;
|
|
2004
2021
|
}
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
outline: none;
|
|
2022
|
+
:where(tool-bar-item > button:not(:has(> :not([slot]))) > [slot=placeholder]) {
|
|
2023
|
+
position: relative;
|
|
2024
|
+
visibility: visible;
|
|
2009
2025
|
}
|
|
2010
|
-
:where(
|
|
2011
|
-
|
|
2026
|
+
:where(tool-bar-item > button:has(> [slot=overlay]) > *:not([slot=overlay])) {
|
|
2027
|
+
opacity: 0;
|
|
2012
2028
|
}
|
|
2013
|
-
@media (
|
|
2014
|
-
:where(
|
|
2015
|
-
|
|
2029
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
2030
|
+
:where(tool-bar-item > button:has(> [slot=overlay]) > [slot=overlay]) {
|
|
2031
|
+
transition: opacity ease-out 200ms;
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
@starting-style {
|
|
2035
|
+
:where(tool-bar-item > button:has(> [slot=overlay]) > [slot=overlay]) {
|
|
2036
|
+
opacity: 0;
|
|
2016
2037
|
}
|
|
2017
2038
|
}
|
|
2039
|
+
:where(tool-bar-item > button:has(> label-view > :not([slot])) > label-view,
|
|
2040
|
+
tool-bar-item > picker-view > menu-view:has(> label-view > :not([slot])) > label-view,
|
|
2041
|
+
tool-bar-item > menu-view:has(> label-view > :not([slot])) > label-view) {
|
|
2042
|
+
--label-padding-inline: 0.5rem;
|
|
2043
|
+
}
|
|
2018
2044
|
}
|
|
2019
2045
|
@layer sw-actions {
|
|
2020
|
-
:where(menu-view:not(:disabled):not([readonly])):active::part(menu-summary) {
|
|
2021
|
-
--toolbaritemface: var(--toolbaritemactiveface,);
|
|
2022
|
-
}
|
|
2023
2046
|
:where(tool-bar-item[slot]:has(menu-view[open])),
|
|
2024
2047
|
:where(tool-bar-item-group:has(> tool-bar-item menu-view[open])) {
|
|
2025
2048
|
--toolbar-cell-scale: var(--menu-host-offscreen-transform);
|
|
@@ -2958,6 +2981,16 @@
|
|
|
2958
2981
|
--menu--summary-scale: scale(0.01);
|
|
2959
2982
|
--menu--summary-filter: blur(10px);
|
|
2960
2983
|
}
|
|
2984
|
+
:where(menu-view)::part(menu-summary) {
|
|
2985
|
+
appearance: none;
|
|
2986
|
+
-webkit-appearance: none;
|
|
2987
|
+
border: var(--menusummaryborder,);
|
|
2988
|
+
background: var(--menusummaryface,);
|
|
2989
|
+
color: var(--menusummarytext,);
|
|
2990
|
+
padding-inline: var(--menusummarypadistart,) var(--menusummarypadiend,);
|
|
2991
|
+
padding-block: var(--menusummarypadbstart,) var(--menusummarypadbend,);
|
|
2992
|
+
border-radius: var(--menusummaryradiustl,) var(--menusummaryradiustr,) var(--menusummaryradiusbr,) var(--menusummaryradiusbl,);
|
|
2993
|
+
}
|
|
2961
2994
|
:where(menu-view > button, menu-view > [is=disclosure-group] > button, menu-view > [is=disclosure-group] > summary), :where(menu-view > menu-view)::part(menu-summary) {
|
|
2962
2995
|
appearance: none;
|
|
2963
2996
|
-webkit-appearance: none;
|
|
@@ -2980,6 +3013,19 @@
|
|
|
2980
3013
|
}
|
|
2981
3014
|
}
|
|
2982
3015
|
@layer sw-colors {
|
|
3016
|
+
:where(menu-view:not(:disabled):not([readonly])):focus-visible {
|
|
3017
|
+
outline: none;
|
|
3018
|
+
}
|
|
3019
|
+
:where(menu-view:not(:disabled):not([readonly])):focus-visible::part(menu-summary) {
|
|
3020
|
+
--menusummaryface: var(--menusummaryhighlightface,);
|
|
3021
|
+
--menusummarytext: var(--menusummaryhighlighttext,);
|
|
3022
|
+
}
|
|
3023
|
+
@media (pointer: fine) {
|
|
3024
|
+
:where(menu-view:not(:disabled):not([readonly])):hover::part(menu-summary) {
|
|
3025
|
+
--menusummaryface: var(--menusummaryhighlightface,);
|
|
3026
|
+
--menusummarytext: var(--menusummaryhighlighttext,);
|
|
3027
|
+
}
|
|
3028
|
+
}
|
|
2983
3029
|
:where(menu-view > button:not(:disabled):not([readonly]),
|
|
2984
3030
|
menu-view > [is=disclosure-group] > button:not(:disabled):not([readonly]),
|
|
2985
3031
|
menu-view > [is=disclosure-group] > summary:not(:disabled):not([readonly])):focus-visible {
|
|
@@ -3022,6 +3068,10 @@
|
|
|
3022
3068
|
}
|
|
3023
3069
|
}
|
|
3024
3070
|
@layer sw-actions {
|
|
3071
|
+
:where(menu-view:not(:disabled):not([readonly])):active::part(menu-summary) {
|
|
3072
|
+
--menusummaryface: var(--menusummaryactiveface,);
|
|
3073
|
+
--menusummarytext: var(--menusummaryactivetext,);
|
|
3074
|
+
}
|
|
3025
3075
|
:where(menu-view > button:not(:disabled):not([readonly]),
|
|
3026
3076
|
menu-view > [is=disclosure-group] > button:not(:disabled):not([readonly]),
|
|
3027
3077
|
menu-view > [is=disclosure-group] > summary:not(:disabled):not([readonly])):active {
|
|
@@ -4248,7 +4298,7 @@
|
|
|
4248
4298
|
--toolbar-cell-opacity: 1;
|
|
4249
4299
|
}
|
|
4250
4300
|
:where(navigation-split-view > scroll-view) {
|
|
4251
|
-
border-right: solid 1px
|
|
4301
|
+
border-right: solid 1px var(--separator);
|
|
4252
4302
|
}
|
|
4253
4303
|
:where(navigation-split-view > body-view scroll-view:not(dialog scroll-view):not(scroll-view scroll-view), navigation-split-view > body-view scroll-view:not(dialog scroll-view):not(scroll-view scroll-view) ~ tool-bar) {
|
|
4254
4304
|
margin-inline-start: var(--nav-split-view--content-inline-size);
|
|
@@ -4289,7 +4339,7 @@
|
|
|
4289
4339
|
--safe-area-inset-left: 0px;
|
|
4290
4340
|
}
|
|
4291
4341
|
:where(navigation-split-view:has(> [is=sidebar-view]):not([column-visibility=double-column])[preferred-compact-column=content] > body-view > scroll-view) {
|
|
4292
|
-
border-right: solid 1px
|
|
4342
|
+
border-right: solid 1px var(--separator);
|
|
4293
4343
|
}
|
|
4294
4344
|
:where(navigation-split-view:has(> [is=sidebar-view]):not([column-visibility=double-column])[preferred-compact-column=content] > body-view > scroll-view ~ tool-bar > tool-bar-item,
|
|
4295
4345
|
navigation-split-view:has(> [is=sidebar-view]):not([column-visibility=double-column])[preferred-compact-column=content] > body-view > scroll-view ~ tool-bar > tool-bar-item-group) {
|
|
@@ -4325,7 +4375,7 @@
|
|
|
4325
4375
|
--safe-area-inset-right: 0px;
|
|
4326
4376
|
}
|
|
4327
4377
|
:where(navigation-split-view:has(> [is=sidebar-view]):not([column-visibility=double-column]) > body-view > scroll-view) {
|
|
4328
|
-
border-right: solid 1px
|
|
4378
|
+
border-right: solid 1px var(--separator);
|
|
4329
4379
|
}
|
|
4330
4380
|
:where(navigation-split-view:has(> [is=sidebar-view]):not([column-visibility=double-column]) > body-view > body-view scroll-view:not(dialog scroll-view):not(scroll-view scroll-view), navigation-split-view:has(> [is=sidebar-view]):not([column-visibility=double-column]) > body-view > body-view scroll-view:not(dialog scroll-view):not(scroll-view scroll-view) ~ tool-bar) {
|
|
4331
4381
|
--safe-area-inset-left: 0px;
|
|
@@ -6618,6 +6668,19 @@
|
|
|
6618
6668
|
}
|
|
6619
6669
|
}
|
|
6620
6670
|
}
|
|
6671
|
+
@layer sw-transitions {
|
|
6672
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
6673
|
+
:where(fine-tooltip) {
|
|
6674
|
+
transition: opacity 150ms allow-discrete ease-out, transform 150ms allow-discrete ease-out;
|
|
6675
|
+
transition-delay: 200ms;
|
|
6676
|
+
will-change: opacity, transform;
|
|
6677
|
+
}
|
|
6678
|
+
:where(fine-tooltip[closing]) {
|
|
6679
|
+
transition-duration: 100ms;
|
|
6680
|
+
transition-delay: 0ms;
|
|
6681
|
+
}
|
|
6682
|
+
}
|
|
6683
|
+
}
|
|
6621
6684
|
@layer sw-transitions {
|
|
6622
6685
|
@media (prefers-reduced-motion: no-preference) {
|
|
6623
6686
|
:where(menu-view)::part(menu-summary) {
|
|
@@ -7587,6 +7650,11 @@
|
|
|
7587
7650
|
initial-value: oklch(100% 0 0deg);
|
|
7588
7651
|
inherits: true;
|
|
7589
7652
|
}
|
|
7653
|
+
@property --clear {
|
|
7654
|
+
syntax: "<color>";
|
|
7655
|
+
initial-value: oklch(0% 0 0deg / 0);
|
|
7656
|
+
inherits: true;
|
|
7657
|
+
}
|
|
7590
7658
|
@layer sw-colors {
|
|
7591
7659
|
:root {
|
|
7592
7660
|
--face: var(--background);
|
|
@@ -7626,29 +7694,48 @@
|
|
|
7626
7694
|
--toolbaritemhighlightface: light-dark(var(--toolbar-cell-focus-bg), var(--toolbar-cell-focus-bg-dark));
|
|
7627
7695
|
--toolbaritemactiveface: light-dark(var(--toolbar-cell-active-bg), var(--toolbar-cell-active-bg-dark));
|
|
7628
7696
|
}
|
|
7629
|
-
:where(tool-bar-item[tint],
|
|
7697
|
+
:where(tool-bar-item[tint], [tint] tool-bar-item,
|
|
7630
7698
|
tool-bar-item-group[tint],
|
|
7631
|
-
|
|
7632
|
-
|
|
7633
|
-
|
|
7634
|
-
--
|
|
7635
|
-
--
|
|
7636
|
-
--toolbaritemhighlightface: light-dark(
|
|
7637
|
-
|
|
7638
|
-
oklch(from var(--accentColor) min(calc(l * 1.1), 1) min(calc(c * 1.1), c) h)
|
|
7639
|
-
);
|
|
7699
|
+
[tint] tool-bar-item-group,
|
|
7700
|
+
navigation-split-view sidebar-toggle[tint],
|
|
7701
|
+
[tint] navigation-split-view sidebar-toggle) {
|
|
7702
|
+
--toolbaritemface: light-dark(var(--accentColor), var(--accentColor));
|
|
7703
|
+
--toolbaritemtext: light-dark(oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none), oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none));
|
|
7704
|
+
--toolbaritemhighlightface: light-dark(oklch(from var(--accentColor) min(calc(l * 1.1), 1) min(calc(c * 1.1), c) h), oklch(from var(--accentColor) min(calc(l * 1.1), 1) min(calc(c * 1.1), c) h));
|
|
7705
|
+
--toolbaritemhighlighttext: light-dark(oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none), oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none));
|
|
7640
7706
|
--toolbaritemactiveface: light-dark(oklch(from var(--accentColor) min(calc(l * 1.2), 1) min(calc(c * 1.1), c) h), oklch(from var(--accentColor) min(calc(l * 1.2), 1) min(calc(c * 1.1), c) h));
|
|
7707
|
+
--toolbaritemactivetext: light-dark(oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none), oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none));
|
|
7641
7708
|
}
|
|
7642
|
-
:where(sidebar-toggle
|
|
7643
|
-
menu-view) {
|
|
7709
|
+
:where(sidebar-toggle) {
|
|
7644
7710
|
--toolbaritemhighlightface: light-dark(var(--toolbar-cell-focus-bg), var(--toolbar-cell-focus-bg-dark));
|
|
7645
7711
|
--toolbaritemactiveface: light-dark(var(--toolbar-cell-active-bg), var(--toolbar-cell-active-bg-dark));
|
|
7646
7712
|
}
|
|
7647
7713
|
:where(menu-view) {
|
|
7648
|
-
--
|
|
7649
|
-
--
|
|
7650
|
-
|
|
7651
|
-
|
|
7714
|
+
--menuitemhighlightface: light-dark(var(--clear), var(--clear));
|
|
7715
|
+
--menuitemactiveface: light-dark(oklch(0 0 0 / 20%), oklch(1 0 0 / 20%));
|
|
7716
|
+
}
|
|
7717
|
+
@media (pointer: fine) {
|
|
7718
|
+
:where(menu-view) {
|
|
7719
|
+
--menuitemhighlightface: light-dark(var(--accentColor), var(--accentColor));
|
|
7720
|
+
--menuitemhighlighttext: light-dark(oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none), oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none));
|
|
7721
|
+
--menuitemactivetext: light-dark(oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none), oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none));
|
|
7722
|
+
--menuitemactiveface: light-dark(
|
|
7723
|
+
oklch(from var(--accentColor) max(calc(l * 0.7), 0) min(calc(c * 1.4), c) h),
|
|
7724
|
+
oklch(from var(--accentColor) min(calc(l * 1.3), 1) min(calc(c * 1.2), c) h)
|
|
7725
|
+
);
|
|
7726
|
+
}
|
|
7727
|
+
}
|
|
7728
|
+
:where(menu-view) {
|
|
7729
|
+
--menusummaryhighlightface: light-dark(var(--toolbar-cell-focus-bg), var(--toolbar-cell-focus-bg-dark));
|
|
7730
|
+
--menusummaryactiveface: light-dark(var(--toolbar-cell-active-bg), var(--toolbar-cell-active-bg-dark));
|
|
7731
|
+
}
|
|
7732
|
+
:where(tool-bar-item > picker-view > menu-view, tool-bar-item > menu-view) {
|
|
7733
|
+
--menusummaryface: var(--toolbaritemface);
|
|
7734
|
+
--menusummaryhighlightface: var(--toolbaritemhighlightface);
|
|
7735
|
+
--menusummaryactiveface: var(--toolbaritemactiveface);
|
|
7736
|
+
--menusummarytext: var(--toolbaritemtext);
|
|
7737
|
+
--menusummaryhighlighttext: var(--toolbaritemhighlighttext);
|
|
7738
|
+
--menusummaryactivetext: var(--toolbaritemactivetext);
|
|
7652
7739
|
}
|
|
7653
7740
|
:where([is=confirmation-dialog], [is=alert-dialog]) {
|
|
7654
7741
|
--dialogbtnface: light-dark(var(--toolbar-cell-bg), var(--toolbar-cell-bg-dark));
|
|
@@ -7698,17 +7785,17 @@
|
|
|
7698
7785
|
oklch(from var(--accentEmphasis, var(--accentColor)) min(calc(l * 1.2), 1) min(calc(c * 1.1), c) h),
|
|
7699
7786
|
oklch(from var(--accentEmphasis, var(--accentColor)) min(calc(l * 1.2), 1) min(calc(c * 1.1), c) h)
|
|
7700
7787
|
);
|
|
7701
|
-
--btnface: light-dark(var(--glass-
|
|
7702
|
-
--btnhighlightface: light-dark(var(--glass-
|
|
7703
|
-
--btnactiveface: light-dark(var(--glass-
|
|
7788
|
+
--btnface: light-dark(var(--clear-glass-bg), var(--clear-glass-bg-dark));
|
|
7789
|
+
--btnhighlightface: light-dark(var(--clear-glass-focus-bg), var(--clear-glass-focus-bg-dark));
|
|
7790
|
+
--btnactiveface: light-dark(var(--clear-glass-active-bg), var(--clear-glass-active-bg-dark));
|
|
7704
7791
|
}
|
|
7705
7792
|
:where([is=glass-prominent-button]) {
|
|
7706
|
-
--
|
|
7707
|
-
--
|
|
7708
|
-
--btnactivetext: oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none);
|
|
7709
|
-
--btnface: var(--accentColor);
|
|
7793
|
+
--btnface: light-dark(var(--accentColor), var(--accentColor));
|
|
7794
|
+
--btntext: light-dark(oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none), oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none));
|
|
7710
7795
|
--btnhighlightface: light-dark(oklch(from var(--accentColor) min(calc(l * 1.1), 1) min(calc(c * 1.1), c) h), oklch(from var(--accentColor) min(calc(l * 1.1), 1) min(calc(c * 1.1), c) h));
|
|
7796
|
+
--btnhighlighttext: light-dark(oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none), oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none));
|
|
7711
7797
|
--btnactiveface: light-dark(oklch(from var(--accentColor) min(calc(l * 1.2), 1) min(calc(c * 1.1), c) h), oklch(from var(--accentColor) min(calc(l * 1.2), 1) min(calc(c * 1.1), c) h));
|
|
7798
|
+
--btnactivetext: light-dark(oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none), oklch(from var(--accentColor) clamp(0, (0.7 - l) * 999, 1) none none));
|
|
7712
7799
|
}
|
|
7713
7800
|
/* list-view {
|
|
7714
7801
|
:where(&) {
|