Skip to content

Commit

Permalink
Update style book headings to new design (#67546)
Browse files Browse the repository at this point in the history
Co-authored-by: tellthemachines <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: matiasbenedetto <[email protected]>
  • Loading branch information
4 people authored Dec 5, 2024
1 parent bb56ce8 commit e18605f
Showing 1 changed file with 8 additions and 19 deletions.
27 changes: 8 additions & 19 deletions packages/edit-site/src/components/style-book/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,27 +216,25 @@ export const STYLE_BOOK_IFRAME_STYLES = `
}
.edit-site-style-book__duotone-example > div:not(:first-child) {
height: 20px;
border: 1px solid #ddd;
border: 1px solid color-mix( in srgb, currentColor 10%, transparent );
}
.edit-site-style-book__color-example {
height: 52px;
border: 1px solid #ddd;
}
.edit-site-style-book__examples.is-wide .edit-site-style-book__example {
flex-direction: row;
height: 32px;
border: 1px solid color-mix( in srgb, currentColor 10%, transparent );
}
.edit-site-style-book__subcategory-title,
.edit-site-style-book__example-title {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 11px;
font-weight: 500;
font-size: 13px;
font-weight: normal;
line-height: normal;
margin: 0;
text-align: left;
text-transform: uppercase;
padding-top: 8px;
border-top: 1px solid color-mix( in srgb, currentColor 10%, transparent );
color: color-mix( in srgb, currentColor 60%, transparent );
}
.edit-site-style-book__subcategory-title {
Expand All @@ -246,18 +244,9 @@ export const STYLE_BOOK_IFRAME_STYLES = `
padding-bottom: 8px;
}
.edit-site-style-book__examples.is-wide .edit-site-style-book__example-title {
text-align: right;
width: 120px;
}
.edit-site-style-book__example-preview {
width: 100%;
}
.is-wide .edit-site-style-book__example-preview {
width: calc(100% - 120px);
}
.edit-site-style-book__example-preview .block-editor-block-list__insertion-point,
.edit-site-style-book__example-preview .block-list-appender {
Expand Down

1 comment on commit e18605f

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in e18605f.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12173187344
📝 Reported issues:

Please sign in to comment.