diff --git a/package.json b/package.json index 8224087..65cd51f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gitbutler/design-core", - "version": "9.0.0", + "version": "9.0.1", "type": "module", "description": "Design tokens for GitButler applications", "keywords": [ diff --git a/tokens/json/core.tokens.json b/tokens/json/core.tokens.json index d3500ef..5e26bcb 100644 --- a/tokens/json/core.tokens.json +++ b/tokens/json/core.tokens.json @@ -949,6 +949,64 @@ } } }, + "gap": { + "buttons": { + "$type": "dimension", + "$value": "{core.space.lg}", + "$description": "Between buttons in a row: a modal footer, a form's actions, a settings row. The row is right-aligned, primary last. For small buttons or the toolbox, use gap/buttons-compact.", + "$extensions": { + "mode": {} + } + }, + "buttons-compact": { + "$type": "dimension", + "$value": "{core.space.md}", + "$description": "Between buttons in a compact row: a row of small buttons, and the toolbox's action and confirm rows. A modal footer or a form keeps gap/buttons.", + "$extensions": { + "mode": {} + } + }, + "fields": { + "$type": "dimension", + "$value": "{core.space.2xl}", + "$description": "Between form fields stacked in one form. A field is its label, control and hint together.", + "$extensions": { + "mode": {} + } + }, + "label-field": { + "$type": "dimension", + "$value": "{core.space.md}", + "$description": "Between a field's label and its control, and between the control and its hint.", + "$extensions": { + "mode": {} + } + }, + "icon-text": { + "$type": "dimension", + "$value": "{core.space.lg}", + "$description": "Between a leading icon and its text in a row or menu item. Buttons keep their own, tighter gap.", + "$extensions": { + "mode": {} + } + }, + "toolbar": { + "$type": "dimension", + "$value": "{core.space.xs}", + "$description": "Between icon-only buttons packed into a toolbar or a header's actions.", + "$extensions": { + "mode": {} + } + }, + "stack": { + "$type": "dimension", + "$value": "{core.space.2xl}", + "$description": "Between blocks stacked in a modal or panel: a title, a paragraph, a form, a group of settings.", + "$extensions": { + "mode": {} + } + } + }, "padding": { "modal": { "$type": "dimension", @@ -984,7 +1042,7 @@ }, "list": { "$type": "dimension", - "$value": "{core.space.md}", + "$value": "{core.space.lg}", "$description": "Around the rows of a list on a page or in a panel, so their hover and selection sit clear of the edge. Roomier than padding/menu, since no rounded container needs its corners matched.", "$extensions": { "mode": {} @@ -1175,64 +1233,6 @@ } } }, - "gap": { - "buttons": { - "$type": "dimension", - "$value": "{core.space.lg}", - "$description": "Between buttons in a row: a modal footer, a form's actions, a settings row. The row is right-aligned, primary last. For small buttons or the toolbox, use gap/buttons-compact.", - "$extensions": { - "mode": {} - } - }, - "buttons-compact": { - "$type": "dimension", - "$value": "{core.space.md}", - "$description": "Between buttons in a compact row: a row of small buttons, and the toolbox's action and confirm rows. A modal footer or a form keeps gap/buttons.", - "$extensions": { - "mode": {} - } - }, - "fields": { - "$type": "dimension", - "$value": "{core.space.2xl}", - "$description": "Between form fields stacked in one form. A field is its label, control and hint together.", - "$extensions": { - "mode": {} - } - }, - "label-field": { - "$type": "dimension", - "$value": "{core.space.md}", - "$description": "Between a field's label and its control, and between the control and its hint.", - "$extensions": { - "mode": {} - } - }, - "icon-text": { - "$type": "dimension", - "$value": "{core.space.lg}", - "$description": "Between a leading icon and its text in a row or menu item. Buttons keep their own, tighter gap.", - "$extensions": { - "mode": {} - } - }, - "toolbar": { - "$type": "dimension", - "$value": "{core.space.xs}", - "$description": "Between icon-only buttons packed into a toolbar or a header's actions.", - "$extensions": { - "mode": {} - } - }, - "stack": { - "$type": "dimension", - "$value": "{core.space.2xl}", - "$description": "Between blocks stacked in a modal or panel: a title, a paragraph, a form, a group of settings.", - "$extensions": { - "mode": {} - } - } - }, "$extensions": { "tokens-bruecke-meta": { "useDTCG": true, @@ -1242,7 +1242,7 @@ "core", "semantic" ], - "createdAt": "2026-09-28T09:50:00.316Z" + "createdAt": "2026-09-29T11:28:52.496Z" } } } diff --git a/tokens/json/fx.tokens.json b/tokens/json/fx.tokens.json index abb2daf..f84b973 100644 --- a/tokens/json/fx.tokens.json +++ b/tokens/json/fx.tokens.json @@ -176,7 +176,7 @@ "core", "semantic" ], - "createdAt": "2026-09-28T09:50:00.316Z" + "createdAt": "2026-09-29T11:28:52.496Z" } } } diff --git a/tokens/json/semantic.tokens.json b/tokens/json/semantic.tokens.json index 0ca8efa..0ce2c2d 100644 --- a/tokens/json/semantic.tokens.json +++ b/tokens/json/semantic.tokens.json @@ -1609,7 +1609,7 @@ "core", "semantic" ], - "createdAt": "2026-09-28T09:50:00.316Z" + "createdAt": "2026-09-29T11:28:52.496Z" } } } diff --git a/tokens/tokens.css b/tokens/tokens.css index cd4d102..7f296b9 100644 --- a/tokens/tokens.css +++ b/tokens/tokens.css @@ -281,7 +281,7 @@ /* Inside a bordered card or a settings row. */ --padding-card: var(--space-3xl); /* Around the rows of a list on a page or in a panel, so their hover and selection sit clear of the edge. Roomier than padding/menu, since no rounded container needs its corners matched. */ - --padding-list: var(--space-md); + --padding-list: var(--space-lg); /* Around the rows inside a popup, menu, select or suggestion list, so the hover on the first and last row sits clear of the edge. 4px, so a row taking radius/control stays concentric with the popup. */ --padding-menu: var(--space-sm); /* Inside a modal, on every side. */