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
5 changes: 5 additions & 0 deletions .changeset/media-playlist-narrow-spacing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react-brand': patch
---

Adjusted the spacing in the `MediaPlaylist` component on narrow viewports
5 changes: 5 additions & 0 deletions .changeset/pillar-icon-radius.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react-brand': patch
---

Increased the `border-radius` of icons in the `Pillar` component to `12px`
5 changes: 5 additions & 0 deletions .changeset/statistic-color-consistency.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react-brand': patch
---

Updated the `Statistic` social proof example to use consistent text colors
5 changes: 5 additions & 0 deletions .changeset/tiles-tablet-columns.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react-brand': patch
---

Adjusted the `Tiles` grid to use three columns on tablet viewports
10 changes: 10 additions & 0 deletions packages/react/src/MediaPlaylist/MediaPlaylist.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
margin-inline: auto;
padding: 0;
}

.MediaPlaylist__panelContent :is(h1, h2, h3) + p {
margin-block-start: var(--base-size-12);
}
}

.MediaPlaylist__layout {
Expand Down Expand Up @@ -240,6 +244,12 @@
gap: var(--base-size-12);
}

@media screen and (max-width: 63.24rem) {
.MediaPlaylist__mediaPanels {
padding-block-end: var(--base-size-24);
}
}

@media screen and (min-width: 38.625rem) {
.MediaPlaylist {
border-inline: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions packages/react/src/Pillar/Pillar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
margin-bottom: var(--base-size-48);
}

.Pillar__icon--with-background {
border-radius: var(--base-size-12);
}

.Pillar__icon--with-background > svg {
width: 100%;
height: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const SocialProof: Story = {
style={{flex: 1, display: 'flex', alignItems: 'center'}}
>
<Statistic>
<Statistic.Heading weight="normal" size="800" style={{color: 'var(--brand-color-accent-primary)'}}>
<Statistic.Heading weight="normal" size="800" style={{color: 'var(--brand-color-text-emphasized)'}}>
39%
</Statistic.Heading>
<Statistic.Description font="monospace" size="100">
Expand Down
6 changes: 6 additions & 0 deletions packages/react/src/Tiles/Tiles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
}
}

@media screen and (min-width: 34rem) and (max-width: 47.99rem) {
.Tiles-grid {
--tiles-columns: 3;
}
}

@media screen and (min-width: 63.25rem) {
.Tiles--layout-default .Tiles-grid {
--tiles-columns: 6;
Expand Down
Loading