-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Move duotone palette to the bottom of global styles gradients #37253
Conversation
Size Change: -3 B (0%) Total Size: 1.11 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense
@@ -94,6 +82,18 @@ export default function GradientPalettePanel( { name } ) { | |||
) } | |||
slugPrefix="custom-" | |||
/> | |||
<div> | |||
<Heading className="edit-site-global-styles-gradient-palette-panel__duotone-heading"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Subtitle component of Global Styles was written to avoid defining the styles and classes for each heading, we should probably just use it here and for the vertical spacing we should use Stack
instead of custom margins
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, saw that too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @youknowriad, the subtitle component does not provide the same visual we want here according to the mockups:
Should we use the subtitle for all the palette titles even though there is a small difference when compared to the mockups?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jorgefilipecosta Updating makes sense to me, the important thing is that be consistent across all global styles panels.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should fix the component, it should render smaller
The duotone gradients should not have that much prominence in the UI.