Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
120 changes: 60 additions & 60 deletions tokens/json/core.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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": {}
Expand Down Expand Up @@ -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,
Expand All @@ -1242,7 +1242,7 @@
"core",
"semantic"
],
"createdAt": "2026-09-28T09:50:00.316Z"
"createdAt": "2026-09-29T11:28:52.496Z"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion tokens/json/fx.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
"core",
"semantic"
],
"createdAt": "2026-09-28T09:50:00.316Z"
"createdAt": "2026-09-29T11:28:52.496Z"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion tokens/json/semantic.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -1609,7 +1609,7 @@
"core",
"semantic"
],
"createdAt": "2026-09-28T09:50:00.316Z"
"createdAt": "2026-09-29T11:28:52.496Z"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion tokens/tokens.css
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
Loading