Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Update Pilgrimage style varation: colors, gradients #201

Merged
merged 4 commits into from
Oct 10, 2022
Merged
Changes from 2 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
50 changes: 32 additions & 18 deletions styles/pilgrimage.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@
"name": "Secondary to Primary",
"slug": "secondary-primary"
},
{
"gradient": "linear-gradient(180deg, var(--wp--preset--color--primary) 0%,var(--wp--preset--color--tertiary) 100%)",
"name": "Tertiary to Secondary",
"slug": "tertiary-secondary"
},
{
"gradient": "linear-gradient(180deg, var(--wp--preset--color--tertiary) 0%,var(--wp--preset--color--primary) 100%)",
"name": "Tertiary to Primary",
"slug": "tertiary-primary"
},
{
"gradient": "linear-gradient(180deg, var(--wp--preset--color--base) 0%,var(--wp--preset--color--primary) 350%)",
"name": "Base to Primary",
Expand Down Expand Up @@ -65,7 +75,7 @@
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--primary)"
"text": "var(--wp--preset--color--tertiary)"
}
}
}
Expand All @@ -76,7 +86,7 @@
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--primary)"
"text": "var(--wp--preset--color--tertiary)"
},
"typography": {
"textDecoration": "underline"
Expand All @@ -90,7 +100,7 @@
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--primary)"
"text": "var(--wp--preset--color--tertiary)"
}
}
}
Expand Down Expand Up @@ -135,11 +145,8 @@
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--primary)"
"text": "var(--wp--preset--color--tertiary)"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
}
Expand All @@ -163,12 +170,17 @@
}
}
},
"core/post-featured-image": {
"filter": {
"duotone": "var(--wp--preset--duotone--default-filter)"
}
},
"core/post-title": {
"elements": {
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--primary)"
"text": "var(--wp--preset--color--tertiary)"
},
"typography": {
"textDecoration": "underline"
Expand All @@ -191,7 +203,7 @@
},
"core/separator": {
"color": {
"text": "var(--wp--preset--color--primary)"
"text": "var(--wp--preset--color--secondary)"
}
},
"core/site-title": {
Expand All @@ -206,9 +218,6 @@
}
}
},
"color": {
"gradient": "var(--wp--preset--gradient--base-primary)"
},
"elements": {
"button": {
":active": {
Expand Down Expand Up @@ -270,18 +279,23 @@
}
},
"link": {
":active": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
":hover": {
"color": {
"text": "var(--wp--preset--color--primary)"
"text":"var(--wp--preset--color--tertiary)"
}
},
":hover": {
":focus": {
"color": {
"text":"var(--wp--preset--color--primary)"
"text":"var(--wp--preset--color--tertiary)"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
":active": {
"color": {
"text": "var(--wp--preset--color--tertiary)"
}
}
}
}
Expand Down