Skip to content

Commit

Permalink
chore(tokens): semantic spacer updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoker committed Jul 16, 2024
1 parent a15afb8 commit 9a812d6
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 24 deletions.
2 changes: 1 addition & 1 deletion packages/module/build/css/tokens-charts-dark.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 12 Jul 2024 15:40:40 GMT
// Generated on Tue, 16 Jul 2024 23:44:44 GMT

@mixin pf-v6-tokens {
--pf-t--chart--global--BorderWidth--lg: 8;
Expand Down
2 changes: 1 addition & 1 deletion packages/module/build/css/tokens-charts.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 12 Jul 2024 15:40:40 GMT
// Generated on Tue, 16 Jul 2024 23:44:44 GMT

@mixin pf-v6-tokens {
--pf-t--chart--global--BorderWidth--lg: 8;
Expand Down
2 changes: 1 addition & 1 deletion packages/module/build/css/tokens-dark.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 12 Jul 2024 15:40:40 GMT
// Generated on Tue, 16 Jul 2024 23:44:44 GMT

@mixin pf-v6-tokens {
--pf-t--global--background--color--action--plain--default: rgba(0, 0, 0, 0.0000);
Expand Down
8 changes: 4 additions & 4 deletions packages/module/build/css/tokens-default.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 12 Jul 2024 15:40:40 GMT
// Generated on Tue, 16 Jul 2024 23:44:44 GMT

@mixin pf-v6-tokens {
--pf-t--global--background--color--500: rgba(21, 21, 21, 0.2000);
Expand Down Expand Up @@ -453,17 +453,17 @@
--pf-t--global--motion--duration--slide-out--short: var(--pf-t--global--motion--duration--lg);
--pf-t--global--spacer--action--horizontal--compact: var(--pf-t--global--spacer--md);
--pf-t--global--spacer--action--horizontal--default: var(--pf-t--global--spacer--lg);
--pf-t--global--spacer--action--horizontal--plain: var(--pf-t--global--spacer--sm);
--pf-t--global--spacer--action--horizontal--plain--compact: var(--pf-t--global--spacer--xs);
--pf-t--global--spacer--action--horizontal--plain--default: var(--pf-t--global--spacer--sm);
--pf-t--global--spacer--action--horizontal--spacious: var(--pf-t--global--spacer--xl);
--pf-t--global--spacer--action--vertical--compact: var(--pf-t--global--spacer--xs);
--pf-t--global--spacer--action--vertical--spacious: var(--pf-t--global--spacer--md);
--pf-t--global--spacer--control--horizontal--compact: var(--pf-t--global--spacer--sm);
--pf-t--global--spacer--control--horizontal--default: var(--pf-t--global--spacer--md);
--pf-t--global--spacer--control--horizontal--plain: var(--pf-t--global--spacer--sm);
--pf-t--global--spacer--control--horizontal--spacious: var(--pf-t--global--spacer--lg);
--pf-t--global--spacer--control--vertical--compact: var(--pf-t--global--spacer--xs);
--pf-t--global--spacer--control--vertical--default: var(--pf-t--global--spacer--sm);
--pf-t--global--spacer--control--vertical--plain: var(--pf-t--global--spacer--sm);
--pf-t--global--spacer--control--vertical--spacious: var(--pf-t--global--spacer--md);
--pf-t--global--spacer--gap--action-to-action--default: var(--pf-t--global--spacer--md);
--pf-t--global--spacer--gap--action-to-action--plain: var(--pf-t--global--spacer--xs);
--pf-t--global--spacer--gap--control-to-control--default: var(--pf-t--global--spacer--xs);
Expand Down
2 changes: 1 addition & 1 deletion packages/module/build/css/tokens-palette.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 12 Jul 2024 15:40:40 GMT
// Generated on Tue, 16 Jul 2024 23:44:44 GMT

@mixin pf-v6-tokens {
--pf-t--color--black: #000000;
Expand Down
27 changes: 11 additions & 16 deletions packages/module/tokens/default/semantic.dimension.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,14 @@
"value": "{global.spacer.xs}"
},
"plain": {
"description": "Use to set the vertical padding inside of plain controls, like in plain menu toggles.",
"description": "Use to set the vertical padding inside of plain controls, like in plain menu toggles and plain buttons.",
"type": "number",
"value": "{global.spacer.sm}"
},
"spacious": {
"description": "Use to set the vertical padding inside a large/display controls. This is used across buttons, text inputs, menu toggles, etc.",
"type": "number",
"value": "{global.spacer.md}"
}
},
"horizontal": {
Expand Down Expand Up @@ -222,9 +227,11 @@
"value": "{global.spacer.lg}"
},
"plain": {
"description": "Use to set the horizontal padding inside a plain action, like plain buttons.",
"type": "number",
"value": "{global.spacer.sm}",
"default": {
"description": "Use to set the horizontal padding inside a plain action, like plain buttons.",
"type": "number",
"value": "{global.spacer.sm}"
},
"compact": {
"description": "Use to set the horizontal padding inside a compact, plain action/button.",
"type": "number",
Expand All @@ -241,18 +248,6 @@
"type": "number",
"value": "{global.spacer.xl}"
}
},
"vertical": {
"compact": {
"description": "Use to set the vertical padding inside a compact action, like compact buttons.",
"type": "number",
"value": "{global.spacer.xs}"
},
"spacious": {
"description": "Use to set the vertical padding inside a large/display action, like CTAs.",
"type": "number",
"value": "{global.spacer.md}"
}
}
},
"gap": {
Expand Down

0 comments on commit 9a812d6

Please sign in to comment.