PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/styles/components/style.css +270 -783 23.3.0 → trunk View file →
@@ -68,8 +68,14 @@
68 68 /**
69 69 * Focus styles.
70 70 */
71 71 /**
72 + * Standard focus rings for the WordPress Design System.
73 + *
74 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
75 + * e.g. `&:focus { @include outset-ring__focus(); }`.
76 + */
77 +/**
72 78 * Applies editor left position to the selector passed as argument
73 79 */
74 80 /**
75 81 * Styles that are reused verbatim in a few places
@@ -160,12 +166,14 @@
160 166 height: auto;
161 167 min-height: 36px;
162 168 text-align: left;
163 169 width: 100%;
170 + font-weight: var(--wpds-typography-font-weight-default, 400);
171 + position: relative;
164 172 }
165 -.components-autocomplete__result.components-button:focus:not(:disabled) {
166 - box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
167 - outline: 2px solid transparent;
173 +.components-autocomplete__result.components-button:focus:not(:disabled):not(:active) {
174 + box-shadow: 0 0 0 calc(2 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) + 2px) var(--wpds-color-background-surface-neutral-strong, #fff);
175 + z-index: 1;
168 176 }
169 177
170 178 .components-badge {
171 179 box-sizing: border-box;
@@ -231,9 +239,9 @@
231 239 .components-button-group .components-button {
232 240 border-radius: 0;
233 241 display: inline-flex;
234 242 color: #1e1e1e;
235 - box-shadow: inset 0 0 0 1px #1e1e1e;
243 + border-color: #1e1e1e;
236 244 }
237 245 .components-button-group .components-button + .components-button {
238 246 margin-left: -1px;
239 247 }
@@ -246,11 +254,8 @@
246 254 .components-button-group .components-button:focus, .components-button-group .components-button.is-primary {
247 255 position: relative;
248 256 z-index: 1;
249 257 }
250 -.components-button-group .components-button.is-primary {
251 - box-shadow: inset 0 0 0 1px #1e1e1e;
252 -}
253 258
254 259 /**
255 260 * For easier testing of potential regressions, you can use a Button variant matrix
256 261 * available in a special Storybook instance by running `npm run storybook:e2e:dev`.
@@ -256,32 +261,35 @@
256 261 * available in a special Storybook instance by running `npm run storybook:e2e:dev`.
257 262 *
258 263 * @see https://github.com/WordPress/gutenberg/blob/trunk/test/storybook-playwright/README.md
259 264 */
265 +.components-button:focus:is(a) {
266 + box-shadow: none;
267 +}
268 +.components-button:focus {
269 + outline: none;
270 +}
271 +.components-button:focus:not(:active) {
272 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
273 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
274 +}
260 275 .components-button {
261 276 display: inline-flex;
262 277 text-decoration: none;
263 278 font-family: inherit;
264 279 font-size: 13px;
265 - font-weight: 499;
280 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
266 281 margin: 0;
267 - border: 0;
268 282 cursor: var(--wpds-cursor-control, pointer);
269 283 appearance: none;
270 284 background: none;
271 -}
272 -@media not (prefers-reduced-motion) {
273 - .components-button {
274 - transition: box-shadow 0.1s linear;
275 - }
276 -}
277 -.components-button {
278 285 height: 36px;
279 286 align-items: center;
280 287 box-sizing: border-box;
281 288 padding: 4px 12px;
282 289 border-radius: 2px;
283 - color: var(--wp-components-color-foreground, #1e1e1e);
290 + color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
291 + border: 1px solid transparent;
284 292 }
285 293 .components-button.is-next-40px-default-size {
286 294 height: 40px;
287 295 }
@@ -287,11 +295,8 @@
287 295 }
288 296 .components-button[aria-expanded=true], .components-button:hover:not(:disabled, [aria-disabled=true]) {
289 297 color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
290 298 }
291 -.components-button:focus:not(:active) {
292 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
293 -}
294 299 .components-button {
295 300 /**
296 301 * Primary button style.
297 302 */
@@ -298,41 +303,30 @@
298 303 }
299 304 .components-button.is-primary {
300 305 white-space: nowrap;
301 306 background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
302 - color: var(--wp-components-color-accent-inverted, #fff);
307 + color: var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff));
303 308 text-decoration: none;
304 309 text-shadow: none;
305 - outline: 1px solid transparent;
306 310 }
307 311 .components-button.is-primary:hover:not(:disabled) {
308 312 background: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #2145e6));
309 - color: var(--wp-components-color-accent-inverted, #fff);
313 + color: var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff));
310 314 }
311 315 .components-button.is-primary:active:not(:disabled) {
312 316 background: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6));
313 - border-color: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6));
314 - color: var(--wp-components-color-accent-inverted, #fff);
317 + color: var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff));
315 318 }
316 -.components-button.is-primary:focus:not(:active) {
317 - box-shadow: inset 0 0 0 1px var(--wp-components-color-background, #fff), 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
318 -}
319 319 .components-button.is-primary:disabled, .components-button.is-primary:disabled:active:enabled, .components-button.is-primary[aria-disabled=true], .components-button.is-primary[aria-disabled=true]:enabled, .components-button.is-primary[aria-disabled=true]:active:enabled {
320 320 color: rgba(255, 255, 255, 0.4);
321 321 background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
322 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
323 - outline: none;
324 322 }
325 -.components-button.is-primary:disabled:focus:enabled, .components-button.is-primary:disabled:active:enabled:focus:enabled, .components-button.is-primary[aria-disabled=true]:focus:enabled, .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled, .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled {
326 - box-shadow: inset 0 0 0 1px var(--wp-components-color-background, #fff), 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
327 -}
328 323 .components-button.is-primary.is-busy, .components-button.is-primary.is-busy:disabled, .components-button.is-primary.is-busy[aria-disabled=true] {
329 - color: var(--wp-components-color-accent-inverted, #fff);
324 + color: var(--wp-components-color-accent-inverted, var(--wpds-color-foreground-interactive-brand-strong, #fff));
330 325 background-size: 100px 100%;
331 326 /* stylelint-disable -- Disable reason: This function call looks nicer when each argument is on its own line. */
332 327 background-image: linear-gradient(-45deg, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 33%, var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6)) 33%, var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6)) 70%, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 70%);
333 328 /* stylelint-enable */
334 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
335 329 }
336 330 .components-button {
337 331 /**
338 332 * Secondary and tertiary buttons.
@@ -337,14 +331,8 @@
337 331 /**
338 332 * Secondary and tertiary buttons.
339 333 */
340 334 }
341 -.components-button.is-secondary, .components-button.is-tertiary {
342 - outline: 1px solid transparent;
343 -}
344 -.components-button.is-secondary:active:not(:disabled), .components-button.is-tertiary:active:not(:disabled) {
345 - box-shadow: none;
346 -}
347 335 .components-button.is-secondary:disabled, .components-button.is-secondary[aria-disabled=true], .components-button.is-secondary[aria-disabled=true]:hover, .components-button.is-tertiary:disabled, .components-button.is-tertiary[aria-disabled=true], .components-button.is-tertiary[aria-disabled=true]:hover {
348 336 color: #949494;
349 337 background: transparent;
350 338 transform: none;
@@ -353,26 +341,33 @@
353 341 /**
354 342 * Secondary button style.
355 343 */
356 344 }
345 +@media not (prefers-reduced-motion) {
346 + .components-button.is-secondary {
347 + transition: border-color 0.1s linear;
348 + }
349 +}
357 350 .components-button.is-secondary {
358 - box-shadow: inset 0 0 0 1px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)), 0 0 0 currentColor;
359 - outline: 1px solid transparent;
351 + border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
360 352 white-space: nowrap;
361 353 color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
362 354 background: transparent;
363 355 }
356 +.components-button.is-secondary:active:not(:disabled) {
357 + border-color: transparent;
358 +}
364 359 .components-button.is-secondary:hover:not(:disabled, [aria-disabled=true], .is-pressed) {
365 - box-shadow: inset 0 0 0 1px var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6));
360 + border-color: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6));
366 361 color: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #183ad6));
367 362 background: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 4%, transparent);
368 363 }
364 +.components-button.is-secondary:focus:not(:active) {
365 + border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
366 +}
369 367 .components-button.is-secondary:disabled:not(:focus), .components-button.is-secondary[aria-disabled=true]:not(:focus), .components-button.is-secondary[aria-disabled=true]:hover:not(:focus) {
370 - box-shadow: inset 0 0 0 1px #ddd;
368 + border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
371 369 }
372 -.components-button.is-secondary:focus:not(:active) {
373 - box-shadow: 0 0 0 currentColor inset, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
374 -}
375 370 .components-button {
376 371 /**
377 372 * Tertiary buttons.
378 373 */
@@ -391,12 +386,8 @@
391 386 }
392 387 p + .components-button.is-tertiary {
393 388 margin-left: -6px;
394 389 }
395 -.components-button.is-tertiary:disabled:not(:focus), .components-button.is-tertiary[aria-disabled=true]:not(:focus), .components-button.is-tertiary[aria-disabled=true]:hover:not(:focus) {
396 - box-shadow: none;
397 - outline: none;
398 -}
399 390 .components-button {
400 391 /**
401 392 * Destructive buttons.
402 393 */
@@ -411,11 +402,8 @@
411 402 }
412 403 .components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):hover:not(:disabled, [aria-disabled=true]) {
413 404 color: rgb(112.7368421053, 13.2631578947, 13.2631578947);
414 405 }
415 -.components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):focus:not(:active) {
416 - box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #cc1818;
417 -}
418 406 .components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):active:not(:disabled, [aria-disabled=true]) {
419 407 background: #ccc;
420 408 }
421 409 .components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):disabled, .components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link)[aria-disabled=true] {
@@ -434,15 +422,14 @@
434 422 }
435 423 .components-button.is-link {
436 424 margin: 0;
437 425 padding: 0;
438 - box-shadow: none;
439 426 border: 0;
440 427 border-radius: 0;
441 428 background: none;
442 429 outline: none;
443 430 text-align: left;
444 - font-weight: 400;
431 + font-weight: var(--wpds-typography-font-weight-default, 400);
445 432 color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
446 433 text-decoration: underline;
447 434 text-underline-offset: 0.2em;
448 435 text-decoration-thickness: from-font;
@@ -456,19 +443,17 @@
456 443 }
457 444 .components-button.is-link {
458 445 height: auto;
459 446 }
460 -.components-button.is-link:focus {
447 +.components-button.is-link:focus:not(:active) {
461 448 border-radius: 2px;
449 + text-decoration: none;
462 450 }
463 451 .components-button.is-link:disabled, .components-button.is-link[aria-disabled=true] {
464 452 color: #949494;
465 453 }
466 -.components-button:focus {
467 - outline: 3px solid transparent;
468 -}
469 454 .components-button:not(:disabled, [aria-disabled=true]):active {
470 - color: var(--wp-components-color-foreground, #1e1e1e);
455 + color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
471 456 }
472 457 .components-button:disabled, .components-button[aria-disabled=true] {
473 458 cursor: default;
474 459 color: #949494;
@@ -491,9 +476,9 @@
491 476 padding: 0;
492 477 min-width: 32px;
493 478 }
494 479 .components-button.is-small {
495 - height: 24px;
480 + height: var(--wpds-dimension-size-sm, 24px);
496 481 line-height: 22px;
497 482 padding: 0 8px;
498 483 font-size: 11px;
499 484 }
@@ -498,9 +483,9 @@
498 483 font-size: 11px;
499 484 }
500 485 .components-button.is-small.has-icon:not(.has-text) {
501 486 padding: 0;
502 - min-width: 24px;
487 + min-width: var(--wpds-dimension-size-sm, 24px);
503 488 }
504 489 .components-button.has-icon {
505 490 padding: 6px;
506 491 min-width: 36px;
@@ -525,40 +510,30 @@
525 510 .components-button.has-icon.has-text.has-icon-right {
526 511 padding-right: 8px;
527 512 padding-left: 12px;
528 513 }
514 +.components-button.has-icon:not(.has-text) svg,
515 +.components-button.has-icon:not(.has-text) .dashicon {
516 + margin-inline: -1px;
517 +}
529 518 .components-button.is-pressed, .components-button.is-pressed:hover {
530 - color: var(--wp-components-color-foreground-inverted, #fff);
519 + color: var(--wp-components-color-foreground-inverted, var(--wpds-color-background-surface-neutral, #fcfcfc));
531 520 }
532 521 .components-button.is-pressed:not(:disabled, [aria-disabled=true]), .components-button.is-pressed:hover:not(:disabled, [aria-disabled=true]) {
533 - background: var(--wp-components-color-foreground, #1e1e1e);
522 + background: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
534 523 }
535 524 .components-button.is-pressed:disabled, .components-button.is-pressed[aria-disabled=true] {
536 525 color: #949494;
537 526 }
538 527 .components-button.is-pressed:disabled:not(.is-primary):not(.is-secondary):not(.is-tertiary), .components-button.is-pressed[aria-disabled=true]:not(.is-primary):not(.is-secondary):not(.is-tertiary) {
539 - color: var(--wp-components-color-foreground-inverted, #fff);
528 + color: var(--wp-components-color-foreground-inverted, var(--wpds-color-background-surface-neutral, #fcfcfc));
540 529 background: #949494;
541 530 }
542 -.components-button.is-pressed:focus:not(:active) {
543 - box-shadow: inset 0 0 0 1px var(--wp-components-color-background, #fff), 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
544 -}
545 -.components-button.is-pressed:focus {
546 - outline: 2px solid transparent;
547 -}
548 -.components-button:focus:active {
549 - outline: none;
550 -}
551 531 .components-button svg {
552 532 fill: currentColor;
553 533 outline: none;
554 534 flex-shrink: 0;
555 535 }
556 -@media (forced-colors: active) {
557 - .components-button svg {
558 - fill: CanvasText;
559 - }
560 -}
561 536
562 537 @keyframes components-button__busy-animation {
563 538 0% {
564 539 background-position: 200px 0;
@@ -563,368 +538,8 @@
563 538 0% {
564 539 background-position: 200px 0;
565 540 }
566 541 }
567 -/* Root of the component. */
568 -.components-calendar {
569 - position: relative; /* Required to position the navigation toolbar. */
570 - box-sizing: border-box;
571 - display: inline flow-root;
572 - color: var(--wp-components-color-foreground, #1e1e1e);
573 - background-color: var(--wp-components-color-background, #fff);
574 - font-size: 13px;
575 - font-weight: 400;
576 - z-index: 0;
577 -}
578 -.components-calendar *,
579 -.components-calendar *::before,
580 -.components-calendar *::after {
581 - box-sizing: border-box;
582 -}
583 -
584 -.components-calendar__day {
585 - padding: 0;
586 - position: relative;
587 -}
588 -.components-calendar__day:has(.components-calendar__day-button:disabled) {
589 - color: var(--wp-components-color-gray-400, #ccc);
590 -}
591 -.components-calendar__day:has(.components-calendar__day-button:hover:not(:disabled)), .components-calendar__day:has(.components-calendar__day-button:focus-visible) {
592 - color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
593 -}
594 -
595 -.components-calendar__day-button {
596 - background: none;
597 - padding: 0;
598 - margin: 0;
599 - cursor: var(--wpds-cursor-control, pointer);
600 - justify-content: center;
601 - align-items: center;
602 - display: flex;
603 - position: relative;
604 - width: 32px;
605 - height: 32px;
606 - border: none;
607 - border-radius: 2px;
608 - font: inherit;
609 - font-variant-numeric: tabular-nums;
610 - color: inherit;
611 -}
612 -.components-calendar__day-button::before {
613 - content: "";
614 - position: absolute;
615 - z-index: -1;
616 - inset: 0;
617 - border: none;
618 - border-radius: 2px;
619 -}
620 -.components-calendar__day-button::after {
621 - content: "";
622 - position: absolute;
623 - z-index: 1;
624 - inset: 0;
625 - pointer-events: none;
626 -}
627 -.components-calendar__day-button:disabled {
628 - cursor: revert;
629 -}
630 -@media (forced-colors: active) {
631 - .components-calendar__day-button:disabled {
632 - text-decoration: line-through;
633 - }
634 -}
635 -.components-calendar__day-button:focus-visible {
636 - outline: var(--wp-admin-border-width-focus) solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
637 - outline-offset: 1px;
638 -}
639 -
640 -.components-calendar__caption-label {
641 - z-index: 1;
642 - position: relative;
643 - display: inline-flex;
644 - align-items: center;
645 - white-space: nowrap;
646 - border: 0;
647 - text-transform: capitalize;
648 -}
649 -
650 -.components-calendar__button-next,
651 -.components-calendar__button-previous {
652 - border: none;
653 - border-radius: 2px;
654 - background: none;
655 - padding: 0;
656 - margin: 0;
657 - cursor: var(--wpds-cursor-control, pointer);
658 - appearance: none;
659 - display: inline-flex;
660 - align-items: center;
661 - justify-content: center;
662 - position: relative;
663 - width: 32px;
664 - height: 32px;
665 - color: inherit;
666 -}
667 -.components-calendar__button-next:disabled, .components-calendar__button-next[aria-disabled=true],
668 -.components-calendar__button-previous:disabled,
669 -.components-calendar__button-previous[aria-disabled=true] {
670 - cursor: revert;
671 - color: var(--wp-components-color-gray-600, #949494);
672 -}
673 -.components-calendar__button-next:focus-visible,
674 -.components-calendar__button-previous:focus-visible {
675 - outline: var(--wp-admin-border-width-focus) solid var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
676 -}
677 -
678 -.components-calendar__chevron {
679 - display: inline-block;
680 - fill: currentColor;
681 - width: 16px;
682 - height: 16px;
683 -}
684 -
685 -.components-calendar[dir=rtl] .components-calendar__nav .components-calendar__chevron {
686 - transform: rotate(180deg);
687 - transform-origin: 50%;
688 -}
689 -
690 -.components-calendar__month-caption {
691 - display: flex;
692 - justify-content: center;
693 - align-content: center;
694 - height: 32px;
695 - margin-bottom: 12px;
696 -}
697 -
698 -.components-calendar__months {
699 - position: relative;
700 - display: flex;
701 - justify-content: center;
702 - flex-wrap: wrap;
703 - gap: 16px;
704 - max-width: fit-content;
705 -}
706 -
707 -.components-calendar__month-grid {
708 - border-collapse: separate;
709 - border-spacing: 0 4px;
710 -}
711 -
712 -.components-calendar__nav {
713 - position: absolute;
714 - inset-block-start: 0;
715 - inset-inline-start: 0;
716 - inset-inline-end: 0;
717 - display: flex;
718 - align-items: center;
719 - justify-content: space-between;
720 - height: 32px;
721 -}
722 -
723 -.components-calendar__weekday {
724 - width: 32px;
725 - height: 32px;
726 - padding: 0;
727 - color: var(--wp-components-color-gray-700, #757575);
728 - text-align: center;
729 - text-transform: uppercase;
730 -}
731 -
732 -/* DAY MODIFIERS */
733 -.components-calendar__day--today::after {
734 - content: "";
735 - position: absolute;
736 - z-index: 1;
737 - inset-block-start: 2px;
738 - inset-inline-end: 2px;
739 - width: 0;
740 - height: 0;
741 - border-radius: 50%;
742 - border: 2px solid currentColor;
743 -}
744 -
745 -.components-calendar__day--selected:not(.components-calendar__range-middle):has(.components-calendar__day-button,
746 -.components-calendar__day-button:hover:not(:disabled)) {
747 - color: var(--wp-components-color-foreground-inverted, #fff);
748 -}
749 -.components-calendar__day--selected:not(.components-calendar__range-middle) .components-calendar__day-button::before {
750 - background-color: var(--wp-components-color-foreground, #1e1e1e);
751 - border: 1px solid transparent;
752 -}
753 -.components-calendar__day--selected:not(.components-calendar__range-middle) .components-calendar__day-button:disabled::before {
754 - background-color: var(--wp-components-color-gray-400, #ccc);
755 -}
756 -.components-calendar__day--selected:not(.components-calendar__range-middle) .components-calendar__day-button:hover:not(:disabled)::before {
757 - background-color: var(--wp-components-color-gray-800, #2f2f2f);
758 -}
759 -
760 -.components-calendar__day--outside {
761 - color: var(--wp-components-color-gray-600, #949494);
762 -}
763 -
764 -.components-calendar__day--hidden {
765 - visibility: hidden;
766 -}
767 -
768 -.components-calendar__range-start:not(.components-calendar__range-end) .components-calendar__day-button, .components-calendar__range-start:not(.components-calendar__range-end) .components-calendar__day-button::before {
769 - border-start-end-radius: 0;
770 - border-end-end-radius: 0;
771 -}
772 -
773 -.components-calendar__range-middle .components-calendar__day-button::before {
774 - background-color: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 4%, transparent);
775 - border-radius: 0;
776 - border-width: 1px 0;
777 - border-color: transparent;
778 - border-style: solid;
779 -}
780 -
781 -.components-calendar__range-end:not(.components-calendar__range-start) .components-calendar__day-button, .components-calendar__range-end:not(.components-calendar__range-start) .components-calendar__day-button::before {
782 - border-start-start-radius: 0;
783 - border-end-start-radius: 0;
784 -}
785 -
786 -/*
787 - * RANGE PREVIEW (range calendar only)
788 - *
789 - * The preview is rendered in the button's ::after pseudo-element, so that it
790 - * can be rendered over the button's contents.
791 - * The selection preview is shown with a dashed border. In order to have
792 - * control over the dash pattern (especially the seams between days), the
793 - * dashed borders are rendered as SVGs via the url() CSS function.
794 - * Since SVGs rendered in the url() function don't seem to be able to access
795 - * CSS variables, we're using the SVGs as masks, and using `background-color`
796 - * to consume the accent color variable.
797 - */
798 -.components-calendar__day--preview svg {
799 - position: absolute;
800 - inset: 0;
801 - pointer-events: none;
802 - color: color-mix(in srgb, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 16%, transparent);
803 -}
804 -@media (forced-colors: active) {
805 - .components-calendar__day--preview svg {
806 - color: inherit;
807 - }
808 -}
809 -.components-calendar[dir=rtl] .components-calendar__day--preview svg {
810 - transform: scaleX(-1);
811 -}
812 -
813 -.components-calendar__day--preview.components-calendar__range-middle .components-calendar__day-button::before {
814 - border: none;
815 -}
816 -
817 -/* ANIMATIONS */
818 -@keyframes slide-in-left {
819 - 0% {
820 - transform: translateX(-100%);
821 - }
822 - 100% {
823 - transform: translateX(0);
824 - }
825 -}
826 -@keyframes slide-in-right {
827 - 0% {
828 - transform: translateX(100%);
829 - }
830 - 100% {
831 - transform: translateX(0);
832 - }
833 -}
834 -@keyframes slide-out-left {
835 - 0% {
836 - transform: translateX(0);
837 - }
838 - 100% {
839 - transform: translateX(-100%);
840 - }
841 -}
842 -@keyframes slide-out-right {
843 - 0% {
844 - transform: translateX(0);
845 - }
846 - 100% {
847 - transform: translateX(100%);
848 - }
849 -}
850 -@keyframes fade-in {
851 - from {
852 - opacity: 0;
853 - }
854 - to {
855 - opacity: 1;
856 - }
857 -}
858 -@keyframes fade-out {
859 - from {
860 - opacity: 1;
861 - }
862 - to {
863 - opacity: 0;
864 - }
865 -}
866 -.components-calendar__weeks-before-enter,
867 -.components-calendar__weeks-before-exit,
868 -.components-calendar__weeks-after-enter,
869 -.components-calendar__weeks-after-exit,
870 -.components-calendar__caption-after-enter,
871 -.components-calendar__caption-after-exit,
872 -.components-calendar__caption-before-enter,
873 -.components-calendar__caption-before-exit {
874 - animation-duration: 0s;
875 - animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
876 - animation-fill-mode: forwards;
877 -}
878 -@media not (prefers-reduced-motion) {
879 - .components-calendar__weeks-before-enter,
880 - .components-calendar__weeks-before-exit,
881 - .components-calendar__weeks-after-enter,
882 - .components-calendar__weeks-after-exit,
883 - .components-calendar__caption-after-enter,
884 - .components-calendar__caption-after-exit,
885 - .components-calendar__caption-before-enter,
886 - .components-calendar__caption-before-exit {
887 - animation-duration: 0.3s;
888 - }
889 -}
890 -
891 -.components-calendar__weeks-before-enter,
892 -.components-calendar[dir=rtl] .components-calendar__weeks-after-enter {
893 - animation-name: slide-in-left;
894 -}
895 -
896 -.components-calendar__weeks-before-exit,
897 -.components-calendar[dir=rtl] .components-calendar__weeks-after-exit {
898 - animation-name: slide-out-left;
899 -}
900 -
901 -.components-calendar__weeks-after-enter,
902 -.components-calendar[dir=rtl] .components-calendar__weeks-before-enter {
903 - animation-name: slide-in-right;
904 -}
905 -
906 -.components-calendar__weeks-after-exit,
907 -.components-calendar[dir=rtl] .components-calendar__weeks-before-exit {
908 - animation-name: slide-out-right;
909 -}
910 -
911 -.components-calendar__caption-after-enter {
912 - animation-name: fade-in;
913 -}
914 -
915 -.components-calendar__caption-after-exit {
916 - animation-name: fade-out;
917 -}
918 -
919 -.components-calendar__caption-before-enter {
920 - animation-name: fade-in;
921 -}
922 -
923 -.components-calendar__caption-before-exit {
924 - animation-name: fade-out;
925 -}
926 -
927 542 .components-checkbox-control {
928 543 --checkbox-input-size: 24px;
929 544 }
930 545 @media (min-width: 600px) {
@@ -937,8 +552,9 @@
937 552 }
938 553
939 554 .components-checkbox-control__label {
940 555 line-height: var(--checkbox-input-size);
556 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
941 557 }
942 558 .components-checkbox-control:not(:has(:disabled)) .components-checkbox-control__label {
943 559 cursor: var(--wpds-cursor-control, pointer);
944 560 }
@@ -943,27 +559,21 @@
943 559 cursor: var(--wpds-cursor-control, pointer);
944 560 }
945 561
946 562 .components-checkbox-control__input[type=checkbox] {
947 - border: 1px solid #1e1e1e;
563 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
948 564 margin-right: 12px;
949 565 transition: none;
950 566 border-radius: 2px;
951 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
567 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
952 568 padding: 6px 8px;
953 569 /* Fonts smaller than 16px causes mobile safari to zoom. */
954 570 font-size: 16px;
955 571 /* Override core line-height. To be reviewed. */
956 572 line-height: normal;
957 - box-shadow: 0 0 0 transparent;
958 - border-radius: 2px;
959 - border: 1px solid #949494;
573 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
574 + border-radius: var(--wpds-border-radius-sm, 2px);
960 575 }
961 -@media not (prefers-reduced-motion) {
962 - .components-checkbox-control__input[type=checkbox] {
963 - transition: box-shadow 0.1s linear;
964 - }
965 -}
966 576 @media (min-width: 600px) {
967 577 .components-checkbox-control__input[type=checkbox] {
968 578 font-size: 13px;
969 579 /* Override core line-height. To be reviewed. */
@@ -969,16 +579,23 @@
969 579 /* Override core line-height. To be reviewed. */
970 580 line-height: normal;
971 581 }
972 582 }
583 +.components-checkbox-control__input[type=checkbox]:hover:not(:disabled, [aria-disabled=true]) {
584 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
585 +}
973 586 .components-checkbox-control__input[type=checkbox]:focus {
974 - border-color: var(--wp-admin-theme-color);
975 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
976 - outline: 2px solid transparent;
587 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
588 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
589 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
590 + box-shadow: none;
977 591 }
978 592 .components-checkbox-control__input[type=checkbox]::placeholder {
979 593 color: rgba(30, 30, 30, 0.62);
980 594 }
595 +.components-checkbox-control__input[type=checkbox]:hover:not(:disabled, [aria-disabled=true]) {
596 + background: var(--wpds-color-background-interactive-neutral-active, #fff);
597 +}
981 598 .components-checkbox-control__input[type=checkbox]:focus {
982 599 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
983 600 outline: 2px solid transparent;
984 601 }
@@ -1005,9 +622,9 @@
1005 622 display: inline-block;
1006 623 vertical-align: middle;
1007 624 width: 16px;
1008 625 /* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- dashicons don't need a generic family keyword. */
1009 - font: normal 30px/1 dashicons;
626 + font: 400 30px/1 dashicons;
1010 627 speak: none;
1011 628 -webkit-font-smoothing: antialiased;
1012 629 -moz-osx-font-smoothing: grayscale;
1013 630 }
@@ -1017,13 +634,17 @@
1017 634 font-size: 21px;
1018 635 }
1019 636 }
1020 637 .components-checkbox-control__input[type=checkbox][aria-disabled=true], .components-checkbox-control__input[type=checkbox]:disabled {
1021 - background: #f0f0f0;
1022 - border-color: #ddd;
638 + background: var(--wpds-color-background-interactive-neutral-disabled, #fff);
639 + border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
640 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
1023 641 cursor: default;
1024 642 opacity: 1;
1025 643 }
644 +.components-checkbox-control__input[type=checkbox][aria-disabled=true]:checked::before, .components-checkbox-control__input[type=checkbox][aria-disabled=true][aria-checked=mixed]::before, .components-checkbox-control__input[type=checkbox]:disabled:checked::before, .components-checkbox-control__input[type=checkbox]:disabled[aria-checked=mixed]::before {
645 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
646 +}
1026 647 .components-checkbox-control__input[type=checkbox] {
1027 648 background: #fff;
1028 649 color: #1e1e1e;
1029 650 clear: none;
@@ -1071,31 +692,24 @@
1071 692 }
1072 693
1073 694 svg.components-checkbox-control__checked,
1074 695 svg.components-checkbox-control__indeterminate {
1075 - --checkmark-size: var(--checkbox-input-size);
1076 - fill: #fff;
696 + color: #fff;
1077 697 cursor: var(--wpds-cursor-control, pointer);
1078 698 position: absolute;
1079 699 left: 50%;
1080 700 top: 50%;
1081 701 transform: translate(-50%, -50%);
1082 - width: var(--checkmark-size);
1083 - height: var(--checkmark-size);
702 + width: var(--checkbox-input-size);
703 + height: var(--checkbox-input-size);
1084 704 -webkit-user-select: none;
1085 705 user-select: none;
1086 706 pointer-events: none;
1087 707 }
1088 -@media (min-width: 600px) {
1089 - svg.components-checkbox-control__checked,
1090 - svg.components-checkbox-control__indeterminate {
1091 - --checkmark-size: calc(var(--checkbox-input-size) + 4px);
1092 - }
1093 -}
1094 708
1095 709 .components-checkbox-control:has(:disabled) svg.components-checkbox-control__checked,
1096 710 .components-checkbox-control:has(:disabled) svg.components-checkbox-control__indeterminate {
1097 - fill: var(--wp-components-color-gray-400, #ccc);
711 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
1098 712 }
1099 713
1100 714 .components-checkbox-control__help {
1101 715 display: inline-block;
@@ -1133,14 +747,14 @@
1133 747 transform: scale(1);
1134 748 }
1135 749 @media not (prefers-reduced-motion) {
1136 750 .components-circular-option-picker__option-wrapper {
1137 - transition: 100ms transform ease;
751 + transition: 100ms transform ease-out;
1138 752 will-change: transform;
1139 753 }
1140 754 }
1141 755 .components-circular-option-picker__option-wrapper:hover {
1142 - transform: scale(1.2);
756 + transform: scale(1.1);
1143 757 }
1144 758 .components-circular-option-picker__option-wrapper > div {
1145 759 height: 100%;
1146 760 width: 100%;
@@ -1148,15 +762,11 @@
1148 762
1149 763 .components-circular-option-picker__option-wrapper::before {
1150 764 content: "";
1151 765 position: absolute;
1152 - top: 1px;
1153 - left: 1px;
1154 - bottom: 1px;
1155 - right: 1px;
766 + inset: 1px;
1156 767 border-radius: 50%;
1157 768 z-index: -1;
1158 - /* stylelint-disable-next-line function-url-quotes -- We need quotes for the data URL to use the SVG inline. */
1159 769 background: url('data:image/svg+xml,%3Csvg width="28" height="28" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M6 8V6H4v2h2zM8 8V6h2v2H8zM10 16H8v-2h2v2zM12 16v-2h2v2h-2zM12 18v-2h-2v2H8v2h2v-2h2zM14 18v2h-2v-2h2zM16 18h-2v-2h2v2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M18 18h2v-2h-2v-2h2v-2h-2v-2h2V8h-2v2h-2V8h-2v2h2v2h-2v2h2v2h2v2zm-2-4v-2h2v2h-2z" fill="%23555D65"/%3E%3Cpath d="M18 18v2h-2v-2h2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M8 10V8H6v2H4v2h2v2H4v2h2v2H4v2h2v2H4v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2v2h-2V4h-2v2h-2V4h-2v2h-2V4h-2v2h2v2h-2v2H8zm0 2v-2H6v2h2zm2 0v-2h2v2h-2zm0 2v-2H8v2H6v2h2v2H6v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h-2v2h-2V6h-2v2h-2v2h2v2h-2v2h-2z" fill="%23555D65"/%3E%3Cpath fill-rule="evenodd" clip-rule="evenodd" d="M4 0H2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2H8V0H6v2H4V0zm0 4V2H2v2h2zm2 0V2h2v2H6zm0 2V4H4v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2H8v2H6z" fill="%23555D65"/%3E%3C/svg%3E');
1160 770 }
1161 771
1162 772 .components-circular-option-picker__option {
@@ -1176,13 +786,9 @@
1176 786 }
1177 787 .components-circular-option-picker__option {
1178 788 cursor: var(--wpds-cursor-control, pointer);
1179 789 }
1180 -.components-circular-option-picker__option:hover {
1181 - box-shadow: inset 0 0 0 14px !important;
1182 -}
1183 790 .components-circular-option-picker__option[aria-pressed=true], .components-circular-option-picker__option[aria-selected=true] {
1184 - box-shadow: inset 0 0 0 4px;
1185 791 position: relative;
1186 792 z-index: 1;
1187 793 overflow: visible;
1188 794 }
@@ -1196,34 +802,13 @@
1196 802 }
1197 803 .components-circular-option-picker__option::after {
1198 804 content: "";
1199 805 position: absolute;
1200 - top: -1px;
1201 - left: -1px;
1202 - bottom: -1px;
1203 - right: -1px;
806 + inset: -1px;
807 + border: 1px solid transparent;
1204 808 border-radius: 50%;
1205 809 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
1206 - border: 1px solid transparent;
1207 - box-sizing: inherit;
1208 810 }
1209 -.components-circular-option-picker__option:focus::after {
1210 - content: "";
1211 - border-radius: 50%;
1212 - box-shadow: inset 0 0 0 2px #fff;
1213 - position: absolute;
1214 - top: 50%;
1215 - left: 50%;
1216 - transform: translate(-50%, -50%);
1217 - border: 2px solid #757575;
1218 - width: calc(100% + 4px);
1219 - height: calc(100% + 4px);
1220 -}
1221 -.components-circular-option-picker__option.components-button:focus {
1222 - background-color: transparent;
1223 - box-shadow: inset 0 0 0 14px;
1224 - outline: none;
1225 -}
1226 811
1227 812 .components-circular-option-picker__button-action .components-circular-option-picker__option {
1228 813 color: #fff;
1229 814 background: #fff;
@@ -1235,17 +820,14 @@
1235 820 .components-circular-option-picker__dropdown-link-action .components-button {
1236 821 line-height: 22px;
1237 822 }
1238 823
1239 -.components-palette-edit__popover-gradient-picker {
824 +.components-palette-edit__popover-gradient-picker,
825 +.components-palette-edit__popover-duotone-picker {
1240 826 width: 260px;
1241 827 padding: 8px;
1242 828 }
1243 829
1244 -.components-dropdown-menu__menu .components-palette-edit__menu-button {
1245 - width: 100%;
1246 -}
1247 -
1248 830 .component-color-indicator {
1249 831 width: 20px;
1250 832 height: 20px;
1251 833 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
@@ -1268,10 +850,10 @@
1268 850 padding: 2px;
1269 851 margin: 0;
1270 852 line-height: inherit;
1271 853 min-height: auto;
1272 - background: var(--wp-components-color-background, #fff);
1273 - color: var(--wp-components-color-foreground, #1e1e1e);
854 + background: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
855 + color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
1274 856 }
1275 857 @media (min-width: 600px) {
1276 858 input.components-combobox-control__input[type=text] {
1277 859 font-size: 13px;
@@ -1282,23 +864,17 @@
1282 864 box-shadow: none;
1283 865 }
1284 866
1285 867 .components-combobox-control__suggestions-container {
1286 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
868 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1287 869 padding: 6px 8px;
1288 870 /* Fonts smaller than 16px causes mobile safari to zoom. */
1289 871 font-size: 16px;
1290 872 /* Override core line-height. To be reviewed. */
1291 873 line-height: normal;
1292 - box-shadow: 0 0 0 transparent;
1293 - border-radius: 2px;
1294 - border: 1px solid #949494;
874 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
875 + border-radius: var(--wpds-border-radius-sm, 2px);
1295 876 }
1296 -@media not (prefers-reduced-motion) {
1297 - .components-combobox-control__suggestions-container {
1298 - transition: box-shadow 0.1s linear;
1299 - }
1300 -}
1301 877 @media (min-width: 600px) {
1302 878 .components-combobox-control__suggestions-container {
1303 879 font-size: 13px;
1304 880 /* Override core line-height. To be reviewed. */
@@ -1304,12 +880,16 @@
1304 880 /* Override core line-height. To be reviewed. */
1305 881 line-height: normal;
1306 882 }
1307 883 }
884 +.components-combobox-control__suggestions-container:hover:not(:disabled, [aria-disabled=true]) {
885 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
886 +}
1308 887 .components-combobox-control__suggestions-container:focus {
1309 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1310 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1311 - outline: 2px solid transparent;
888 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
889 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
890 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
891 + box-shadow: none;
1312 892 }
1313 893 .components-combobox-control__suggestions-container::placeholder {
1314 894 color: rgba(30, 30, 30, 0.62);
1315 895 }
@@ -1320,11 +900,10 @@
1320 900 width: 100%;
1321 901 padding: 0;
1322 902 }
1323 903 .components-combobox-control__suggestions-container:focus-within {
1324 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1325 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1326 - outline: 2px solid transparent;
904 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
905 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1327 906 }
1328 907 .components-combobox-control__suggestions-container .components-spinner {
1329 908 margin: 0;
1330 909 }
@@ -1371,9 +950,9 @@
1371 950 box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.2), inset 1px 0 0 0 rgba(0, 0, 0, 0.2), inset -1px 0 0 0 rgba(0, 0, 0, 0.2);
1372 951 }
1373 952
1374 953 .components-color-palette__custom-color-name {
1375 - color: var(--wp-components-color-foreground, #1e1e1e);
954 + color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
1376 955 margin: 0 1px;
1377 956 }
1378 957
1379 958 .components-color-palette__custom-color-value {
@@ -1437,14 +1016,19 @@
1437 1016 width: inherit;
1438 1017 border-radius: 50%;
1439 1018 padding: 0;
1440 1019 box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25);
1441 - outline: 2px solid transparent;
1442 1020 }
1443 -.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus, .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button.is-active {
1021 +.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button.is-active {
1444 1022 box-shadow: inset 0 0 0 calc(var(--wp-admin-border-width-focus) * 2) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25);
1445 - outline: 1.5px solid transparent;
1446 1023 }
1024 +.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus:not(:active) {
1025 + outline-offset: 1px;
1026 + box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25), 0 0 0 calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) + 2px) var(--wpds-color-background-surface-neutral-strong, #fff);
1027 +}
1028 +.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus:not(:active).is-active {
1029 + box-shadow: inset 0 0 0 calc(var(--wp-admin-border-width-focus) * 2) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25), 0 0 0 calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) + 2px) var(--wpds-color-background-surface-neutral-strong, #fff);
1030 +}
1447 1031
1448 1032 .components-custom-gradient-picker__remove-control-point-wrapper {
1449 1033 padding-bottom: 8px;
1450 1034 }
@@ -1533,9 +1117,9 @@
1533 1117 pointer-events: none;
1534 1118 }
1535 1119
1536 1120 .components-drop-zone__content-text {
1537 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1121 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1538 1122 font-size: 13px;
1539 1123 }
1540 1124
1541 1125 .components-dropdown {
@@ -1572,9 +1156,9 @@
1572 1156 }
1573 1157
1574 1158 .components-dropdown-menu__menu {
1575 1159 width: 100%;
1576 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1160 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1577 1161 font-size: 13px;
1578 1162 line-height: 1.4;
1579 1163 }
1580 1164 .components-dropdown-menu__menu .components-dropdown-menu__menu-item,
@@ -1583,9 +1167,9 @@
1583 1167 padding: 6px;
1584 1168 outline: none;
1585 1169 cursor: var(--wpds-cursor-control, pointer);
1586 1170 white-space: nowrap;
1587 - font-weight: 400;
1171 + font-weight: var(--wpds-typography-font-weight-default, 400);
1588 1172 }
1589 1173 .components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator,
1590 1174 .components-dropdown-menu__menu .components-menu-item.has-separator {
1591 1175 margin-top: 6px;
@@ -1596,9 +1180,9 @@
1596 1180 .components-dropdown-menu__menu .components-menu-item.has-separator::before {
1597 1181 display: block;
1598 1182 content: "";
1599 1183 box-sizing: content-box;
1600 - background-color: #ddd;
1184 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
1601 1185 position: absolute;
1602 1186 top: -3px;
1603 1187 left: 0;
1604 1188 right: 0;
@@ -1658,31 +1242,25 @@
1658 1242 margin: 2px;
1659 1243 }
1660 1244
1661 1245 .components-external-link {
1662 - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1246 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1663 1247 text-decoration: none;
1664 1248 }
1665 -@media not (prefers-reduced-motion) {
1666 - .components-external-link {
1667 - transition: outline 0.1s ease-out;
1668 - }
1669 -}
1670 -.components-external-link {
1671 - outline: 0 solid transparent;
1672 - outline-offset: 1px;
1673 -}
1674 1249 .components-external-link:visited {
1675 - color: var(--wpds-color-fg-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1250 + color: var(--wpds-color-foreground-interactive-brand, var(--wp-admin-theme-color, #3858e9));
1676 1251 }
1677 1252 .components-external-link:hover, .components-external-link:active {
1678 - color: var(--wpds-color-fg-interactive-brand-active, var(--wp-admin-theme-color, #3858e9));
1253 + color: var(--wpds-color-foreground-interactive-brand-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 52%, black));
1679 1254 }
1680 1255 .components-external-link:focus {
1681 - outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
1682 1256 box-shadow: none;
1683 1257 border-radius: 0;
1684 1258 }
1259 +.components-external-link:focus:not(:active) {
1260 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
1261 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1262 +}
1685 1263
1686 1264 .components-external-link__contents {
1687 1265 text-decoration: underline;
1688 1266 text-underline-offset: 0.2em;
@@ -1692,9 +1270,9 @@
1692 1270 .components-external-link__icon {
1693 1271 line-height: 1;
1694 1272 display: inline-block;
1695 1273 margin-inline-start: var(--wpds-dimension-padding-xs, 4px);
1696 - font-weight: var(--wpds-typography-font-weight-regular, 400);
1274 + font-weight: var(--wpds-typography-font-weight-default, 400);
1697 1275 }
1698 1276
1699 1277 .components-form-toggle {
1700 1278 position: relative;
@@ -1773,39 +1351,39 @@
1773 1351 background-color: #fff;
1774 1352 border-width: 0;
1775 1353 transform: translateX(16px);
1776 1354 }
1777 -.components-form-toggle.is-disabled .components-form-toggle__track, .components-disabled .components-form-toggle .components-form-toggle__track {
1778 - background-color: var(--wp-components-color-gray-100, #f0f0f0);
1779 - border-color: var(--wp-components-color-gray-300, #ddd);
1355 +.components-form-toggle.is-disabled .components-form-toggle__track, [inert] .components-form-toggle .components-form-toggle__track {
1356 + background-color: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1357 + border-color: var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
1780 1358 }
1781 1359 @media (forced-colors: active) {
1782 - .components-form-toggle.is-disabled .components-form-toggle__track, .components-disabled .components-form-toggle .components-form-toggle__track {
1360 + .components-form-toggle.is-disabled .components-form-toggle__track, [inert] .components-form-toggle .components-form-toggle__track {
1783 1361 border-color: GrayText;
1784 1362 }
1785 1363 }
1786 -.components-form-toggle.is-disabled .components-form-toggle__thumb, .components-disabled .components-form-toggle .components-form-toggle__thumb {
1787 - background-color: var(--wp-components-color-gray-400, #ccc);
1364 +.components-form-toggle.is-disabled .components-form-toggle__thumb, [inert] .components-form-toggle .components-form-toggle__thumb {
1365 + background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1788 1366 box-shadow: none;
1789 1367 }
1790 1368 @media (forced-colors: active) {
1791 - .components-form-toggle.is-disabled .components-form-toggle__thumb, .components-disabled .components-form-toggle .components-form-toggle__thumb {
1369 + .components-form-toggle.is-disabled .components-form-toggle__thumb, [inert] .components-form-toggle .components-form-toggle__thumb {
1792 1370 border-color: GrayText;
1793 1371 }
1794 1372 }
1795 -.components-form-toggle.is-disabled.is-checked .components-form-toggle__track, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track {
1796 - background-color: var(--wp-components-color-gray-400, #ccc);
1797 - border-color: var(--wp-components-color-gray-400, #ccc);
1373 +.components-form-toggle.is-disabled.is-checked .components-form-toggle__track, [inert] .components-form-toggle.is-checked .components-form-toggle__track {
1374 + background-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1375 + border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1798 1376 }
1799 1377 @media (forced-colors: active) {
1800 - .components-form-toggle.is-disabled.is-checked .components-form-toggle__track, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track {
1378 + .components-form-toggle.is-disabled.is-checked .components-form-toggle__track, [inert] .components-form-toggle.is-checked .components-form-toggle__track {
1801 1379 border-color: GrayText;
1802 1380 }
1803 - .components-form-toggle.is-disabled.is-checked .components-form-toggle__track::after, .components-disabled .components-form-toggle.is-checked .components-form-toggle__track::after {
1381 + .components-form-toggle.is-disabled.is-checked .components-form-toggle__track::after, [inert] .components-form-toggle.is-checked .components-form-toggle__track::after {
1804 1382 border-top-color: GrayText;
1805 1383 }
1806 1384 }
1807 -.components-form-toggle.is-disabled.is-checked .components-form-toggle__thumb, .components-disabled .components-form-toggle.is-checked .components-form-toggle__thumb {
1385 +.components-form-toggle.is-disabled.is-checked .components-form-toggle__thumb, [inert] .components-form-toggle.is-checked .components-form-toggle__thumb {
1808 1386 background-color: #fff;
1809 1387 }
1810 1388
1811 1389 .components-form-toggle input.components-form-toggle__input[type=checkbox] {
@@ -1830,23 +1408,17 @@
1830 1408 cursor: var(--wpds-cursor-control, pointer);
1831 1409 }
1832 1410
1833 1411 .components-form-token-field__input-container {
1834 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1412 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
1835 1413 padding: 6px 8px;
1836 1414 /* Fonts smaller than 16px causes mobile safari to zoom. */
1837 1415 font-size: 16px;
1838 1416 /* Override core line-height. To be reviewed. */
1839 1417 line-height: normal;
1840 - box-shadow: 0 0 0 transparent;
1841 - border-radius: 2px;
1842 - border: 1px solid #949494;
1418 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1419 + border-radius: var(--wpds-border-radius-sm, 2px);
1843 1420 }
1844 -@media not (prefers-reduced-motion) {
1845 - .components-form-token-field__input-container {
1846 - transition: box-shadow 0.1s linear;
1847 - }
1848 -}
1849 1421 @media (min-width: 600px) {
1850 1422 .components-form-token-field__input-container {
1851 1423 font-size: 13px;
1852 1424 /* Override core line-height. To be reviewed. */
@@ -1852,12 +1424,16 @@
1852 1424 /* Override core line-height. To be reviewed. */
1853 1425 line-height: normal;
1854 1426 }
1855 1427 }
1428 +.components-form-token-field__input-container:hover:not(:disabled, [aria-disabled=true]) {
1429 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
1430 +}
1856 1431 .components-form-token-field__input-container:focus {
1857 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1858 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1859 - outline: 2px solid transparent;
1432 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
1433 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1434 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
1435 + box-shadow: none;
1860 1436 }
1861 1437 .components-form-token-field__input-container::placeholder {
1862 1438 color: rgba(30, 30, 30, 0.62);
1863 1439 }
@@ -1866,16 +1442,18 @@
1866 1442 padding: 0;
1867 1443 cursor: text;
1868 1444 }
1869 1445 .components-form-token-field__input-container.is-disabled {
1870 - background: var(--wp-components-color-gray-100, #f0f0f0);
1871 - border-color: var(--wp-components-color-gray-400, #ccc);
1446 + background: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1447 + border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1872 1448 cursor: default;
1873 1449 }
1450 +.components-form-token-field__input-container.is-disabled:hover {
1451 + border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1452 +}
1874 1453 .components-form-token-field__input-container.is-active {
1875 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1876 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
1877 - outline: 2px solid transparent;
1454 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
1455 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1878 1456 }
1879 1457 .components-form-token-field__input-container input[type=text].components-form-token-field__input {
1880 1458 display: inline-block;
1881 1459 flex: 1;
@@ -1889,9 +1467,9 @@
1889 1467 min-height: 24px;
1890 1468 min-width: 50px;
1891 1469 background: inherit;
1892 1470 border: 0;
1893 - color: var(--wp-components-color-foreground, #1e1e1e);
1471 + color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
1894 1472 box-shadow: none;
1895 1473 }
1896 1474 @media (min-width: 600px) {
1897 1475 .components-form-token-field__input-container input[type=text].components-form-token-field__input {
@@ -1925,10 +1503,10 @@
1925 1503 color: #757575;
1926 1504 }
1927 1505 .components-form-token-field__token.is-disabled .components-form-token-field__token-text,
1928 1506 .components-form-token-field__token.is-disabled .components-form-token-field__remove-token.components-button {
1929 - background: var(--wp-components-color-gray-100, #f0f0f0);
1930 - color: var(--wp-components-color-gray-600, #949494);
1507 + background: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
1508 + color: var(--wp-components-color-gray-600, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
1931 1509 }
1932 1510 .components-form-token-field__token.is-borderless {
1933 1511 position: relative;
1934 1512 padding: 0 24px 0 0;
@@ -2008,9 +1586,9 @@
2008 1586 padding: 0;
2009 1587 }
2010 1588
2011 1589 .components-form-token-field__suggestion {
2012 - color: var(--wp-components-color-foreground, #1e1e1e);
1590 + color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
2013 1591 display: block;
2014 1592 font-size: 13px;
2015 1593 padding: 8px 12px;
2016 1594 min-height: 32px;
@@ -2018,9 +1596,9 @@
2018 1596 box-sizing: border-box;
2019 1597 }
2020 1598 .components-form-token-field__suggestion.is-selected {
2021 1599 background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
2022 - color: var(--wp-components-color-foreground-inverted, #fff);
1600 + color: var(--wp-components-color-foreground-inverted, var(--wpds-color-background-surface-neutral, #fcfcfc));
2023 1601 }
2024 1602 .components-form-token-field__suggestion[aria-disabled=true] {
2025 1603 pointer-events: none;
2026 1604 color: #949494;
@@ -2166,8 +1744,13 @@
2166 1744 outline-offset: calc(2 * -1 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
2167 1745 box-shadow: inset 0 0 0 calc(2 * var(--wp-admin-border-width-focus) / var(--wp-block-editor-iframe-zoom-out-scale, 1) + 0.5px) rgba(255, 255, 255, 0.7);
2168 1746 }
2169 1747
1748 +.components-input-control__container:focus-within:not(:has(:is(.components-input-control__prefix, .components-input-control__suffix):focus-within)) .components-input-control__backdrop {
1749 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
1750 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
1751 +}
1752 +
2170 1753 .components-menu-group + .components-menu-group {
2171 1754 padding-top: 8px;
2172 1755 border-top: 1px solid #1e1e1e;
2173 1756 }
@@ -2187,9 +1770,9 @@
2187 1770 margin-bottom: 12px;
2188 1771 color: #757575;
2189 1772 text-transform: uppercase;
2190 1773 font-size: 11px;
2191 - font-weight: 499;
1774 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2192 1775 white-space: nowrap;
2193 1776 }
2194 1777
2195 1778 .components-menu-item__button,
@@ -2194,9 +1777,9 @@
2194 1777
2195 1778 .components-menu-item__button,
2196 1779 .components-menu-item__button.components-button {
2197 1780 width: 100%;
2198 - font-weight: 400;
1781 + font-weight: var(--wpds-typography-font-weight-default, 400);
2199 1782 }
2200 1783 .components-menu-item__button[role=menuitemradio] .components-menu-item__item:only-child, .components-menu-item__button[role=menuitemcheckbox] .components-menu-item__item:only-child,
2201 1784 .components-menu-item__button.components-button[role=menuitemradio] .components-menu-item__item:only-child,
2202 1785 .components-menu-item__button.components-button[role=menuitemcheckbox] .components-menu-item__item:only-child {
@@ -2286,8 +1869,12 @@
2286 1869 .components-menu-items-choice.components-button.has-icon {
2287 1870 padding-left: 12px;
2288 1871 }
2289 1872
1873 +body.modal-open {
1874 + overflow: hidden;
1875 +}
1876 +
2290 1877 .components-modal__screen-overlay {
2291 1878 position: fixed;
2292 1879 top: 0;
2293 1880 right: 0;
@@ -2480,9 +2067,9 @@
2480 2067 left: 0;
2481 2068 }
2482 2069 .components-modal__header .components-modal__header-heading {
2483 2070 font-size: 20px;
2484 - font-weight: 600;
2071 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2485 2072 }
2486 2073 .components-modal__header h1 {
2487 2074 line-height: 1;
2488 2075 margin: 0;
@@ -2487,9 +2074,9 @@
2487 2074 line-height: 1;
2488 2075 margin: 0;
2489 2076 }
2490 2077 .components-modal__content.has-scrolled-content:not(.hide-header) .components-modal__header {
2491 - border-bottom-color: #ddd;
2078 + border-bottom-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
2492 2079 }
2493 2080 .components-modal__header + p {
2494 2081 margin-top: 0;
2495 2082 }
@@ -2527,11 +2114,11 @@
2527 2114 outline-offset: -2px;
2528 2115 }
2529 2116
2530 2117 .components-notice {
2531 - --wp-components-notice-background-color: var(--wpds-color-bg-surface-info-weak, #f3f9ff);
2532 - --wp-components-notice-border-color: var(--wpds-color-stroke-surface-info, #9fbcdc);
2533 - --wp-components-notice-text-color: var(--wpds-color-fg-content-info, #001b4f);
2118 + --wp-components-notice-background-color: var(--wpds-color-background-surface-info-weak, #f3f9ff);
2119 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-info, #adc6e2);
2120 + --wp-components-notice-text-color: var(--wpds-color-foreground-content-info, #001b4f);
2534 2121 box-sizing: border-box;
2535 2122 display: grid;
2536 2123 grid-template-columns: 1fr auto;
2537 2124 align-items: start;
@@ -2544,27 +2131,27 @@
2544 2131 font-size: var(--wpds-typography-font-size-md, 13px);
2545 2132 line-height: var(--wpds-typography-line-height-sm, 20px);
2546 2133 }
2547 2134 .components-notice.is-success {
2548 - --wp-components-notice-background-color: var(--wpds-color-bg-surface-success-weak, #ebffed);
2549 - --wp-components-notice-border-color: var(--wpds-color-stroke-surface-success, #8ac894);
2550 - --wp-components-notice-text-color: var(--wpds-color-fg-content-success, #002900);
2135 + --wp-components-notice-background-color: var(--wpds-color-background-surface-success-weak, #ebffed);
2136 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-success, #92d39d);
2137 + --wp-components-notice-text-color: var(--wpds-color-foreground-content-success, #002900);
2551 2138 }
2552 2139 .components-notice.is-warning {
2553 - --wp-components-notice-background-color: var(--wpds-color-bg-surface-warning-weak, #fff7e1);
2554 - --wp-components-notice-border-color: var(--wpds-color-stroke-surface-warning, #d0b481);
2555 - --wp-components-notice-text-color: var(--wpds-color-fg-content-warning, #2e1900);
2140 + --wp-components-notice-background-color: var(--wpds-color-background-surface-warning-weak, #fff7e1);
2141 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-warning, #e1bd7c);
2142 + --wp-components-notice-text-color: var(--wpds-color-foreground-content-warning, #2e1900);
2556 2143 }
2557 2144 .components-notice.is-error {
2558 - --wp-components-notice-background-color: var(--wpds-color-bg-surface-error-weak, #fff6f5);
2559 - --wp-components-notice-border-color: var(--wpds-color-stroke-surface-error, #daa39b);
2560 - --wp-components-notice-text-color: var(--wpds-color-fg-content-error, #470000);
2145 + --wp-components-notice-background-color: var(--wpds-color-background-surface-error-weak, #fff6f5);
2146 + --wp-components-notice-border-color: var(--wpds-color-stroke-surface-error, #e0afa7);
2147 + --wp-components-notice-text-color: var(--wpds-color-foreground-content-error, #470000);
2561 2148 }
2562 2149
2563 2150 .components-notice__content {
2564 2151 grid-column: 1;
2565 2152 grid-row: 1;
2566 - padding-block: calc((24px - 1lh) / 2);
2153 + padding-block: calc((var(--wpds-dimension-size-sm, 24px) - 1lh) / 2);
2567 2154 }
2568 2155
2569 2156 .components-notice__actions {
2570 2157 grid-column: 1;
@@ -2578,18 +2165,14 @@
2578 2165
2579 2166 .components-notice__dismiss {
2580 2167 grid-column: 2;
2581 2168 grid-row: 1;
2582 - color: var(--wpds-color-fg-interactive-neutral, #1e1e1e);
2169 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
2583 2170 margin-inline-start: var(--wpds-dimension-gap-xs, 4px);
2584 2171 }
2585 2172 .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover, .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active, .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus {
2586 - color: var(--wpds-color-fg-interactive-neutral-active, #1e1e1e);
2587 - background-color: transparent;
2173 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
2588 2174 }
2589 -.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {
2590 - box-shadow: none;
2591 -}
2592 2175
2593 2176 .components-notice-list {
2594 2177 display: flex;
2595 2178 flex-direction: column;
@@ -2631,9 +2214,9 @@
2631 2214 flex-shrink: 0;
2632 2215 justify-content: space-between;
2633 2216 align-items: center;
2634 2217 padding: 0 16px;
2635 - border-bottom: 1px solid #ddd;
2218 + border-bottom: 1px solid var(--wpds-color-stroke-surface-neutral, #dbdbdb);
2636 2219 box-sizing: content-box;
2637 2220 height: 47px;
2638 2221 }
2639 2222 .components-panel__header h2 {
@@ -2674,15 +2257,12 @@
2674 2257
2675 2258 .components-panel__body-toggle.components-button {
2676 2259 position: relative;
2677 2260 padding: 16px 48px 16px 16px;
2678 - outline: none;
2679 2261 width: 100%;
2680 - font-weight: 499;
2262 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2681 2263 text-align: left;
2682 2264 color: #1e1e1e;
2683 - border: none;
2684 - box-shadow: none;
2685 2265 }
2686 2266 @media not (prefers-reduced-motion) {
2687 2267 .components-panel__body-toggle.components-button {
2688 2268 transition: 0.1s background ease-in-out;
@@ -2691,9 +2271,9 @@
2691 2271 .components-panel__body-toggle.components-button {
2692 2272 height: auto;
2693 2273 }
2694 2274 .components-panel__body-toggle.components-button:focus {
2695 - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
2275 + outline-offset: calc(var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) * -1);
2696 2276 border-radius: 0;
2697 2277 }
2698 2278 .components-panel__body-toggle.components-button .components-panel__arrow {
2699 2279 position: absolute;
@@ -2779,18 +2359,18 @@
2779 2359 .components-placeholder__error,
2780 2360 .components-placeholder__instructions,
2781 2361 .components-placeholder__label,
2782 2362 .components-placeholder__fieldset {
2783 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2363 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2784 2364 font-size: 13px;
2785 2365 letter-spacing: initial;
2786 2366 line-height: initial;
2787 2367 text-transform: none;
2788 - font-weight: normal;
2368 + font-weight: 400;
2789 2369 }
2790 2370
2791 2371 .components-placeholder__label {
2792 - font-weight: 600;
2372 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2793 2373 align-items: center;
2794 2374 display: flex;
2795 2375 }
2796 2376 .components-placeholder__label > svg,
@@ -2798,15 +2378,8 @@
2798 2378 .components-placeholder__label .block-editor-block-icon {
2799 2379 margin-right: 4px;
2800 2380 fill: currentColor;
2801 2381 }
2802 -@media (forced-colors: active) {
2803 - .components-placeholder__label > svg,
2804 - .components-placeholder__label .dashicon,
2805 - .components-placeholder__label .block-editor-block-icon {
2806 - fill: CanvasText;
2807 - }
2808 -}
2809 2382 .components-placeholder__label:empty {
2810 2383 display: none;
2811 2384 }
2812 2385
@@ -2820,9 +2393,9 @@
2820 2393 justify-content: flex-start;
2821 2394 }
2822 2395 .components-placeholder__fieldset p,
2823 2396 .components-placeholder__fieldset form p {
2824 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2397 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2825 2398 font-size: 13px;
2826 2399 }
2827 2400
2828 2401 .components-placeholder__fieldset.is-column-layout,
@@ -2830,23 +2403,17 @@
2830 2403 flex-direction: column;
2831 2404 }
2832 2405
2833 2406 .components-placeholder__input[type=url] {
2834 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2407 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2835 2408 padding: 6px 8px;
2836 2409 /* Fonts smaller than 16px causes mobile safari to zoom. */
2837 2410 font-size: 16px;
2838 2411 /* Override core line-height. To be reviewed. */
2839 2412 line-height: normal;
2840 - box-shadow: 0 0 0 transparent;
2841 - border-radius: 2px;
2842 - border: 1px solid #949494;
2413 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2414 + border-radius: var(--wpds-border-radius-sm, 2px);
2843 2415 }
2844 -@media not (prefers-reduced-motion) {
2845 - .components-placeholder__input[type=url] {
2846 - transition: box-shadow 0.1s linear;
2847 - }
2848 -}
2849 2416 @media (min-width: 600px) {
2850 2417 .components-placeholder__input[type=url] {
2851 2418 font-size: 13px;
2852 2419 /* Override core line-height. To be reviewed. */
@@ -2852,12 +2419,16 @@
2852 2419 /* Override core line-height. To be reviewed. */
2853 2420 line-height: normal;
2854 2421 }
2855 2422 }
2423 +.components-placeholder__input[type=url]:hover:not(:disabled, [aria-disabled=true]) {
2424 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
2425 +}
2856 2426 .components-placeholder__input[type=url]:focus {
2857 - border-color: var(--wp-admin-theme-color);
2858 - box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2859 - outline: 2px solid transparent;
2427 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
2428 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2429 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
2430 + box-shadow: none;
2860 2431 }
2861 2432 .components-placeholder__input[type=url]::placeholder {
2862 2433 color: rgba(30, 30, 30, 0.62);
2863 2434 }
@@ -3090,9 +2661,9 @@
3090 2661 .components-radio-control {
3091 2662 border: 0;
3092 2663 margin: 0;
3093 2664 padding: 0;
3094 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2665 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3095 2666 font-size: 13px;
3096 2667 }
3097 2668
3098 2669 .components-radio-control__group-wrapper.has-help {
@@ -3181,14 +2752,14 @@
3181 2752 content: "";
3182 2753 border-radius: 50%;
3183 2754 }
3184 2755 .components-radio-control__input[type=radio]:disabled {
3185 - background: var(--wp-components-color-gray-100, #f0f0f0);
3186 - border: 1px solid var(--wp-components-color-gray-300, #ddd);
2756 + background: var(--wp-components-color-gray-100, var(--wpds-color-background-surface-neutral, #fcfcfc));
2757 + border: 1px solid var(--wpds-color-stroke-interactive-neutral-disabled, #dbdbdb);
3187 2758 opacity: 1;
3188 2759 }
3189 2760 .components-radio-control__input[type=radio]:disabled:checked::before {
3190 - border-color: var(--wp-components-color-gray-400, #ccc);
2761 + border-color: var(--wp-components-color-gray-400, var(--wpds-color-stroke-interactive-neutral, #8d8d8d));
3191 2762 opacity: 1;
3192 2763 }
3193 2764
3194 2765 .components-radio-control__label {
@@ -3193,10 +2764,11 @@
3193 2764
3194 2765 .components-radio-control__label {
3195 2766 grid-column: 2;
3196 2767 grid-row: 1;
2768 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3197 2769 }
3198 -.components-radio-control:not(:disabled) .components-radio-control__label {
2770 +.components-radio-control__input:not(:disabled) + .components-radio-control__label {
3199 2771 cursor: var(--wpds-cursor-control, pointer);
3200 2772 }
3201 2773 .components-radio-control__label {
3202 2774 line-height: 24px;
@@ -3410,9 +2982,9 @@
3410 2982 -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
3411 2983 }
3412 2984
3413 2985 .components-snackbar {
3414 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2986 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3415 2987 font-size: 13px;
3416 2988 background: rgba(0, 0, 0, 0.85);
3417 2989 backdrop-filter: blur(16px) saturate(180%);
3418 2990 border-radius: 4px;
@@ -3454,14 +3026,10 @@
3454 3026 .components-snackbar__action.components-external-link {
3455 3027 margin-left: 32px;
3456 3028 color: #fff;
3457 3029 flex-shrink: 0;
3030 + --focus-color: #fff;
3458 3031 }
3459 -.components-snackbar__action.components-button:focus,
3460 -.components-snackbar__action.components-external-link:focus {
3461 - box-shadow: none;
3462 - outline: 1px dotted #fff;
3463 -}
3464 3032 .components-snackbar__action.components-button:hover,
3465 3033 .components-snackbar__action.components-external-link:hover {
3466 3034 text-decoration: none;
3467 3035 color: currentColor;
@@ -3501,24 +3069,22 @@
3501 3069 border-radius: 0;
3502 3070 height: 48px !important;
3503 3071 background: transparent;
3504 3072 border: none;
3505 - box-shadow: none;
3506 3073 cursor: var(--wpds-cursor-control, pointer);
3507 3074 padding: 3px var(--wpds-dimension-padding-lg, 16px);
3508 3075 margin-left: 0;
3509 - font-weight: var(--wpds-typography-font-weight-regular, 400);
3510 - color: var(--wpds-color-fg-interactive-neutral, #1e1e1e);
3076 + font-weight: var(--wpds-typography-font-weight-default, 400);
3077 + color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
3511 3078 }
3512 3079 .components-tab-panel__tabs-item:disabled, .components-tab-panel__tabs-item[aria-disabled=true] {
3513 - color: var(--wpds-color-fg-interactive-neutral-disabled, #8d8d8d);
3080 + color: var(--wpds-color-foreground-interactive-neutral-disabled, #8d8d8d);
3514 3081 }
3515 3082 .components-tab-panel__tabs-item:not(:disabled, [aria-disabled=true]):is(:hover, :focus-visible) {
3516 - color: var(--wpds-color-fg-interactive-neutral-active, #1e1e1e);
3083 + color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
3517 3084 }
3518 3085 .components-tab-panel__tabs-item:focus:not(:disabled) {
3519 3086 position: relative;
3520 - box-shadow: none;
3521 3087 outline: none;
3522 3088 }
3523 3089 .components-tab-panel__tabs-item::after {
3524 3090 content: "";
@@ -3545,19 +3111,14 @@
3545 3111 content: "";
3546 3112 position: absolute;
3547 3113 inset: var(--wpds-dimension-padding-md, 12px);
3548 3114 pointer-events: none;
3549 - box-shadow: 0 0 0 0 transparent;
3550 3115 border-radius: var(--wpds-border-radius-sm, 2px);
3551 3116 }
3552 -@media not (prefers-reduced-motion) {
3553 - .components-tab-panel__tabs-item::before {
3554 - transition: box-shadow 0.1s linear;
3555 - }
3556 -}
3557 3117 .components-tab-panel__tabs-item:focus-visible::before {
3558 - box-shadow: 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
3559 - outline: 2px solid transparent;
3118 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
3119 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3120 + outline-offset: 0;
3560 3121 }
3561 3122 .components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item {
3562 3123 border-radius: var(--wpds-border-radius-sm, 2px);
3563 3124 }
@@ -3564,18 +3125,17 @@
3564 3125 .components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item::after {
3565 3126 display: none;
3566 3127 }
3567 3128 .components-tab-panel__tabs[aria-orientation=vertical] .components-tab-panel__tabs-item.is-active {
3568 - background: var(--wpds-color-bg-interactive-neutral-weak-active, #ededed);
3129 + background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
3569 3130 }
3570 3131
3571 3132 .components-tab-panel__tab-content:focus {
3572 - box-shadow: none;
3573 3133 outline: none;
3574 3134 }
3575 3135 .components-tab-panel__tab-content:focus-visible {
3576 - box-shadow: 0 0 0 var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) var(--wpds-color-stroke-focus-brand, var(--wp-admin-theme-color, #3858e9));
3577 - outline: 2px solid transparent;
3136 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
3137 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3578 3138 outline-offset: 0;
3579 3139 }
3580 3140
3581 3141 .components-text-control__input,
@@ -3592,40 +3152,21 @@
3592 3152 .components-text-control__input[type=email],
3593 3153 .components-text-control__input[type=month],
3594 3154 .components-text-control__input[type=number] {
3595 3155 width: 100%;
3596 - height: 32px;
3156 + height: 40px;
3597 3157 margin: 0;
3598 - background: var(--wp-components-color-background, #fff);
3599 - color: var(--wp-components-color-foreground, #1e1e1e);
3600 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3158 + background: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
3159 + color: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
3160 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3601 3161 padding: 6px 8px;
3602 3162 /* Fonts smaller than 16px causes mobile safari to zoom. */
3603 3163 font-size: 16px;
3604 3164 /* Override core line-height. To be reviewed. */
3605 3165 line-height: normal;
3606 - box-shadow: 0 0 0 transparent;
3607 - border-radius: 2px;
3608 - border: 1px solid #949494;
3166 + border: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
3167 + border-radius: var(--wpds-border-radius-sm, 2px);
3609 3168 }
3610 -@media not (prefers-reduced-motion) {
3611 - .components-text-control__input,
3612 - .components-text-control__input[type=text],
3613 - .components-text-control__input[type=tel],
3614 - .components-text-control__input[type=time],
3615 - .components-text-control__input[type=url],
3616 - .components-text-control__input[type=week],
3617 - .components-text-control__input[type=password],
3618 - .components-text-control__input[type=color],
3619 - .components-text-control__input[type=date],
3620 - .components-text-control__input[type=datetime],
3621 - .components-text-control__input[type=datetime-local],
3622 - .components-text-control__input[type=email],
3623 - .components-text-control__input[type=month],
3624 - .components-text-control__input[type=number] {
3625 - transition: box-shadow 0.1s linear;
3626 - }
3627 -}
3628 3169 @media (min-width: 600px) {
3629 3170 .components-text-control__input,
3630 3171 .components-text-control__input[type=text],
3631 3172 .components-text-control__input[type=tel],
@@ -3644,8 +3185,24 @@
3644 3185 /* Override core line-height. To be reviewed. */
3645 3186 line-height: normal;
3646 3187 }
3647 3188 }
3189 +.components-text-control__input:hover:not(:disabled, [aria-disabled=true]),
3190 +.components-text-control__input[type=text]:hover:not(:disabled, [aria-disabled=true]),
3191 +.components-text-control__input[type=tel]:hover:not(:disabled, [aria-disabled=true]),
3192 +.components-text-control__input[type=time]:hover:not(:disabled, [aria-disabled=true]),
3193 +.components-text-control__input[type=url]:hover:not(:disabled, [aria-disabled=true]),
3194 +.components-text-control__input[type=week]:hover:not(:disabled, [aria-disabled=true]),
3195 +.components-text-control__input[type=password]:hover:not(:disabled, [aria-disabled=true]),
3196 +.components-text-control__input[type=color]:hover:not(:disabled, [aria-disabled=true]),
3197 +.components-text-control__input[type=date]:hover:not(:disabled, [aria-disabled=true]),
3198 +.components-text-control__input[type=datetime]:hover:not(:disabled, [aria-disabled=true]),
3199 +.components-text-control__input[type=datetime-local]:hover:not(:disabled, [aria-disabled=true]),
3200 +.components-text-control__input[type=email]:hover:not(:disabled, [aria-disabled=true]),
3201 +.components-text-control__input[type=month]:hover:not(:disabled, [aria-disabled=true]),
3202 +.components-text-control__input[type=number]:hover:not(:disabled, [aria-disabled=true]) {
3203 + border-color: var(--wpds-color-stroke-interactive-neutral-active, #6e6e6e);
3204 +}
3648 3205 .components-text-control__input:focus,
3649 3206 .components-text-control__input[type=text]:focus,
3650 3207 .components-text-control__input[type=tel]:focus,
3651 3208 .components-text-control__input[type=time]:focus,
@@ -3658,11 +3215,12 @@
3658 3215 .components-text-control__input[type=datetime-local]:focus,
3659 3216 .components-text-control__input[type=email]:focus,
3660 3217 .components-text-control__input[type=month]:focus,
3661 3218 .components-text-control__input[type=number]:focus {
3662 - border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
3663 - box-shadow: 0 0 0 0.5px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
3664 - outline: 2px solid transparent;
3219 + outline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)) solid var(--focus-color, var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9)));
3220 + outline-offset: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
3221 + border-color: var(--wpds-color-stroke-interactive-neutral, #8d8d8d);
3222 + box-shadow: none;
3665 3223 }
3666 3224 .components-text-control__input::placeholder,
3667 3225 .components-text-control__input[type=text]::placeholder,
3668 3226 .components-text-control__input[type=tel]::placeholder,
@@ -3692,9 +3250,10 @@
3692 3250 .components-text-control__input[type=datetime-local],
3693 3251 .components-text-control__input[type=email],
3694 3252 .components-text-control__input[type=month],
3695 3253 .components-text-control__input[type=number] {
3696 - border-color: var(--wp-components-color-gray-600, #949494);
3254 + padding-left: 12px;
3255 + padding-right: 12px;
3697 3256 }
3698 3257 .components-text-control__input::placeholder,
3699 3258 .components-text-control__input[type=text]::placeholder,
3700 3259 .components-text-control__input[type=tel]::placeholder,
@@ -3708,28 +3267,10 @@
3708 3267 .components-text-control__input[type=datetime-local]::placeholder,
3709 3268 .components-text-control__input[type=email]::placeholder,
3710 3269 .components-text-control__input[type=month]::placeholder,
3711 3270 .components-text-control__input[type=number]::placeholder {
3712 - color: color-mix(in srgb, var(--wp-components-color-foreground, #1e1e1e), transparent 38%);
3271 + color: color-mix(in srgb, var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e)), transparent 38%);
3713 3272 }
3714 -.components-text-control__input.is-next-40px-default-size,
3715 -.components-text-control__input[type=text].is-next-40px-default-size,
3716 -.components-text-control__input[type=tel].is-next-40px-default-size,
3717 -.components-text-control__input[type=time].is-next-40px-default-size,
3718 -.components-text-control__input[type=url].is-next-40px-default-size,
3719 -.components-text-control__input[type=week].is-next-40px-default-size,
3720 -.components-text-control__input[type=password].is-next-40px-default-size,
3721 -.components-text-control__input[type=color].is-next-40px-default-size,
3722 -.components-text-control__input[type=date].is-next-40px-default-size,
3723 -.components-text-control__input[type=datetime].is-next-40px-default-size,
3724 -.components-text-control__input[type=datetime-local].is-next-40px-default-size,
3725 -.components-text-control__input[type=email].is-next-40px-default-size,
3726 -.components-text-control__input[type=month].is-next-40px-default-size,
3727 -.components-text-control__input[type=number].is-next-40px-default-size {
3728 - height: 40px;
3729 - padding-left: 12px;
3730 - padding-right: 12px;
3731 -}
3732 3273
3733 3274 .components-text-control__input[type=email],
3734 3275 .components-text-control__input[type=url] {
3735 3276 /* rtl:ignore */
@@ -3741,9 +3282,9 @@
3741 3282 color: #757575;
3742 3283 }
3743 3284 .components-tip svg {
3744 3285 align-self: center;
3745 - fill: #f0b849;
3286 + color: #f0b849;
3746 3287 flex-shrink: 0;
3747 3288 margin-right: 16px;
3748 3289 }
3749 3290 .components-tip p {
@@ -3751,8 +3292,9 @@
3751 3292 }
3752 3293
3753 3294 .components-toggle-control__label {
3754 3295 line-height: 16px;
3296 + color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
3755 3297 }
3756 3298 .components-toggle-control__label:not(.is-disabled) {
3757 3299 cursor: var(--wpds-cursor-control, pointer);
3758 3300 }
@@ -3763,9 +3305,9 @@
3763 3305 }
3764 3306
3765 3307 .components-accessible-toolbar {
3766 3308 display: inline-flex;
3767 - border: 1px solid var(--wp-components-color-foreground, #1e1e1e);
3309 + border: 1px solid var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
3768 3310 border-radius: 2px;
3769 3311 flex-shrink: 0;
3770 3312 }
3771 3313 .components-accessible-toolbar > .components-toolbar-group:last-child {
@@ -3830,9 +3372,9 @@
3830 3372 background: transparent;
3831 3373 }
3832 3374 .components-accessible-toolbar .components-button.is-pressed::before,
3833 3375 .components-toolbar .components-button.is-pressed::before {
3834 - background: var(--wp-components-color-foreground, #1e1e1e);
3376 + background: var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
3835 3377 }
3836 3378 .components-accessible-toolbar .components-button:focus::before,
3837 3379 .components-toolbar .components-button:focus::before {
3838 3380 box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
@@ -3860,11 +3402,11 @@
3860 3402 padding: 5px 10px 5px 0;
3861 3403 }
3862 3404 .components-toolbar__control.components-button[data-subscript]::after {
3863 3405 content: attr(data-subscript);
3864 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3406 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3865 3407 font-size: 13px;
3866 - font-weight: 600;
3408 + font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3867 3409 line-height: 12px;
3868 3410 position: absolute;
3869 3411 right: 8px;
3870 3412 bottom: 10px;
@@ -3874,10 +3416,10 @@
3874 3416 }
3875 3417
3876 3418 .components-toolbar-group {
3877 3419 min-height: 48px;
3878 - border-right: 1px solid var(--wp-components-color-foreground, #1e1e1e);
3879 - background-color: var(--wp-components-color-background, #fff);
3420 + border-right: 1px solid var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
3421 + background-color: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
3880 3422 display: inline-flex;
3881 3423 flex-shrink: 0;
3882 3424 flex-wrap: wrap;
3883 3425 padding-left: 6px;
@@ -3898,9 +3440,9 @@
3898 3440 padding-right: 6px;
3899 3441 }
3900 3442 .components-toolbar-group .components-button.components-button svg,
3901 3443 .components-toolbar-group .components-button.has-icon.has-icon svg {
3902 - min-width: 24px;
3444 + min-width: var(--wpds-dimension-size-sm, 24px);
3903 3445 }
3904 3446 .components-toolbar-group .components-button.components-button::before,
3905 3447 .components-toolbar-group .components-button.has-icon.has-icon::before {
3906 3448 left: 2px;
@@ -3909,10 +3451,10 @@
3909 3451
3910 3452 .components-toolbar {
3911 3453 min-height: 48px;
3912 3454 margin: 0;
3913 - border: 1px solid var(--wp-components-color-foreground, #1e1e1e);
3914 - background-color: var(--wp-components-color-background, #fff);
3455 + border: 1px solid var(--wp-components-color-foreground, var(--wpds-color-foreground-content-neutral, #1e1e1e));
3456 + background-color: var(--wp-components-color-background, var(--wpds-color-background-surface-neutral-strong, #fff));
3915 3457 display: inline-flex;
3916 3458 flex-shrink: 0;
3917 3459 flex-wrap: wrap;
3918 3460 }
@@ -3933,9 +3475,9 @@
3933 3475 div.components-toolbar > div + div.has-left-divider::before {
3934 3476 display: inline-block;
3935 3477 content: "";
3936 3478 box-sizing: content-box;
3937 - background-color: #ddd;
3479 + background-color: var(--wpds-color-stroke-surface-neutral, #dbdbdb);
3938 3480 position: absolute;
3939 3481 top: 8px;
3940 3482 left: -3px;
3941 3483 width: 1px;
@@ -3943,10 +3485,10 @@
3943 3485 }
3944 3486
3945 3487 .components-tooltip {
3946 3488 background: #000;
3947 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3948 - border-radius: 2px;
3489 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3490 + border-radius: var(--wpds-border-radius-md, 4px);
3949 3491 color: #f0f0f0;
3950 3492 text-align: center;
3951 3493 line-height: 1.4;
3952 3494 font-size: 12px;
@@ -3958,36 +3500,19 @@
3958 3500 .components-tooltip__shortcut {
3959 3501 margin-left: 8px;
3960 3502 }
3961 3503
3962 -.components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3963 - --wp-components-color-accent: #cc1818;
3964 - border-color: #cc1818;
3504 +.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-validated-control__content-editable [role=textbox], .components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop, .components-validated-control textarea:invalid[data-validity-visible], .components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3505 + --focus-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3965 3506 }
3966 -.components-validated-control :is(textarea, input[type=text]):invalid[data-validity-visible] {
3967 - --wp-admin-theme-color: #cc1818;
3968 - --wp-components-color-accent: #cc1818;
3969 - border-color: #cc1818;
3507 +
3508 +.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-validated-control__content-editable [role=textbox], .components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop, .components-validated-control textarea:invalid[data-validity-visible], .components-validated-control:has(:is(input, select):invalid[data-validity-visible]) .components-input-control__backdrop {
3509 + border-color: var(--wpds-color-stroke-interactive-error, #cc1818);
3970 3510 }
3971 -.components-validated-control .components-combobox-control__suggestions-container:has(input:invalid[data-validity-visible]):not(:has([aria-expanded=true])) {
3972 - --wp-components-color-accent: #cc1818;
3973 -}
3974 3511
3975 3512 .components-validated-control__wrapper-with-error-delegate {
3976 3513 position: relative;
3977 3514 }
3978 -.components-validated-control__wrapper-with-error-delegate:has(select:invalid[data-validity-visible]) .components-input-control__backdrop {
3979 - --wp-components-color-accent: #cc1818;
3980 - border-color: #cc1818;
3981 -}
3982 -.components-validated-control__wrapper-with-error-delegate:has(input[type=radio]:invalid[data-validity-visible]) {
3983 - --wp-components-color-accent: #cc1818;
3984 -}
3985 -.components-validated-control__wrapper-with-error-delegate:has(input:invalid[data-validity-visible]) .components-form-token-field__input-container:not(:has([aria-expanded=true])) {
3986 - --wp-components-color-accent: #cc1818;
3987 - border-color: #cc1818;
3988 -}
3989 -
3990 3515 .components-validated-control__error-delegate {
3991 3516 position: absolute;
3992 3517 top: 0;
3993 3518 height: 100%;
@@ -3995,46 +3520,8 @@
3995 3520 opacity: 0;
3996 3521 pointer-events: none;
3997 3522 }
3998 3523
3999 -.components-validated-control__indicator {
4000 - display: flex;
4001 - align-items: flex-start;
4002 - gap: 4px;
4003 - margin: 8px 0 0;
4004 - font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4005 - font-size: 12px;
4006 - line-height: 16px;
4007 - color: var(--wp-components-color-gray-700, #757575);
4008 - animation: components-validated-control__indicator-jump 0.2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
4009 -}
4010 -.components-validated-control__indicator.is-invalid {
4011 - color: #cc1818;
4012 -}
4013 -.components-validated-control__indicator.is-valid {
4014 - color: color-mix(in srgb, #000 30%, #4ab866);
4015 -}
4016 -
4017 -.components-validated-control__indicator-icon {
4018 - flex-shrink: 0;
4019 -}
4020 -
4021 -.components-validated-control__indicator-spinner {
4022 - margin: 2px;
4023 - width: 12px;
4024 - height: 12px;
4025 -}
4026 -
4027 -@keyframes components-validated-control__indicator-jump {
4028 - 0% {
4029 - transform: translateY(-4px);
4030 - opacity: 0;
4031 - }
4032 - 100% {
4033 - transform: translateY(0);
4034 - opacity: 1;
4035 - }
4036 -}
4037 3524 :root {
4038 3525 --wp-admin-theme-color: #3858e9;
4039 3526 --wp-admin-theme-color--rgb: 56, 88, 233;
4040 3527 --wp-admin-theme-color-darker-10: rgb(33.0384615385, 68.7307692308, 230.4615384615);