@womp/kookie-ui 0.35.1 → 0.35.2
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/components.css +35 -35
- package/package.json +1 -1
- package/src/components/_internal/base-card.css +3 -3
- package/src/components/_internal/base-menu.css +1 -1
- package/src/components/_internal/base-sidebar-menu.css +1 -1
- package/src/components/_internal/base-tab-list.css +1 -1
- package/src/components/accordion.css +2 -2
- package/src/components/avatar.css +2 -2
- package/src/components/card.css +1 -1
- package/src/components/chatbar.css +2 -2
- package/src/components/combobox.css +1 -1
- package/src/components/command.css +1 -1
- package/src/components/kbd.css +2 -2
- package/src/components/message-scroller.css +1 -1
- package/src/components/navigator.css +1 -1
- package/src/components/scroll-area.css +1 -1
- package/src/components/select.css +6 -6
- package/src/components/sidebar.css +2 -2
- package/src/components/text-area.css +1 -1
- package/src/components/text-field.css +3 -3
- package/src/components/virtual-menu.css +1 -1
- package/src/styles/tokens/constants.css +3 -3
- package/styles.css +37 -37
- package/tokens.css +2 -2
package/components.css
CHANGED
|
@@ -947,7 +947,7 @@
|
|
|
947
947
|
}
|
|
948
948
|
}
|
|
949
949
|
:where(.kui-AccordionTrigger:focus-visible) {
|
|
950
|
-
outline: var(--focus-
|
|
950
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
951
951
|
outline-offset: var(--focus-outline-offset-inset);
|
|
952
952
|
}
|
|
953
953
|
.kui-AccordionContent {
|
|
@@ -1077,7 +1077,7 @@
|
|
|
1077
1077
|
border: 1px solid CanvasText;
|
|
1078
1078
|
}
|
|
1079
1079
|
:where(.kui-AccordionTrigger:focus-visible) {
|
|
1080
|
-
outline:
|
|
1080
|
+
outline: var(--focus-ring-width) solid CanvasText;
|
|
1081
1081
|
outline-offset: 2px;
|
|
1082
1082
|
}
|
|
1083
1083
|
:where(.kui-AccordionItem:not(:last-child)) {
|
|
@@ -1389,8 +1389,8 @@
|
|
|
1389
1389
|
cursor: pointer;
|
|
1390
1390
|
}
|
|
1391
1391
|
:is(.kui-AvatarRoot:where(button),.kui-AvatarRoot:where(a),.kui-AvatarRoot:where([role='button'])):where(:focus-visible) {
|
|
1392
|
-
outline: var(--focus-
|
|
1393
|
-
outline-offset: var(--focus-
|
|
1392
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
1393
|
+
outline-offset: var(--focus-ring-offset);
|
|
1394
1394
|
}
|
|
1395
1395
|
:is(.kui-AvatarRoot:where(button),.kui-AvatarRoot:where(a),.kui-AvatarRoot:where([role='button'])):where(:disabled),:is(.kui-AvatarRoot:where(button),.kui-AvatarRoot:where(a),.kui-AvatarRoot:where([role='button'])):where([data-disabled]) {
|
|
1396
1396
|
cursor: default;
|
|
@@ -3484,7 +3484,7 @@
|
|
|
3484
3484
|
background-color: var(--v-bg);
|
|
3485
3485
|
}
|
|
3486
3486
|
.kui-BaseCard:where(.kui-variant-outline,.kui-variant-soft,.kui-variant-surface):where(:focus-visible) {
|
|
3487
|
-
outline:
|
|
3487
|
+
outline: var(--focus-ring-width) solid var(--v-focus-color);
|
|
3488
3488
|
outline-offset: var(--v-focus-offset);
|
|
3489
3489
|
}
|
|
3490
3490
|
.kui-BaseCard:where(.kui-variant-outline,.kui-variant-soft,.kui-variant-surface):where(:focus-visible)::after {
|
|
@@ -3582,7 +3582,7 @@
|
|
|
3582
3582
|
--v-focus-offset: -1px;
|
|
3583
3583
|
}
|
|
3584
3584
|
.kui-BaseCard:where(.kui-variant-ghost):where(:focus-visible) {
|
|
3585
|
-
outline:
|
|
3585
|
+
outline: var(--focus-ring-width) solid var(--v-focus-color);
|
|
3586
3586
|
outline-offset: var(--v-focus-offset);
|
|
3587
3587
|
}
|
|
3588
3588
|
@media (hover: hover) {
|
|
@@ -3647,7 +3647,7 @@
|
|
|
3647
3647
|
box-shadow: none;
|
|
3648
3648
|
}
|
|
3649
3649
|
.kui-BaseCard:where(.kui-variant-raised):where(:focus-visible) {
|
|
3650
|
-
outline:
|
|
3650
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
3651
3651
|
outline-offset: 2px;
|
|
3652
3652
|
}
|
|
3653
3653
|
@media (hover: hover) {
|
|
@@ -3729,7 +3729,7 @@
|
|
|
3729
3729
|
--base-card-border-radius: var(--kui-sf-r);
|
|
3730
3730
|
}
|
|
3731
3731
|
.kui-Card:where(:focus-visible) {
|
|
3732
|
-
outline:
|
|
3732
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
3733
3733
|
outline-offset: -1px;
|
|
3734
3734
|
}
|
|
3735
3735
|
.kui-Card:where(:focus-visible)::after {
|
|
@@ -4984,7 +4984,7 @@
|
|
|
4984
4984
|
}
|
|
4985
4985
|
@media (forced-colors: active) {
|
|
4986
4986
|
.kui-BaseMenuItem:where(:focus-visible) {
|
|
4987
|
-
outline:
|
|
4987
|
+
outline: var(--focus-ring-width) solid Highlight;
|
|
4988
4988
|
outline-offset: 2px;
|
|
4989
4989
|
}
|
|
4990
4990
|
.kui-BaseMenuContent:not(:where(.kui-SidebarContent)) {
|
|
@@ -5194,7 +5194,7 @@
|
|
|
5194
5194
|
}
|
|
5195
5195
|
@media (forced-colors: active) {
|
|
5196
5196
|
.kui-CommandItem:where([data-selected='true']) {
|
|
5197
|
-
outline:
|
|
5197
|
+
outline: var(--focus-ring-width) solid Highlight;
|
|
5198
5198
|
outline-offset: -2px;
|
|
5199
5199
|
}
|
|
5200
5200
|
.kui-CommandSearch {
|
|
@@ -5354,13 +5354,13 @@
|
|
|
5354
5354
|
}
|
|
5355
5355
|
@supports selector(:has(*)) {
|
|
5356
5356
|
.kui-TextFieldRoot:where(:has(.kui-TextFieldInput:focus)) {
|
|
5357
|
-
outline:
|
|
5357
|
+
outline: var(--focus-ring-width) solid var(--text-field-focus-color);
|
|
5358
5358
|
outline-offset: -1px;
|
|
5359
5359
|
}
|
|
5360
5360
|
}
|
|
5361
5361
|
@supports not selector(:has(*)) {
|
|
5362
5362
|
.kui-TextFieldRoot:where(:focus-within) {
|
|
5363
|
-
outline:
|
|
5363
|
+
outline: var(--focus-ring-width) solid var(--text-field-focus-color);
|
|
5364
5364
|
outline-offset: -1px;
|
|
5365
5365
|
}
|
|
5366
5366
|
}
|
|
@@ -5423,7 +5423,7 @@
|
|
|
5423
5423
|
}
|
|
5424
5424
|
}
|
|
5425
5425
|
.kui-TextFieldInput::-webkit-calendar-picker-indicator:where(:focus-visible) {
|
|
5426
|
-
outline:
|
|
5426
|
+
outline: var(--focus-ring-width) solid var(--text-field-focus-color);
|
|
5427
5427
|
}
|
|
5428
5428
|
:is(.kui-TextFieldInput::-webkit-datetime-edit-ampm-field,.kui-TextFieldInput::-webkit-datetime-edit-day-field,.kui-TextFieldInput::-webkit-datetime-edit-hour-field,.kui-TextFieldInput::-webkit-datetime-edit-millisecond-field,.kui-TextFieldInput::-webkit-datetime-edit-minute-field,.kui-TextFieldInput::-webkit-datetime-edit-month-field,.kui-TextFieldInput::-webkit-datetime-edit-second-field,.kui-TextFieldInput::-webkit-datetime-edit-week-field,.kui-TextFieldInput::-webkit-datetime-edit-year-field):where(:focus) {
|
|
5429
5429
|
background-color: var(--text-field-selection-color);
|
|
@@ -6724,7 +6724,7 @@
|
|
|
6724
6724
|
}
|
|
6725
6725
|
@media (forced-colors: active) {
|
|
6726
6726
|
.kui-ComboboxItem:where([data-selected='true']) {
|
|
6727
|
-
outline:
|
|
6727
|
+
outline: var(--focus-ring-width) solid Highlight;
|
|
6728
6728
|
outline-offset: -2px;
|
|
6729
6729
|
}
|
|
6730
6730
|
}
|
|
@@ -7177,10 +7177,10 @@
|
|
|
7177
7177
|
box-shadow: inset 0 var(--raised-border-width) var(--black-a3), 0 0 0 var(--raised-border-width) var(--neutral-a7);
|
|
7178
7178
|
}
|
|
7179
7179
|
.kui-Kbd:where(.kui-variant-raised):where(:-moz-any-link,button):where(:focus-visible) {
|
|
7180
|
-
outline:
|
|
7180
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
7181
7181
|
}
|
|
7182
7182
|
.kui-Kbd:where(.kui-variant-raised):where(:any-link,button):where(:focus-visible) {
|
|
7183
|
-
outline:
|
|
7183
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
7184
7184
|
}
|
|
7185
7185
|
.kui-Kbd:where(.kui-variant-soft) {
|
|
7186
7186
|
background-color: var(--neutral-a3);
|
|
@@ -7206,10 +7206,10 @@
|
|
|
7206
7206
|
background-color: var(--neutral-a5);
|
|
7207
7207
|
}
|
|
7208
7208
|
.kui-Kbd:where(.kui-variant-soft):where(:-moz-any-link,button):where(:focus-visible) {
|
|
7209
|
-
outline:
|
|
7209
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
7210
7210
|
}
|
|
7211
7211
|
.kui-Kbd:where(.kui-variant-soft):where(:any-link,button):where(:focus-visible) {
|
|
7212
|
-
outline:
|
|
7212
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
7213
7213
|
}
|
|
7214
7214
|
.kui-Kbd:where(.kui-r-size-1) {
|
|
7215
7215
|
font-size: var(--font-size-1);
|
|
@@ -8347,7 +8347,7 @@
|
|
|
8347
8347
|
position: absolute;
|
|
8348
8348
|
inset: 0;
|
|
8349
8349
|
pointer-events: none;
|
|
8350
|
-
outline:
|
|
8350
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
8351
8351
|
outline-offset: -2px;
|
|
8352
8352
|
}
|
|
8353
8353
|
:where(.kui-ScrollAreaRoot:has(> .kui-ScrollAreaScrollbar[data-orientation='horizontal'])) > .kui-ScrollAreaViewport {
|
|
@@ -9756,7 +9756,7 @@
|
|
|
9756
9756
|
font-weight: var(--font-weight-medium);
|
|
9757
9757
|
}
|
|
9758
9758
|
.kui-SelectTrigger:where(:focus-visible) {
|
|
9759
|
-
outline: var(--focus-
|
|
9759
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
9760
9760
|
outline-offset: var(--focus-outline-offset-inset);
|
|
9761
9761
|
}
|
|
9762
9762
|
.kui-SelectTriggerInner {
|
|
@@ -10215,7 +10215,7 @@
|
|
|
10215
10215
|
box-shadow: var(--field-chrome);
|
|
10216
10216
|
}
|
|
10217
10217
|
.kui-SelectTrigger:where(.kui-variant-raised):where(:focus-visible) {
|
|
10218
|
-
outline:
|
|
10218
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
10219
10219
|
outline-offset: 2px;
|
|
10220
10220
|
}
|
|
10221
10221
|
@media (hover: hover) {
|
|
@@ -10242,7 +10242,7 @@
|
|
|
10242
10242
|
color: var(--accent-ink);
|
|
10243
10243
|
}
|
|
10244
10244
|
.kui-SelectTrigger:where(.kui-variant-soft):where(:focus-visible) {
|
|
10245
|
-
outline:
|
|
10245
|
+
outline: var(--focus-ring-width) solid var(--accent-8);
|
|
10246
10246
|
outline-offset: -1px;
|
|
10247
10247
|
}
|
|
10248
10248
|
@media (hover: hover) {
|
|
@@ -10280,7 +10280,7 @@
|
|
|
10280
10280
|
}
|
|
10281
10281
|
}
|
|
10282
10282
|
.kui-SelectTrigger:where(.kui-variant-ghost):where(:focus-visible) {
|
|
10283
|
-
outline:
|
|
10283
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
10284
10284
|
outline-offset: -1px;
|
|
10285
10285
|
}
|
|
10286
10286
|
.kui-SelectTrigger:where(.kui-variant-ghost):where([data-state='open']) {
|
|
@@ -10317,7 +10317,7 @@
|
|
|
10317
10317
|
box-shadow: inset 0 0 0 1px var(--accent-8);
|
|
10318
10318
|
}
|
|
10319
10319
|
.kui-SelectTrigger:where(.kui-variant-outline):where(:focus-visible) {
|
|
10320
|
-
outline:
|
|
10320
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
10321
10321
|
outline-offset: -1px;
|
|
10322
10322
|
}
|
|
10323
10323
|
.kui-SelectTrigger:where(.kui-variant-outline):where(:disabled) {
|
|
@@ -10355,7 +10355,7 @@
|
|
|
10355
10355
|
box-shadow: inset 0 0 0 1px var(--accent-8);
|
|
10356
10356
|
}
|
|
10357
10357
|
.kui-SelectTrigger:where(.kui-variant-surface):where(:focus-visible) {
|
|
10358
|
-
outline:
|
|
10358
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
10359
10359
|
outline-offset: -1px;
|
|
10360
10360
|
}
|
|
10361
10361
|
.kui-SelectTrigger:where(.kui-variant-surface):where(:disabled) {
|
|
@@ -10679,7 +10679,7 @@
|
|
|
10679
10679
|
color: var(--accent-a12);
|
|
10680
10680
|
}
|
|
10681
10681
|
.kui-SidebarMenuButton:where(:focus-visible) {
|
|
10682
|
-
outline:
|
|
10682
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
10683
10683
|
outline-offset: 2px;
|
|
10684
10684
|
}
|
|
10685
10685
|
.kui-SidebarMenuButton:where([data-accent-color]) {
|
|
@@ -11149,7 +11149,7 @@
|
|
|
11149
11149
|
justify-content: flex-start;
|
|
11150
11150
|
}
|
|
11151
11151
|
:is(.kui-SidebarHeader :where(.kui-SidebarMenuButton),.kui-SidebarFooter :where(.kui-SidebarMenuButton)):where(:focus-visible) {
|
|
11152
|
-
outline:
|
|
11152
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
11153
11153
|
outline-offset: 2px;
|
|
11154
11154
|
}
|
|
11155
11155
|
.kui-SidebarMenuSubTriggerIcon {
|
|
@@ -11886,7 +11886,7 @@
|
|
|
11886
11886
|
}
|
|
11887
11887
|
}
|
|
11888
11888
|
.kui-SidebarSearchPopover .kui-SidebarMenuButton:where(:focus-visible) {
|
|
11889
|
-
outline:
|
|
11889
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
11890
11890
|
outline-offset: -2px;
|
|
11891
11891
|
}
|
|
11892
11892
|
.kui-SidebarSearchPopover .kui-SidebarMenuButton[data-active] {
|
|
@@ -14712,7 +14712,7 @@
|
|
|
14712
14712
|
background-color: Highlight;
|
|
14713
14713
|
}
|
|
14714
14714
|
.kui-BaseTabListTrigger:where(:focus-visible) :where(.kui-BaseTabListTriggerInner) {
|
|
14715
|
-
outline:
|
|
14715
|
+
outline: var(--focus-ring-width) solid Highlight;
|
|
14716
14716
|
outline-offset: 2px;
|
|
14717
14717
|
}
|
|
14718
14718
|
}
|
|
@@ -14767,7 +14767,7 @@
|
|
|
14767
14767
|
height: auto;
|
|
14768
14768
|
}
|
|
14769
14769
|
.kui-TextAreaRoot:where(:focus-within) {
|
|
14770
|
-
outline:
|
|
14770
|
+
outline: var(--focus-ring-width) solid var(--v-focus-color, var(--focus-8));
|
|
14771
14771
|
outline-offset: -1px;
|
|
14772
14772
|
}
|
|
14773
14773
|
.kui-TextAreaRoot::-moz-selection {
|
|
@@ -15669,7 +15669,7 @@
|
|
|
15669
15669
|
background-color: var(--neutral-a4);
|
|
15670
15670
|
}
|
|
15671
15671
|
.kui-NavigatorLink:where(:focus-visible) {
|
|
15672
|
-
outline:
|
|
15672
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
15673
15673
|
outline-offset: -2px;
|
|
15674
15674
|
}
|
|
15675
15675
|
.kui-Page {
|
|
@@ -15745,7 +15745,7 @@
|
|
|
15745
15745
|
outline: none;
|
|
15746
15746
|
}
|
|
15747
15747
|
.kui-VirtualMenuRoot:where(:focus-visible) {
|
|
15748
|
-
outline:
|
|
15748
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
15749
15749
|
outline-offset: -2px;
|
|
15750
15750
|
}
|
|
15751
15751
|
.kui-VirtualMenuViewport {
|
|
@@ -16505,7 +16505,7 @@
|
|
|
16505
16505
|
}
|
|
16506
16506
|
}
|
|
16507
16507
|
.kui-ChatbarBox:where(.kui-variant-soft,.kui-variant-ghost,.kui-variant-outline,.kui-variant-surface):where(:focus-within) {
|
|
16508
|
-
outline:
|
|
16508
|
+
outline: var(--focus-ring-width) solid var(--v-focus-color, var(--focus-8));
|
|
16509
16509
|
outline-offset: -1px;
|
|
16510
16510
|
}
|
|
16511
16511
|
.kui-ChatbarBox:where(.kui-variant-outline, .kui-variant-surface) {
|
|
@@ -16550,7 +16550,7 @@
|
|
|
16550
16550
|
border: 1px solid CanvasText;
|
|
16551
16551
|
}
|
|
16552
16552
|
.kui-ChatbarBox:where(.kui-variant-raised):where(:focus-within) {
|
|
16553
|
-
outline:
|
|
16553
|
+
outline: var(--focus-ring-width) solid Highlight;
|
|
16554
16554
|
outline-offset: -1px;
|
|
16555
16555
|
}
|
|
16556
16556
|
.kui-ChatbarRoot:where([data-disabled]) .kui-ChatbarBox {
|
|
@@ -16708,7 +16708,7 @@
|
|
|
16708
16708
|
outline: none;
|
|
16709
16709
|
}
|
|
16710
16710
|
.kui-MessageScrollerViewport:where(:focus-visible) {
|
|
16711
|
-
outline:
|
|
16711
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
16712
16712
|
outline-offset: -2px;
|
|
16713
16713
|
}
|
|
16714
16714
|
.kui-MessageScrollerContent {
|
package/package.json
CHANGED
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
|
|
164
164
|
/* Focus */
|
|
165
165
|
&:where(:focus-visible) {
|
|
166
|
-
outline:
|
|
166
|
+
outline: var(--focus-ring-width) solid var(--v-focus-color);
|
|
167
167
|
outline-offset: var(--v-focus-offset);
|
|
168
168
|
|
|
169
169
|
&::after {
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
|
|
274
274
|
/* Focus */
|
|
275
275
|
&:where(:focus-visible) {
|
|
276
|
-
outline:
|
|
276
|
+
outline: var(--focus-ring-width) solid var(--v-focus-color);
|
|
277
277
|
outline-offset: var(--v-focus-offset);
|
|
278
278
|
}
|
|
279
279
|
|
|
@@ -338,7 +338,7 @@
|
|
|
338
338
|
}
|
|
339
339
|
|
|
340
340
|
&:where(:focus-visible) {
|
|
341
|
-
outline:
|
|
341
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
342
342
|
outline-offset: 2px;
|
|
343
343
|
}
|
|
344
344
|
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
|
|
191
191
|
/* Trigger focus states */
|
|
192
192
|
:where(.kui-AccordionTrigger:focus-visible) {
|
|
193
|
-
outline: var(--focus-
|
|
193
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
194
194
|
outline-offset: var(--focus-outline-offset-inset);
|
|
195
195
|
}
|
|
196
196
|
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
:where(.kui-AccordionTrigger:focus-visible) {
|
|
249
|
-
outline:
|
|
249
|
+
outline: var(--focus-ring-width) solid CanvasText;
|
|
250
250
|
outline-offset: 2px;
|
|
251
251
|
}
|
|
252
252
|
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
cursor: pointer;
|
|
39
39
|
|
|
40
40
|
&:where(:focus-visible) {
|
|
41
|
-
outline: var(--focus-
|
|
42
|
-
outline-offset: var(--focus-
|
|
41
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
42
|
+
outline-offset: var(--focus-ring-offset);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/* Disabled is a colour remap: the element still hit-tests, so the cursor stops promising a press. */
|
package/src/components/card.css
CHANGED
|
@@ -341,7 +341,7 @@
|
|
|
341
341
|
|
|
342
342
|
/* Focus state - outline ring (raised has its own box-shadow ring) */
|
|
343
343
|
&:where(:focus-within) {
|
|
344
|
-
outline:
|
|
344
|
+
outline: var(--focus-ring-width) solid var(--v-focus-color, var(--focus-8));
|
|
345
345
|
outline-offset: -1px;
|
|
346
346
|
}
|
|
347
347
|
}
|
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
border: 1px solid CanvasText;
|
|
418
418
|
}
|
|
419
419
|
.kui-ChatbarBox:where(.kui-variant-raised):where(:focus-within) {
|
|
420
|
-
outline:
|
|
420
|
+
outline: var(--focus-ring-width) solid Highlight;
|
|
421
421
|
outline-offset: -1px;
|
|
422
422
|
}
|
|
423
423
|
.kui-ChatbarRoot:where([data-disabled]) .kui-ChatbarBox {
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
/* Items never take DOM focus, so the base menu :focus-visible rule never matches. */
|
|
125
125
|
@media (forced-colors: active) {
|
|
126
126
|
.kui-ComboboxItem:where([data-selected='true']) {
|
|
127
|
-
outline:
|
|
127
|
+
outline: var(--focus-ring-width) solid Highlight;
|
|
128
128
|
outline-offset: -2px;
|
|
129
129
|
}
|
|
130
130
|
}
|
package/src/components/kbd.css
CHANGED
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
box-shadow: inset 0 var(--raised-border-width) var(--black-a3), 0 0 0 var(--raised-border-width) var(--neutral-a7);
|
|
104
104
|
}
|
|
105
105
|
&:where(:focus-visible) {
|
|
106
|
-
outline:
|
|
106
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
}
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
background-color: var(--neutral-a5);
|
|
125
125
|
}
|
|
126
126
|
&:where(:focus-visible) {
|
|
127
|
-
outline:
|
|
127
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&:where(:focus-visible) {
|
|
24
|
-
outline: var(--focus-
|
|
24
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
25
25
|
outline-offset: var(--focus-outline-offset-inset);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
box-shadow: var(--field-chrome);
|
|
204
204
|
|
|
205
205
|
&:where(:focus-visible) {
|
|
206
|
-
outline:
|
|
206
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
207
207
|
outline-offset: 2px;
|
|
208
208
|
}
|
|
209
209
|
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
color: var(--accent-ink);
|
|
241
241
|
|
|
242
242
|
&:where(:focus-visible) {
|
|
243
|
-
outline:
|
|
243
|
+
outline: var(--focus-ring-width) solid var(--accent-8);
|
|
244
244
|
outline-offset: -1px;
|
|
245
245
|
}
|
|
246
246
|
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
&:where(:focus-visible) {
|
|
296
|
-
outline:
|
|
296
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
297
297
|
outline-offset: -1px;
|
|
298
298
|
}
|
|
299
299
|
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
}
|
|
337
337
|
|
|
338
338
|
&:where(:focus-visible) {
|
|
339
|
-
outline:
|
|
339
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
340
340
|
outline-offset: -1px;
|
|
341
341
|
}
|
|
342
342
|
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
}
|
|
381
381
|
|
|
382
382
|
&:where(:focus-visible) {
|
|
383
|
-
outline:
|
|
383
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
384
384
|
outline-offset: -1px;
|
|
385
385
|
}
|
|
386
386
|
|
|
@@ -402,7 +402,7 @@
|
|
|
402
402
|
|
|
403
403
|
/* Focus state */
|
|
404
404
|
&:where(:focus-visible) {
|
|
405
|
-
outline:
|
|
405
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
406
406
|
outline-offset: 2px;
|
|
407
407
|
}
|
|
408
408
|
|
|
@@ -860,7 +860,7 @@
|
|
|
860
860
|
/* Popover menu button focus (arrow-key navigation) */
|
|
861
861
|
/* stylelint-disable-next-line selector-max-specificity */
|
|
862
862
|
.kui-SidebarSearchPopover .kui-SidebarMenuButton:where(:focus-visible) {
|
|
863
|
-
outline:
|
|
863
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
864
864
|
outline-offset: -2px;
|
|
865
865
|
}
|
|
866
866
|
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
|
|
13
13
|
@supports selector(:has(*)) {
|
|
14
14
|
&:where(:has(.kui-TextFieldInput:focus)) {
|
|
15
|
-
outline:
|
|
15
|
+
outline: var(--focus-ring-width) solid var(--text-field-focus-color);
|
|
16
16
|
outline-offset: -1px;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
@supports not selector(:has(*)) {
|
|
20
20
|
&:where(:focus-within) {
|
|
21
|
-
outline:
|
|
21
|
+
outline: var(--focus-ring-width) solid var(--text-field-focus-color);
|
|
22
22
|
outline-offset: -1px;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
&::-webkit-calendar-picker-indicator:where(:focus-visible) {
|
|
91
|
-
outline:
|
|
91
|
+
outline: var(--focus-ring-width) solid var(--text-field-focus-color);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
/* Remove focus ring from date fields and use the selection color */
|
|
@@ -100,9 +100,9 @@
|
|
|
100
100
|
--component-gap-ghost-3: calc(var(--space-2) * 1.5);
|
|
101
101
|
--component-gap-ghost-4: var(--space-3);
|
|
102
102
|
|
|
103
|
-
/*
|
|
104
|
-
--focus-outline-width:
|
|
105
|
-
--focus-outline-offset:
|
|
103
|
+
/* Older names for the focus ring, kept for apps that read them */
|
|
104
|
+
--focus-outline-width: var(--focus-ring-width);
|
|
105
|
+
--focus-outline-offset: var(--focus-ring-offset);
|
|
106
106
|
--focus-outline-offset-inset: -1px;
|
|
107
107
|
|
|
108
108
|
/* Component padding relationships */
|
package/styles.css
CHANGED
|
@@ -3370,8 +3370,8 @@
|
|
|
3370
3370
|
--component-gap-ghost-2: calc(var(--space-2) * 1.5);
|
|
3371
3371
|
--component-gap-ghost-3: calc(var(--space-2) * 1.5);
|
|
3372
3372
|
--component-gap-ghost-4: var(--space-3);
|
|
3373
|
-
--focus-outline-width:
|
|
3374
|
-
--focus-outline-offset:
|
|
3373
|
+
--focus-outline-width: var(--focus-ring-width);
|
|
3374
|
+
--focus-outline-offset: var(--focus-ring-offset);
|
|
3375
3375
|
--focus-outline-offset-inset: -1px;
|
|
3376
3376
|
--padding-ratio-horizontal: 1.5;
|
|
3377
3377
|
--color-page: white;
|
|
@@ -6117,7 +6117,7 @@
|
|
|
6117
6117
|
}
|
|
6118
6118
|
}
|
|
6119
6119
|
:where(.kui-AccordionTrigger:focus-visible) {
|
|
6120
|
-
outline: var(--focus-
|
|
6120
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
6121
6121
|
outline-offset: var(--focus-outline-offset-inset);
|
|
6122
6122
|
}
|
|
6123
6123
|
.kui-AccordionContent {
|
|
@@ -6247,7 +6247,7 @@
|
|
|
6247
6247
|
border: 1px solid CanvasText;
|
|
6248
6248
|
}
|
|
6249
6249
|
:where(.kui-AccordionTrigger:focus-visible) {
|
|
6250
|
-
outline:
|
|
6250
|
+
outline: var(--focus-ring-width) solid CanvasText;
|
|
6251
6251
|
outline-offset: 2px;
|
|
6252
6252
|
}
|
|
6253
6253
|
:where(.kui-AccordionItem:not(:last-child)) {
|
|
@@ -6559,8 +6559,8 @@
|
|
|
6559
6559
|
cursor: pointer;
|
|
6560
6560
|
}
|
|
6561
6561
|
:is(.kui-AvatarRoot:where(button),.kui-AvatarRoot:where(a),.kui-AvatarRoot:where([role='button'])):where(:focus-visible) {
|
|
6562
|
-
outline: var(--focus-
|
|
6563
|
-
outline-offset: var(--focus-
|
|
6562
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
6563
|
+
outline-offset: var(--focus-ring-offset);
|
|
6564
6564
|
}
|
|
6565
6565
|
:is(.kui-AvatarRoot:where(button),.kui-AvatarRoot:where(a),.kui-AvatarRoot:where([role='button'])):where(:disabled),:is(.kui-AvatarRoot:where(button),.kui-AvatarRoot:where(a),.kui-AvatarRoot:where([role='button'])):where([data-disabled]) {
|
|
6566
6566
|
cursor: default;
|
|
@@ -8644,7 +8644,7 @@
|
|
|
8644
8644
|
background-color: var(--v-bg);
|
|
8645
8645
|
}
|
|
8646
8646
|
.kui-BaseCard:where(.kui-variant-outline,.kui-variant-soft,.kui-variant-surface):where(:focus-visible) {
|
|
8647
|
-
outline:
|
|
8647
|
+
outline: var(--focus-ring-width) solid var(--v-focus-color);
|
|
8648
8648
|
outline-offset: var(--v-focus-offset);
|
|
8649
8649
|
}
|
|
8650
8650
|
.kui-BaseCard:where(.kui-variant-outline,.kui-variant-soft,.kui-variant-surface):where(:focus-visible)::after {
|
|
@@ -8742,7 +8742,7 @@
|
|
|
8742
8742
|
--v-focus-offset: -1px;
|
|
8743
8743
|
}
|
|
8744
8744
|
.kui-BaseCard:where(.kui-variant-ghost):where(:focus-visible) {
|
|
8745
|
-
outline:
|
|
8745
|
+
outline: var(--focus-ring-width) solid var(--v-focus-color);
|
|
8746
8746
|
outline-offset: var(--v-focus-offset);
|
|
8747
8747
|
}
|
|
8748
8748
|
@media (hover: hover) {
|
|
@@ -8807,7 +8807,7 @@
|
|
|
8807
8807
|
box-shadow: none;
|
|
8808
8808
|
}
|
|
8809
8809
|
.kui-BaseCard:where(.kui-variant-raised):where(:focus-visible) {
|
|
8810
|
-
outline:
|
|
8810
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
8811
8811
|
outline-offset: 2px;
|
|
8812
8812
|
}
|
|
8813
8813
|
@media (hover: hover) {
|
|
@@ -8889,7 +8889,7 @@
|
|
|
8889
8889
|
--base-card-border-radius: var(--kui-sf-r);
|
|
8890
8890
|
}
|
|
8891
8891
|
.kui-Card:where(:focus-visible) {
|
|
8892
|
-
outline:
|
|
8892
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
8893
8893
|
outline-offset: -1px;
|
|
8894
8894
|
}
|
|
8895
8895
|
.kui-Card:where(:focus-visible)::after {
|
|
@@ -10144,7 +10144,7 @@
|
|
|
10144
10144
|
}
|
|
10145
10145
|
@media (forced-colors: active) {
|
|
10146
10146
|
.kui-BaseMenuItem:where(:focus-visible) {
|
|
10147
|
-
outline:
|
|
10147
|
+
outline: var(--focus-ring-width) solid Highlight;
|
|
10148
10148
|
outline-offset: 2px;
|
|
10149
10149
|
}
|
|
10150
10150
|
.kui-BaseMenuContent:not(:where(.kui-SidebarContent)) {
|
|
@@ -10354,7 +10354,7 @@
|
|
|
10354
10354
|
}
|
|
10355
10355
|
@media (forced-colors: active) {
|
|
10356
10356
|
.kui-CommandItem:where([data-selected='true']) {
|
|
10357
|
-
outline:
|
|
10357
|
+
outline: var(--focus-ring-width) solid Highlight;
|
|
10358
10358
|
outline-offset: -2px;
|
|
10359
10359
|
}
|
|
10360
10360
|
.kui-CommandSearch {
|
|
@@ -10514,13 +10514,13 @@
|
|
|
10514
10514
|
}
|
|
10515
10515
|
@supports selector(:has(*)) {
|
|
10516
10516
|
.kui-TextFieldRoot:where(:has(.kui-TextFieldInput:focus)) {
|
|
10517
|
-
outline:
|
|
10517
|
+
outline: var(--focus-ring-width) solid var(--text-field-focus-color);
|
|
10518
10518
|
outline-offset: -1px;
|
|
10519
10519
|
}
|
|
10520
10520
|
}
|
|
10521
10521
|
@supports not selector(:has(*)) {
|
|
10522
10522
|
.kui-TextFieldRoot:where(:focus-within) {
|
|
10523
|
-
outline:
|
|
10523
|
+
outline: var(--focus-ring-width) solid var(--text-field-focus-color);
|
|
10524
10524
|
outline-offset: -1px;
|
|
10525
10525
|
}
|
|
10526
10526
|
}
|
|
@@ -10583,7 +10583,7 @@
|
|
|
10583
10583
|
}
|
|
10584
10584
|
}
|
|
10585
10585
|
.kui-TextFieldInput::-webkit-calendar-picker-indicator:where(:focus-visible) {
|
|
10586
|
-
outline:
|
|
10586
|
+
outline: var(--focus-ring-width) solid var(--text-field-focus-color);
|
|
10587
10587
|
}
|
|
10588
10588
|
:is(.kui-TextFieldInput::-webkit-datetime-edit-ampm-field,.kui-TextFieldInput::-webkit-datetime-edit-day-field,.kui-TextFieldInput::-webkit-datetime-edit-hour-field,.kui-TextFieldInput::-webkit-datetime-edit-millisecond-field,.kui-TextFieldInput::-webkit-datetime-edit-minute-field,.kui-TextFieldInput::-webkit-datetime-edit-month-field,.kui-TextFieldInput::-webkit-datetime-edit-second-field,.kui-TextFieldInput::-webkit-datetime-edit-week-field,.kui-TextFieldInput::-webkit-datetime-edit-year-field):where(:focus) {
|
|
10589
10589
|
background-color: var(--text-field-selection-color);
|
|
@@ -11884,7 +11884,7 @@
|
|
|
11884
11884
|
}
|
|
11885
11885
|
@media (forced-colors: active) {
|
|
11886
11886
|
.kui-ComboboxItem:where([data-selected='true']) {
|
|
11887
|
-
outline:
|
|
11887
|
+
outline: var(--focus-ring-width) solid Highlight;
|
|
11888
11888
|
outline-offset: -2px;
|
|
11889
11889
|
}
|
|
11890
11890
|
}
|
|
@@ -12337,10 +12337,10 @@
|
|
|
12337
12337
|
box-shadow: inset 0 var(--raised-border-width) var(--black-a3), 0 0 0 var(--raised-border-width) var(--neutral-a7);
|
|
12338
12338
|
}
|
|
12339
12339
|
.kui-Kbd:where(.kui-variant-raised):where(:-moz-any-link,button):where(:focus-visible) {
|
|
12340
|
-
outline:
|
|
12340
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
12341
12341
|
}
|
|
12342
12342
|
.kui-Kbd:where(.kui-variant-raised):where(:any-link,button):where(:focus-visible) {
|
|
12343
|
-
outline:
|
|
12343
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
12344
12344
|
}
|
|
12345
12345
|
.kui-Kbd:where(.kui-variant-soft) {
|
|
12346
12346
|
background-color: var(--neutral-a3);
|
|
@@ -12366,10 +12366,10 @@
|
|
|
12366
12366
|
background-color: var(--neutral-a5);
|
|
12367
12367
|
}
|
|
12368
12368
|
.kui-Kbd:where(.kui-variant-soft):where(:-moz-any-link,button):where(:focus-visible) {
|
|
12369
|
-
outline:
|
|
12369
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
12370
12370
|
}
|
|
12371
12371
|
.kui-Kbd:where(.kui-variant-soft):where(:any-link,button):where(:focus-visible) {
|
|
12372
|
-
outline:
|
|
12372
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
12373
12373
|
}
|
|
12374
12374
|
.kui-Kbd:where(.kui-r-size-1) {
|
|
12375
12375
|
font-size: var(--font-size-1);
|
|
@@ -13493,7 +13493,7 @@
|
|
|
13493
13493
|
position: absolute;
|
|
13494
13494
|
inset: 0;
|
|
13495
13495
|
pointer-events: none;
|
|
13496
|
-
outline:
|
|
13496
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
13497
13497
|
outline-offset: -2px;
|
|
13498
13498
|
}
|
|
13499
13499
|
:where(.kui-ScrollAreaRoot:has(> .kui-ScrollAreaScrollbar[data-orientation='horizontal'])) > .kui-ScrollAreaViewport {
|
|
@@ -14902,7 +14902,7 @@
|
|
|
14902
14902
|
font-weight: var(--font-weight-medium);
|
|
14903
14903
|
}
|
|
14904
14904
|
.kui-SelectTrigger:where(:focus-visible) {
|
|
14905
|
-
outline: var(--focus-
|
|
14905
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
14906
14906
|
outline-offset: var(--focus-outline-offset-inset);
|
|
14907
14907
|
}
|
|
14908
14908
|
.kui-SelectTriggerInner {
|
|
@@ -15361,7 +15361,7 @@
|
|
|
15361
15361
|
box-shadow: var(--field-chrome);
|
|
15362
15362
|
}
|
|
15363
15363
|
.kui-SelectTrigger:where(.kui-variant-raised):where(:focus-visible) {
|
|
15364
|
-
outline:
|
|
15364
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
15365
15365
|
outline-offset: 2px;
|
|
15366
15366
|
}
|
|
15367
15367
|
@media (hover: hover) {
|
|
@@ -15388,7 +15388,7 @@
|
|
|
15388
15388
|
color: var(--accent-ink);
|
|
15389
15389
|
}
|
|
15390
15390
|
.kui-SelectTrigger:where(.kui-variant-soft):where(:focus-visible) {
|
|
15391
|
-
outline:
|
|
15391
|
+
outline: var(--focus-ring-width) solid var(--accent-8);
|
|
15392
15392
|
outline-offset: -1px;
|
|
15393
15393
|
}
|
|
15394
15394
|
@media (hover: hover) {
|
|
@@ -15426,7 +15426,7 @@
|
|
|
15426
15426
|
}
|
|
15427
15427
|
}
|
|
15428
15428
|
.kui-SelectTrigger:where(.kui-variant-ghost):where(:focus-visible) {
|
|
15429
|
-
outline:
|
|
15429
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
15430
15430
|
outline-offset: -1px;
|
|
15431
15431
|
}
|
|
15432
15432
|
.kui-SelectTrigger:where(.kui-variant-ghost):where([data-state='open']) {
|
|
@@ -15463,7 +15463,7 @@
|
|
|
15463
15463
|
box-shadow: inset 0 0 0 1px var(--accent-8);
|
|
15464
15464
|
}
|
|
15465
15465
|
.kui-SelectTrigger:where(.kui-variant-outline):where(:focus-visible) {
|
|
15466
|
-
outline:
|
|
15466
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
15467
15467
|
outline-offset: -1px;
|
|
15468
15468
|
}
|
|
15469
15469
|
.kui-SelectTrigger:where(.kui-variant-outline):where(:disabled) {
|
|
@@ -15501,7 +15501,7 @@
|
|
|
15501
15501
|
box-shadow: inset 0 0 0 1px var(--accent-8);
|
|
15502
15502
|
}
|
|
15503
15503
|
.kui-SelectTrigger:where(.kui-variant-surface):where(:focus-visible) {
|
|
15504
|
-
outline:
|
|
15504
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
15505
15505
|
outline-offset: -1px;
|
|
15506
15506
|
}
|
|
15507
15507
|
.kui-SelectTrigger:where(.kui-variant-surface):where(:disabled) {
|
|
@@ -15825,7 +15825,7 @@
|
|
|
15825
15825
|
color: var(--accent-a12);
|
|
15826
15826
|
}
|
|
15827
15827
|
.kui-SidebarMenuButton:where(:focus-visible) {
|
|
15828
|
-
outline:
|
|
15828
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
15829
15829
|
outline-offset: 2px;
|
|
15830
15830
|
}
|
|
15831
15831
|
.kui-SidebarMenuButton:where([data-accent-color]) {
|
|
@@ -16295,7 +16295,7 @@
|
|
|
16295
16295
|
justify-content: flex-start;
|
|
16296
16296
|
}
|
|
16297
16297
|
:is(.kui-SidebarHeader :where(.kui-SidebarMenuButton),.kui-SidebarFooter :where(.kui-SidebarMenuButton)):where(:focus-visible) {
|
|
16298
|
-
outline:
|
|
16298
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
16299
16299
|
outline-offset: 2px;
|
|
16300
16300
|
}
|
|
16301
16301
|
.kui-SidebarMenuSubTriggerIcon {
|
|
@@ -17032,7 +17032,7 @@
|
|
|
17032
17032
|
}
|
|
17033
17033
|
}
|
|
17034
17034
|
.kui-SidebarSearchPopover .kui-SidebarMenuButton:where(:focus-visible) {
|
|
17035
|
-
outline:
|
|
17035
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
17036
17036
|
outline-offset: -2px;
|
|
17037
17037
|
}
|
|
17038
17038
|
.kui-SidebarSearchPopover .kui-SidebarMenuButton[data-active] {
|
|
@@ -19858,7 +19858,7 @@
|
|
|
19858
19858
|
background-color: Highlight;
|
|
19859
19859
|
}
|
|
19860
19860
|
.kui-BaseTabListTrigger:where(:focus-visible) :where(.kui-BaseTabListTriggerInner) {
|
|
19861
|
-
outline:
|
|
19861
|
+
outline: var(--focus-ring-width) solid Highlight;
|
|
19862
19862
|
outline-offset: 2px;
|
|
19863
19863
|
}
|
|
19864
19864
|
}
|
|
@@ -19913,7 +19913,7 @@
|
|
|
19913
19913
|
height: auto;
|
|
19914
19914
|
}
|
|
19915
19915
|
.kui-TextAreaRoot:where(:focus-within) {
|
|
19916
|
-
outline:
|
|
19916
|
+
outline: var(--focus-ring-width) solid var(--v-focus-color, var(--focus-8));
|
|
19917
19917
|
outline-offset: -1px;
|
|
19918
19918
|
}
|
|
19919
19919
|
.kui-TextAreaRoot::-moz-selection {
|
|
@@ -20815,7 +20815,7 @@
|
|
|
20815
20815
|
background-color: var(--neutral-a4);
|
|
20816
20816
|
}
|
|
20817
20817
|
.kui-NavigatorLink:where(:focus-visible) {
|
|
20818
|
-
outline:
|
|
20818
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
20819
20819
|
outline-offset: -2px;
|
|
20820
20820
|
}
|
|
20821
20821
|
.kui-Page {
|
|
@@ -20891,7 +20891,7 @@
|
|
|
20891
20891
|
outline: none;
|
|
20892
20892
|
}
|
|
20893
20893
|
.kui-VirtualMenuRoot:where(:focus-visible) {
|
|
20894
|
-
outline:
|
|
20894
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
20895
20895
|
outline-offset: -2px;
|
|
20896
20896
|
}
|
|
20897
20897
|
.kui-VirtualMenuViewport {
|
|
@@ -21651,7 +21651,7 @@
|
|
|
21651
21651
|
}
|
|
21652
21652
|
}
|
|
21653
21653
|
.kui-ChatbarBox:where(.kui-variant-soft,.kui-variant-ghost,.kui-variant-outline,.kui-variant-surface):where(:focus-within) {
|
|
21654
|
-
outline:
|
|
21654
|
+
outline: var(--focus-ring-width) solid var(--v-focus-color, var(--focus-8));
|
|
21655
21655
|
outline-offset: -1px;
|
|
21656
21656
|
}
|
|
21657
21657
|
.kui-ChatbarBox:where(.kui-variant-outline, .kui-variant-surface) {
|
|
@@ -21696,7 +21696,7 @@
|
|
|
21696
21696
|
border: 1px solid CanvasText;
|
|
21697
21697
|
}
|
|
21698
21698
|
.kui-ChatbarBox:where(.kui-variant-raised):where(:focus-within) {
|
|
21699
|
-
outline:
|
|
21699
|
+
outline: var(--focus-ring-width) solid Highlight;
|
|
21700
21700
|
outline-offset: -1px;
|
|
21701
21701
|
}
|
|
21702
21702
|
.kui-ChatbarRoot:where([data-disabled]) .kui-ChatbarBox {
|
|
@@ -21854,7 +21854,7 @@
|
|
|
21854
21854
|
outline: none;
|
|
21855
21855
|
}
|
|
21856
21856
|
.kui-MessageScrollerViewport:where(:focus-visible) {
|
|
21857
|
-
outline:
|
|
21857
|
+
outline: var(--focus-ring-width) solid var(--focus-8);
|
|
21858
21858
|
outline-offset: -2px;
|
|
21859
21859
|
}
|
|
21860
21860
|
.kui-MessageScrollerContent {
|
package/tokens.css
CHANGED
|
@@ -3370,8 +3370,8 @@
|
|
|
3370
3370
|
--component-gap-ghost-2: calc(var(--space-2) * 1.5);
|
|
3371
3371
|
--component-gap-ghost-3: calc(var(--space-2) * 1.5);
|
|
3372
3372
|
--component-gap-ghost-4: var(--space-3);
|
|
3373
|
-
--focus-outline-width:
|
|
3374
|
-
--focus-outline-offset:
|
|
3373
|
+
--focus-outline-width: var(--focus-ring-width);
|
|
3374
|
+
--focus-outline-offset: var(--focus-ring-offset);
|
|
3375
3375
|
--focus-outline-offset-inset: -1px;
|
|
3376
3376
|
--padding-ratio-horizontal: 1.5;
|
|
3377
3377
|
--color-page: white;
|