Bug 1826833 - add design tokens for moz-button-group r=jules,desktop-theme-reviewers,dao,reusable-components-reviewers

This patch introduces a simple spacing token for use in `moz-button-group`.

Differential Revision: https://phabricator.services.mozilla.com/D180697
This commit is contained in:
Hanna Jones 2024-01-05 19:13:07 +00:00
Родитель 76f7fda5c5
Коммит 8431dd67d0
2 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -12,5 +12,5 @@
}
::slotted(button:not(:first-child, .popup-notification-dropmarker)) {
margin-inline-start: 8px !important;
margin-inline-start: var(--spacing-small) !important;
}

Просмотреть файл

@ -94,6 +94,9 @@
/** Size **/
--size-item-small: 16px;
--size-item-large: 32px;
/** Spacing **/
--spacing-small: 0.5rem;
}
@media not (prefers-contrast) {