Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Global Styles: Improve organisation of site background color and image #63216
Global Styles: Improve organisation of site background color and image #63216
Changes from 9 commits
3401d45
70fc60f
a555902
c78e9f0
5caa672
d6252d6
4a99ca1
c4a1706
635c62e
7f4951d
f3fc268
9f2d715
267a62b
dba7140
f27779e
f4e3a7d
f2cc826
4f83540
98833df
7b8110a
9cd986c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Large diffs are not rendered by default.
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.
I know it was not introduced by this PR, but — as also mentioned about
.components-button
—.components-*
classnames re not meant to be used outside of the components package. We can use custom classnames instead.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.
Should I make the change in this PR only, or a separate PR would be good for it?
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.
Happy for it to be a separate, follow-up PR.
The main changes that would be needed:
36px
height on.components-dropdown
. Ideally, we should use the default button height. If not, let's understand why, and at most use therenderToggle
prop to pass differently sized button;.components-button
, and only use the component props to tweak those aspects (mainly thevariant
prop)className
to the components instances, and then using that custom classname in the styles file;