-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Colorize template parts and Reusable blocks #45473
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
7d47273
Add initial colorization code
glendaviesnz 9204830
Tidy up the setting of colors in the list view
glendaviesnz c26150b
Tidy up doc block types
glendaviesnz 27e1cf5
Add color to block toolbar
glendaviesnz 1ab8214
Add color to template block toolbar
glendaviesnz 93bf9ba
Add selection box color
glendaviesnz 2a3deca
Fix scope of styles
glendaviesnz 22c5977
Add colors to block selector
glendaviesnz be58817
fix issue with outline styles
glendaviesnz 0d1dbb9
Switch to using the existing isTemplatePart and isReusable methods
glendaviesnz 3fbf88d
another switch to use existing methods
glendaviesnz 3e0d7f0
Combine the template part and reusable block colors under an `isSynce…
glendaviesnz bc38da3
Remove color from block name and just color icon
glendaviesnz e0f5905
Apply selected outline color to reusable blocks in the post editor
glendaviesnz 6931586
change colour of focus outline
glendaviesnz e5d1f96
Add synced color to block icon in inspector panel header
glendaviesnz 00abab3
Add synced color to block hover overlay
glendaviesnz a28dd85
Colorise name in header
glendaviesnz 878ae16
Add icon to site editor template part dropdown
glendaviesnz a9d1848
Add brightness to background color
glendaviesnz 31a7b11
Add extra class to denote synced branches
glendaviesnz d4e1e7d
Add synced color to list view branch items
glendaviesnz 00846fb
Make sure child leaves are colored correctly
glendaviesnz e93470d
Standardise opacity as 0.04
glendaviesnz d50750c
Revert "Make sure child leaves are colored correctly"
glendaviesnz 8fb97dd
Standardise format in classnames
glendaviesnz 2333a27
Fix icon color
glendaviesnz 0ea11cb
Fix failing e2e tests
glendaviesnz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Combine the template part and reusable block colors under an `isSynce…
…d` flag
- Loading branch information
commit 3e0d7f025f304d3317ba22177244e0c1aadffcb8
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
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.
not sure if this is the best place to put these - went with CSS vars instead of SCSS vars so themes can potentially override these.
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 choice of CSS vars over SCSS makes sense to me 👍