Skip to content

Commit

Permalink
Update: Make the global styles subtitles font smaller (#37600)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Dec 27, 2021
1 parent 10f2b17 commit 6d0421e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/components/src/palette-edit/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ export const NameContainer = styled.div`
export const PaletteHeading = styled( Heading )`
text-transform: uppercase;
line-height: ${ space( 6 ) };
font-weight: 500;
&&& {
font-size: 11px;
margin-bottom: 0;
}
`;
Expand Down
3 changes: 2 additions & 1 deletion packages/edit-site/src/components/global-styles/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
// Need to override the too specific styles for complementary areas.
margin-bottom: 0 !important;
text-transform: uppercase;
font-weight: 500;
font-weight: 500 !important;
font-size: 11px !important;
}

.edit-site-screen-color-palette-toggle.edit-site-screen-color-palette-toggle {
Expand Down

0 comments on commit 6d0421e

Please sign in to comment.