Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update: Make the global styles subtitles font smaller #37600

Merged
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: 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