| 1 |
.has-foreground-color { |
| 2 |
/* no suggestion */ |
| 3 |
color: var(--wp--preset--color--foreground, #000) !important; |
| 4 |
} |
| 5 |
|
| 6 |
.has-foreground-background-color { |
| 7 |
/* no suggestion */ |
| 8 |
background-color: var(--wp--preset--color--foreground, #000) !important; |
| 9 |
} |
| 10 |
|
| 11 |
.has-background-color { |
| 12 |
/* no suggestion */ |
| 13 |
color: var(--wp--preset--color--background, #fff) !important; |
| 14 |
} |
| 15 |
|
| 16 |
.has-background-background-color { |
| 17 |
/* no suggestion */ |
| 18 |
background-color: var(--wp--preset--color--background, #fff) !important; |
| 19 |
} |
| 20 |
|
| 21 |
.has-primary-color { |
| 22 |
/* no suggestion */ |
| 23 |
color: var(--wp--preset--color--primary, #4b5563) !important; |
| 24 |
} |
| 25 |
|
| 26 |
.has-primary-background-color { |
| 27 |
/* no suggestion */ |
| 28 |
background-color: var(--wp--preset--color--primary, #4b5563) !important; |
| 29 |
} |
| 30 |
|
| 31 |
.has-secondary-color { |
| 32 |
/* no suggestion */ |
| 33 |
color: var(--wp--preset--color--secondary, #9ca3af) !important; |
| 34 |
} |
| 35 |
|
| 36 |
.has-secondary-background-color { |
| 37 |
/* no suggestion */ |
| 38 |
background-color: var(--wp--preset--color--secondary, #9ca3af) !important; |
| 39 |
} |
| 40 |
|
| 41 |
/* Ensure themes that target specific elements use the right colors */ |
| 42 |
.ext.has-text-color p, |
| 43 |
.ext.has-text-color h1, |
| 44 |
.ext.has-text-color h2, |
| 45 |
.ext.has-text-color h3, |
| 46 |
.ext.has-text-color h4, |
| 47 |
.ext.has-text-color h5, |
| 48 |
.ext.has-text-color h6 { |
| 49 |
/* no suggestion */ |
| 50 |
color: currentColor; |
| 51 |
} |
| 52 |
|
| 53 |
.has-white-color { |
| 54 |
/* no suggestion */ |
| 55 |
color: var(--wp--preset--color--white, #fff) !important; |
| 56 |
} |
| 57 |
|
| 58 |
.has-black-color { |
| 59 |
/* no suggestion */ |
| 60 |
color: var(--wp--preset--color--black, #000) !important; |
| 61 |
} |
| 62 |
|
| 63 |
.has-ext-foreground-background-color { |
| 64 |
/* no suggestion */ |
| 65 |
background-color: var( |
| 66 |
--wp--preset--color--foreground, |
| 67 |
var(--wp--preset--color--black, #000) |
| 68 |
) !important; |
| 69 |
} |
| 70 |
|
| 71 |
.has-ext-primary-background-color { |
| 72 |
/* no suggestion */ |
| 73 |
background-color: var( |
| 74 |
--wp--preset--color--primary, |
| 75 |
var(--wp--preset--color--cyan-bluish-gray, #000) |
| 76 |
) !important; |
| 77 |
} |
| 78 |
|
| 79 |
/* Fix button borders with specified background colors */ |
| 80 |
.wp-block-button__link.has-black-background-color { |
| 81 |
/* no suggestion */ |
| 82 |
border-color: var(--wp--preset--color--black, #000); |
| 83 |
} |
| 84 |
|
| 85 |
.wp-block-button__link.has-white-background-color { |
| 86 |
/* no suggestion */ |
| 87 |
border-color: var(--wp--preset--color--white, #fff); |
| 88 |
} |
| 89 |
|