Lynx: Update default color palette. (#6645)

* Lynx: Remove the unused secondary color.

* Lynx: Remove the pink variation - needs more work.

* Lynx: Remove the secondary color from style variations.

* Lynx: Minor tweaks to button style in style variations blue & green.
This commit is contained in:
alaczek 2022-09-30 14:06:25 +10:00 committed by GitHub
parent 2291bed6c1
commit 30d56bd3e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 26 additions and 50 deletions

View file

@ -19,11 +19,6 @@
"color": "#385BAD",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#F7EBDD",
"name": "Secondary"
},
{
"slug": "tertiary",
"color": "#ffffff",
@ -31,5 +26,14 @@
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "10px"
}
}
}
}
}

View file

@ -26,5 +26,21 @@
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "4px",
"width": "2px",
"style": "solid",
"color": "var(--wp--preset--color--foreground)"
},
"color": {
"background": "transparent",
"text": "var(--wp--preset--color--foreground)"
}
}
}
}
}

View file

@ -9,14 +9,9 @@
"color": "#EC602E",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#ffffff",
"name": "Secondary"
},
{
"slug": "tertiary",
"color": "#FAE14C",
"color": "#ffffff",
"name": "Tertiary"
},
{
@ -37,10 +32,6 @@
"core/button": {
"border": {
"radius": "100px"
},
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--secondary)"
}
}
}

View file

@ -1,30 +0,0 @@
{
"version": 2,
"title": "Pink",
"settings": {
"color": {
"palette": [
{
"slug": "primary",
"color": "#000000",
"name": "Primary"
},
{
"slug": "foreground",
"color": "#000000",
"name": "Foreground"
},
{
"slug": "background",
"color": "#F5DAFF",
"name": "Background"
},
{
"slug": "tertiary",
"color": "#F9EAFF",
"name": "Tertiary"
}
]
}
}
}

View file

@ -19,11 +19,6 @@
"color": "#113AF5",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#FFFFFF",
"name": "Secondary"
},
{
"slug": "tertiary",
"color": "#D9D9D9",