Skip to content

Commit

Permalink
add vertical axis token to replace fixed, non-responsive version
Browse files Browse the repository at this point in the history
  • Loading branch information
rezrah committed Jan 8, 2025
1 parent c2bb92e commit c8e9172
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .changeset/strong-eels-wink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@primer/brand-primitives': patch
---

Added new token for river breakout vertical spacing:

```
--brand-River-spacing-innerY
```
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@
}
}
},
"innerY": {
"value": "var(--base-size-24)",
"responsive": {
"768px": {
"value": "var(--base-size-24)"
},
"1280px": {
"value": "var(--base-size-32)"
}
}
},
"outer": {
"value": "var(--base-size-36)",
"responsive": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/river/river-shared.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
.RiverBreakout .River__content {
display: grid;
gap: var(--brand-River-spacing-inner);
row-gap: var(--base-size-32);
row-gap: var(--brand-River-spacing-innerY);
grid-template-areas:
'text trailingComponent'
'cta trailingComponent';
Expand Down

0 comments on commit c8e9172

Please sign in to comment.