Skip to content
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 Nov 1, 2022
9204830
Tidy up the setting of colors in the list view
glendaviesnz Nov 1, 2022
c26150b
Tidy up doc block types
glendaviesnz Nov 1, 2022
27e1cf5
Add color to block toolbar
glendaviesnz Nov 1, 2022
1ab8214
Add color to template block toolbar
glendaviesnz Nov 1, 2022
93bf9ba
Add selection box color
glendaviesnz Nov 2, 2022
2a3deca
Fix scope of styles
glendaviesnz Nov 2, 2022
22c5977
Add colors to block selector
glendaviesnz Nov 2, 2022
be58817
fix issue with outline styles
glendaviesnz Nov 2, 2022
0d1dbb9
Switch to using the existing isTemplatePart and isReusable methods
glendaviesnz Nov 2, 2022
3fbf88d
another switch to use existing methods
glendaviesnz Nov 2, 2022
3e0d7f0
Combine the template part and reusable block colors under an `isSynce…
glendaviesnz Nov 3, 2022
bc38da3
Remove color from block name and just color icon
glendaviesnz Nov 3, 2022
e0f5905
Apply selected outline color to reusable blocks in the post editor
glendaviesnz Nov 3, 2022
6931586
change colour of focus outline
glendaviesnz Nov 3, 2022
e5d1f96
Add synced color to block icon in inspector panel header
glendaviesnz Nov 22, 2022
00abab3
Add synced color to block hover overlay
glendaviesnz Nov 3, 2022
a28dd85
Colorise name in header
glendaviesnz Nov 4, 2022
878ae16
Add icon to site editor template part dropdown
glendaviesnz Nov 16, 2022
a9d1848
Add brightness to background color
glendaviesnz Nov 17, 2022
31a7b11
Add extra class to denote synced branches
glendaviesnz Nov 17, 2022
d4e1e7d
Add synced color to list view branch items
glendaviesnz Nov 17, 2022
00846fb
Make sure child leaves are colored correctly
glendaviesnz Nov 17, 2022
e93470d
Standardise opacity as 0.04
glendaviesnz Nov 17, 2022
d50750c
Revert "Make sure child leaves are colored correctly"
glendaviesnz Nov 22, 2022
8fb97dd
Standardise format in classnames
glendaviesnz Nov 22, 2022
2333a27
Fix icon color
glendaviesnz Nov 22, 2022
0ea11cb
Fix failing e2e tests
glendaviesnz Nov 23, 2022
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
Prev Previous commit
Fix failing e2e tests
  • Loading branch information
glendaviesnz committed Nov 23, 2022
commit 0ea11cb337927729ffba1b20cf9702f7579ee70e
2 changes: 1 addition & 1 deletion packages/blocks/src/api/registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ export function isReusableBlock( blockOrType ) {
* @return {boolean} Whether the given block is a template part.
*/
export function isTemplatePart( blockOrType ) {
return blockOrType.name === 'core/template-part';
return blockOrType?.name === 'core/template-part';
}

/**
Expand Down