-
Notifications
You must be signed in to change notification settings - Fork 182
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
Twenty Twenty Blocks: Try adding new Global Styles Rules #44
Merged
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
05d54fa
Add experimental-theme.json
kjellr ab2163e
Update color values to match experimental-theme.json
kjellr 257ffbd
Add additional styles
kjellr 9e957e5
Load block styles into FSE
kjellr 9f0b942
Replace values with new CSS variables.
kjellr c02ee20
Remove computed variables
jffng e375cc6
Override h1 editor font size
jffng a261eec
Update experimental-theme.json.
kjellr 523f12d
Merge branch 'master' into add/twenty-twenty-global-styles
kjellr a15c1b3
Make sure styles are loaded into the full-site editor.
kjellr ab5cdc4
Switch to using the Query Loop block in index.html
kjellr fe1e88e
Fix typography variables.
kjellr 5cd00a6
Remove unnecessary styles.
kjellr 69b03a1
Fix alignment of entry content.
kjellr a442c52
Tidy up editor styles.
kjellr cfeb4dc
Remove unused variables.
kjellr 79ae323
Rename text color to foreground color.
kjellr 5fce20a
Rewrite custom color styles so they work for buttons.
kjellr 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
There are no files selected for viewing
This file contains 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.
Why do we need to target
.editor-styles-wrapper
? I though that enqueueing viaadd_editor_style
was supposed to handle this for us?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.
Ah, that's a good question. The non-blocks version of twenty twenty enqueues the editor styles using the old hook, not via
add_editor_style
. Since we don't do that in the block-based theme here, we should probably strip all these out of the editor stylesheet. They're not necessary anymore.I'll leave that for a followup PR though.