-
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.
LeanCV: Use shared color variations (#7923)
* work * use assembler variations * use generic duotone slug, fix spacing sizes * Update front-page.php * Use generic duotone filter on cover
- Loading branch information
Showing
14 changed files
with
1,971 additions
and
330 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,296 @@ | ||
{ | ||
"$schema": "https://schemas.wp.org/trunk/theme.json", | ||
"version": 3, | ||
"title": "Rose", | ||
"categories": [ | ||
"romantic", | ||
"elegant", | ||
"sophisticated", | ||
"feminine", | ||
"vibrant" | ||
], | ||
"settings": { | ||
"color": { | ||
"palette": [ | ||
{ | ||
"color": "#FFFFFF", | ||
"name": "Color 2", | ||
"slug": "theme-2" | ||
}, | ||
{ | ||
"color": "#EFEFEF", | ||
"name": "Color 1", | ||
"slug": "theme-1" | ||
}, | ||
{ | ||
"color": "#C91313", | ||
"name": "Color 4", | ||
"slug": "theme-4" | ||
}, | ||
{ | ||
"color": "#A81010", | ||
"name": "Color 5", | ||
"slug": "theme-5" | ||
}, | ||
{ | ||
"color": "#000000", | ||
"name": "Color 3", | ||
"slug": "theme-3" | ||
} | ||
], | ||
"duotone": [ | ||
{ | ||
"colors": [ | ||
"#A81010", | ||
"#FFFFFF" | ||
], | ||
"slug": "duotone-1", | ||
"name": "Duotone 1" | ||
}, | ||
{ | ||
"colors": [ | ||
"#000000", | ||
"#C91313" | ||
], | ||
"slug": "duotone-2", | ||
"name": "Duotone 2" | ||
} | ||
], | ||
"gradients": [ | ||
{ | ||
"slug": "gradient-text-transparent", | ||
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-4) -50%, transparent 50%)", | ||
"name": "Text to Transparent" | ||
}, | ||
{ | ||
"slug": "gradient-1-2", | ||
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-2) 0%, var(--wp--preset--color--theme-1) 100%)", | ||
"name": "Gradient 1" | ||
}, | ||
{ | ||
"slug": "gradient-1-3", | ||
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-2) 0%, var(--wp--preset--color--theme-4) 100%)", | ||
"name": "Gradient 2" | ||
}, | ||
{ | ||
"slug": "gradient-1-4", | ||
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-2) 0%, var(--wp--preset--color--theme-5) 100%)", | ||
"name": "Gradient 3" | ||
}, | ||
{ | ||
"slug": "gradient-1-5", | ||
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-2) 0%, var(--wp--preset--color--theme-3) 100%)", | ||
"name": "Gradient 4" | ||
}, | ||
{ | ||
"slug": "gradient-2-3", | ||
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-1) 0%, var(--wp--preset--color--theme-4) 100%)", | ||
"name": "Gradient 5" | ||
}, | ||
{ | ||
"slug": "gradient-2-4", | ||
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-1) 0%, var(--wp--preset--color--theme-5) 100%)", | ||
"name": "Gradient 6" | ||
}, | ||
{ | ||
"slug": "gradient-2-5", | ||
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-1) 0%, var(--wp--preset--color--theme-3) 100%)", | ||
"name": "Gradient 7" | ||
}, | ||
{ | ||
"slug": "gradient-3-4", | ||
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-4) 0%, var(--wp--preset--color--theme-5) 100%)", | ||
"name": "Gradient 8" | ||
}, | ||
{ | ||
"slug": "gradient-3-5", | ||
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-4) 0%, var(--wp--preset--color--theme-3) 100%)", | ||
"name": "Gradient 9" | ||
}, | ||
{ | ||
"slug": "gradient-4-5", | ||
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-5) 0%, var(--wp--preset--color--theme-3) 100%)", | ||
"name": "Gradient 10" | ||
} | ||
] | ||
} | ||
}, | ||
"styles": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-1)", | ||
"text": "var(--wp--preset--color--theme-4)" | ||
}, | ||
"blocks": { | ||
"core/separator": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-4)", | ||
"text": "var(--wp--preset--color--theme-4)" | ||
} | ||
} | ||
}, | ||
"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)" | ||
} | ||
} | ||
}, | ||
"link": { | ||
"color": { | ||
"text": { | ||
"ref": "styles.color.text" | ||
} | ||
} | ||
} | ||
}, | ||
"variations": { | ||
"section-1": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-2)", | ||
"text": "var(--wp--preset--color--theme-4)" | ||
}, | ||
"blocks": { | ||
"core/paragraph": { | ||
"elements": { | ||
"link": { | ||
"color": { | ||
"text": "var(--wp--preset--color--theme-4)" | ||
} | ||
} | ||
} | ||
}, | ||
"core/separator": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-4)", | ||
"text": "var(--wp--preset--color--theme-4)" | ||
} | ||
} | ||
}, | ||
"elements": { | ||
"link": { | ||
"color": { | ||
"text": "var(--wp--preset--color--theme-4)" | ||
} | ||
}, | ||
"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-4)" | ||
} | ||
} | ||
} | ||
}, | ||
"section-2": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-4)", | ||
"text": "var(--wp--preset--color--theme-1)" | ||
}, | ||
"blocks": { | ||
"core/paragraph": { | ||
"elements": { | ||
"link": { | ||
"color": { | ||
"text": "var(--wp--preset--color--theme-1)" | ||
} | ||
} | ||
} | ||
}, | ||
"core/separator": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-1)", | ||
"text": "var(--wp--preset--color--theme-1)" | ||
} | ||
} | ||
}, | ||
"elements": { | ||
"link": { | ||
"color": { | ||
"text": "var(--wp--preset--color--theme-1)" | ||
} | ||
}, | ||
"button": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-1)", | ||
"text": "var(--wp--preset--color--theme-4)" | ||
}, | ||
":hover": { | ||
"color": { | ||
"background": "#fff", | ||
"text": "var(--wp--preset--color--theme-4)" | ||
} | ||
} | ||
}, | ||
"heading": { | ||
"color": { | ||
"text": "var(--wp--preset--color--theme-1)" | ||
} | ||
} | ||
} | ||
}, | ||
"section-3": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-3)", | ||
"text": "var(--wp--preset--color--theme-1)" | ||
}, | ||
"blocks": { | ||
"core/paragraph": { | ||
"elements": { | ||
"link": { | ||
"color": { | ||
"text": "var(--wp--preset--color--theme-1)" | ||
} | ||
} | ||
} | ||
}, | ||
"core/separator": { | ||
"color": { | ||
"background": "var(--wp--preset--color--theme-1)", | ||
"text": "var(--wp--preset--color--theme-1)" | ||
} | ||
} | ||
}, | ||
"elements": { | ||
"link": { | ||
"color": { | ||
"text": "var(--wp--preset--color--theme-1)" | ||
} | ||
}, | ||
"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-1)" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.