This repository was archived by the owner on Jun 20, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 174
Twenty Twenty Blocks: Try adding new Global Styles Rules #44
Merged
Merged
Changes from all commits
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 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| { | ||
| "global": { | ||
| "presets": { | ||
| "color": [ | ||
| { | ||
| "slug": "background", | ||
| "value": "#f5efe0" | ||
| }, | ||
| { | ||
| "slug": "foreground", | ||
| "value": "#000" | ||
| }, | ||
| { | ||
| "slug": "primary", | ||
| "value": "#cd2653" | ||
| } | ||
| ], | ||
| "font-size": [ | ||
| { | ||
| "slug": "small", | ||
| "value": "20px" | ||
| }, | ||
| { | ||
| "slug": "normal", | ||
| "value": "22px" | ||
| }, | ||
| { | ||
| "slug": "large", | ||
| "value": "37px" | ||
| }, | ||
| { | ||
| "slug": "huge", | ||
| "value": "50px" | ||
| } | ||
| ], | ||
| "line-height": [ | ||
| { | ||
| "slug": "normal", | ||
| "value": "1.8" | ||
| }, | ||
| { | ||
| "slug": "heading", | ||
| "value": "1.4" | ||
| } | ||
| ], | ||
| "font-weight": [ | ||
| { | ||
| "slug": "normal", | ||
| "value": "normal" | ||
| }, | ||
| { | ||
| "slug": "heading", | ||
| "value": "700" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } |
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.