зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
76f7fda5c5
Коммит
8431dd67d0
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче