Skip to content
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

Epi: Use shared color variations #7924

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
319 changes: 319 additions & 0 deletions epi/styles/01-pewter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,319 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
"version": 3,
"title": "Pewter",
"categories": [
"vibrant",
"warm",
"feminine",
"modern",
"portfolio"
],
"settings": {
"color": {
"palette": [
{
"color": "#fdfafa",
"name": "Color 1",
"slug": "theme-1"
},
{
"color": "#d4bbbb",
"name": "Color 2",
"slug": "theme-2"
},
{
"color": "#01616B",
"name": "Color 4",
"slug": "theme-4"
},
{
"color": "#716B66",
"name": "Color 6",
"slug": "theme-6"
},
{
"color": "#181515",
"name": "Color 5",
"slug": "theme-5"
},
{
"color": "#f7ecec",
"name": "Color 3",
"slug": "theme-3"
}
],
"duotone": [
{
"colors": [
"#01616B",
"#d4bbbb"
],
"slug": "duotone-1",
"name": "Duotone 1"
},
{
"colors": [
"#181515",
"#01616B"
],
"slug": "duotone-2",
"name": "Duotone 2"
}
],
"gradients": [
{
"slug": "gradient-text-transparent",
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-5) -50%, transparent 50%)",
"name": "Text to Transparent"
},
{
"slug": "gradient-1-2",
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-1) 0%, var(--wp--preset--color--theme-2) 100%)",
"name": "Gradient 1"
},
{
"slug": "gradient-1-3",
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-1) 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-1) 0%, var(--wp--preset--color--theme-6) 100%)",
"name": "Gradient 3"
},
{
"slug": "gradient-1-5",
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-1) 0%, var(--wp--preset--color--theme-5) 100%)",
"name": "Gradient 4"
},
{
"slug": "gradient-1-6",
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-1) 0%, var(--wp--preset--color--theme-3) 100%)",
"name": "Gradient 5"
},
{
"slug": "gradient-2-3",
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-2) 0%, var(--wp--preset--color--theme-4) 100%)",
"name": "Gradient 6"
},
{
"slug": "gradient-2-4",
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-2) 0%, var(--wp--preset--color--theme-6) 100%)",
"name": "Gradient 7"
},
{
"slug": "gradient-2-5",
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-2) 0%, var(--wp--preset--color--theme-5) 100%)",
"name": "Gradient 8"
},
{
"slug": "gradient-2-6",
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-2) 0%, var(--wp--preset--color--theme-3) 100%)",
"name": "Gradient 9"
},
{
"slug": "gradient-3-4",
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-4) 0%, var(--wp--preset--color--theme-6) 100%)",
"name": "Gradient 10"
},
{
"slug": "gradient-3-5",
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-4) 0%, var(--wp--preset--color--theme-5) 100%)",
"name": "Gradient 11"
},
{
"slug": "gradient-3-6",
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-4) 0%, var(--wp--preset--color--theme-3) 100%)",
"name": "Gradient 12"
},
{
"slug": "gradient-4-5",
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-6) 0%, var(--wp--preset--color--theme-5) 100%)",
"name": "Gradient 13"
},
{
"slug": "gradient-4-6",
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-6) 0%, var(--wp--preset--color--theme-3) 100%)",
"name": "Gradient 14"
},
{
"slug": "gradient-5-6",
"gradient": "linear-gradient(to bottom, var(--wp--preset--color--theme-5) 0%, var(--wp--preset--color--theme-3) 100%)",
"name": "Gradient 15"
}
]
}
},
"styles": {
"color": {
"background": "var(--wp--preset--color--theme-1)",
"text": "var(--wp--preset--color--theme-5)"
},
"blocks": {
"core/separator": {
"color": {
"background": "var(--wp--preset--color--theme-2)",
"text": "var(--wp--preset--color--theme-2)"
}
}
},
"elements": {
"heading": {
"color": {
"text": "var(--wp--preset--color--theme-5)"
}
},
"link": {
"color": {
"text": {
"ref": "styles.color.text"
}
}
}
},
"variations": {
"section-1": {
"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": {
"link": {
"color": {
"text": "var(--wp--preset--color--theme-5)"
}
},
"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)"
}
}
}
},
"section-2": {
"color": {
"background": "var(--wp--preset--color--theme-6)",
"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)"
}
}
}
},
"section-3": {
"color": {
"background": "var(--wp--preset--color--theme-5)",
"text": "var(--wp--preset--color--theme-2)"
},
"blocks": {
"core/paragraph": {
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--theme-2)"
}
}
}
},
"core/separator": {
"color": {
"background": "var(--wp--preset--color--theme-2)",
"text": "var(--wp--preset--color--theme-2)"
}
}
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--theme-3)"
}
},
"button": {
"color": {
"background": "var(--wp--preset--color--theme-4)",
"text": "var(--wp--preset--color--theme-1)"
},
":hover": {
"color": {
"background": "var(--wp--preset--color--theme-3)",
"text": "var(--wp--preset--color--theme-5)"
}
}
},
"heading": {
"color": {
"text": "var(--wp--preset--color--theme-3)"
}
}
}
}
}
}
}
Loading
Loading