Blockbase: fix variables for 2 colored themes (#5241)

* fix variables for 2 colored themes

* same fix for tables css
This commit is contained in:
Maggie 2021-12-22 17:35:42 +01:00 committed by GitHub
parent 6e07073537
commit 225656c65a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -1023,7 +1023,7 @@ p.wp-block-site-tagline {
.wp-block-table.is-style-stripes figcaption,
.wp-block-table figcaption {
color: var(--wp--preset--color--primary);
color: var(--wp--custom--color--primary);
font-size: var(--wp--custom--table--figcaption--typography--font-size);
text-align: center;
}
@ -1036,7 +1036,7 @@ p.wp-block-site-tagline {
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
background-color: var(--wp--preset--color--tertiary);
background-color: var(--wp--custom--color--tertiary);
}
.wp-block-video figcaption {

View file

@ -1,7 +1,7 @@
.wp-block-table.is-style-stripes,
.wp-block-table {
figcaption { // See https://github.com/WordPress/gutenberg/issues/34650
color: var(--wp--preset--color--primary);
color: var(--wp--custom--color--primary);
font-size: var(--wp--custom--table--figcaption--typography--font-size);
text-align: center;
}
@ -18,7 +18,7 @@
.wp-block-table.is-style-stripes {
tbody {
tr:nth-child(odd) {
background-color: var(--wp--preset--color--tertiary);
background-color: var(--wp--custom--color--tertiary);
}
}
}

View file

@ -268,14 +268,14 @@
"navigation": {
"submenu": {
"border": {
"color": "var(--wp--preset--color--primary)",
"color": "var(--wp--custom--color--primary)",
"radius": "var(--wp--custom--form--border--radius)",
"style": "var(--wp--custom--form--border--style)",
"width": "var(--wp--custom--form--border--width)"
},
"color": {
"background": "var(--wp--custom--color--background)",
"text": "var(--wp--preset--color--foreground)"
"text": "var(--wp--custom--color--foreground)"
}
}
},