Blockbase: Allow themes to inherit core gradients unless they define their own (#4818)

This commit is contained in:
Ben Dwyer 2021-10-12 15:07:56 +01:00 committed by GitHub
parent 63ca3f7ac3
commit 7e8d716641
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 27 additions and 37 deletions

View file

@ -37,7 +37,6 @@
"customWidth": true
},
"color": {
"gradients": [],
"palette": [
{
"slug": "primary",

View file

@ -13,7 +13,6 @@
],
"settings": {
"color": {
"gradients": [],
"palette": [
{
"slug": "primary",

View file

@ -45,7 +45,6 @@
"customWidth": true
},
"color": {
"gradients": [],
"palette": [
{
"slug": "primary",

View file

@ -21,7 +21,6 @@
],
"settings": {
"color": {
"gradients": [ ],
"palette": [
{
"slug": "foreground",

View file

@ -45,7 +45,6 @@
"customWidth": true
},
"color": {
"gradients": [],
"palette": [
{
"slug": "foreground",

View file

@ -13,7 +13,6 @@
],
"settings": {
"color": {
"gradients": [],
"palette": [
{
"slug": "primary",

View file

@ -45,7 +45,6 @@
"customWidth": true
},
"color": {
"gradients": [],
"palette": [
{
"slug": "primary",

View file

@ -41,6 +41,33 @@
"customWidth": true
},
"color": {
"palette": [
{
"slug": "primary",
"color": "#3C8067",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#336D58",
"name": "Secondary"
},
{
"slug": "foreground",
"color": "#333333",
"name": "Foreground"
},
{
"slug": "background",
"color": "#ffffff",
"name": "Background"
},
{
"slug": "tertiary",
"color": "#FAFBF6",
"name": "tertiary"
}
],
"gradients": [
{
"slug": "hard-diagonal",
@ -78,33 +105,6 @@
"slug": "stripe",
"gradient": "linear-gradient(to bottom, transparent 20%, #3C8067 20%, #3C8067 80%, transparent 80%)"
}
],
"palette": [
{
"slug": "primary",
"color": "#3C8067",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#336D58",
"name": "Secondary"
},
{
"slug": "foreground",
"color": "#333333",
"name": "Foreground"
},
{
"slug": "background",
"color": "#ffffff",
"name": "Background"
},
{
"slug": "tertiary",
"color": "#FAFBF6",
"name": "tertiary"
}
]
},
"custom": {

View file

@ -3,7 +3,6 @@
"version": 1,
"settings": {
"color": {
"gradients": [],
"duotone": [
{
"colors": [ "#000", "#B9FB9C" ],

View file

@ -37,7 +37,6 @@
"customWidth": true
},
"color": {
"gradients": [],
"palette": [
{
"slug": "primary",

View file

@ -37,7 +37,6 @@
"customWidth": true
},
"color": {
"gradients": [],
"palette": [
{
"slug": "foreground",