-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assembler: Use variation partials and move styles.blocks.variations t…
…o styles.variations (#7891) * add partials for section styles * remove styles.blocks.variations from theme.json * move to styles.variations * Remove button outline styles * remove extraneous style from type-only variations * use slug and title for each section * version 4 theme.json * Make forms and inputs better across more styles * Update style.css * remove custom.input values * tweak input styles * add vermilian and gainsboro * add default duotone * better duotones across all variations * tweak default duotone * Update 43-moss.json
- Loading branch information
Showing
69 changed files
with
7,398 additions
and
12,252 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"$schema": "https://schemas.wp.org/trunk/theme.json", | ||
"version": 3, | ||
"slug": "section-1", | ||
"title": "Style 1", | ||
"blockTypes": [ | ||
"core/group", | ||
"core/columns", | ||
"core/column" | ||
], | ||
"styles": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-2)", | ||
"text": "var(--wp--preset--color--theme-5)" | ||
}, | ||
"blocks": { | ||
"core/paragraph": { | ||
"elements": { | ||
"link": { | ||
"color": { | ||
"text": "var(--wp--preset--color--theme-5)" | ||
} | ||
} | ||
} | ||
}, | ||
"core/separator": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-5)", | ||
"text": "var(--wp--preset--color--theme-5)" | ||
} | ||
} | ||
}, | ||
"elements": { | ||
"button": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-4)", | ||
"text": "var(--wp--preset--color--theme-1)" | ||
}, | ||
":hover": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-5)", | ||
"text": "var(--wp--preset--color--theme-1)" | ||
} | ||
} | ||
}, | ||
"heading": { | ||
"color": { | ||
"text": "var(--wp--preset--color--theme-5)" | ||
} | ||
}, | ||
"link": { | ||
"color": { | ||
"text": "var(--wp--preset--color--theme-5)" | ||
} | ||
} | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"$schema": "https://schemas.wp.org/trunk/theme.json", | ||
"version": 3, | ||
"slug": "section-2", | ||
"title": "Style 2", | ||
"blockTypes": [ | ||
"core/group", | ||
"core/columns", | ||
"core/column" | ||
], | ||
"styles": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-4)", | ||
"text": "var(--wp--preset--color--theme-3)" | ||
}, | ||
"blocks": { | ||
"core/paragraph": { | ||
"elements": { | ||
"link": { | ||
"color": { | ||
"text": "var(--wp--preset--color--theme-3)" | ||
} | ||
} | ||
} | ||
}, | ||
"core/separator": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-3)", | ||
"text": "var(--wp--preset--color--theme-3)" | ||
} | ||
} | ||
}, | ||
"elements": { | ||
"button": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-1)", | ||
"text": "var(--wp--preset--color--theme-5)" | ||
}, | ||
":hover": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-2)", | ||
"text": "var(--wp--preset--color--theme-5)" | ||
} | ||
} | ||
}, | ||
"heading": { | ||
"color": { | ||
"text": "var(--wp--preset--color--theme-1)" | ||
} | ||
}, | ||
"link": { | ||
"color": { | ||
"text": "var(--wp--preset--color--theme-3)" | ||
} | ||
} | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"$schema": "https://schemas.wp.org/trunk/theme.json", | ||
"version": 3, | ||
"slug": "section-3", | ||
"title": "Style 3", | ||
"blockTypes": [ | ||
"core/group", | ||
"core/columns", | ||
"core/column" | ||
], | ||
"styles": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-5)", | ||
"text": "var(--wp--preset--color--theme-3)" | ||
}, | ||
"blocks": { | ||
"core/paragraph": { | ||
"elements": { | ||
"link": { | ||
"color": { | ||
"text": "var(--wp--preset--color--theme-3)" | ||
} | ||
} | ||
} | ||
}, | ||
"core/separator": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-3)", | ||
"text": "var(--wp--preset--color--theme-3)" | ||
} | ||
} | ||
}, | ||
"elements": { | ||
"button": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-1)", | ||
"text": "var(--wp--preset--color--theme-5)" | ||
}, | ||
":hover": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-2)", | ||
"text": "var(--wp--preset--color--theme-5)" | ||
} | ||
} | ||
}, | ||
"heading": { | ||
"color": { | ||
"text": "var(--wp--preset--color--theme-1)" | ||
} | ||
}, | ||
"link": { | ||
"color": { | ||
"text": "var(--wp--preset--color--theme-3)" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.