Ticket #49931: 49931.diff
File 49931.diff, 1.3 KB (added by , 18 months ago) |
---|
-
src/wp-content/themes/twentynineteen/style-editor.scss
168 168 } 169 169 } 170 170 171 // Use white text against these backgrounds by default .171 // Use white text against these backgrounds by default, unless a custom text color is set. 172 172 .has-primary-background-color, 173 173 .has-secondary-background-color, 174 174 .has-dark-gray-background-color, 175 175 .has-light-gray-background-color { 176 color: $color__background-body; 176 &:not(.has-text-color) { 177 color: $color__background-body; 177 178 178 p, 179 h1, 180 h2, 181 h3, 182 h4, 183 h5, 184 h6, 185 a { 186 color: $color__background-body; 179 p, 180 h1, 181 h2, 182 h3, 183 h4, 184 h5, 185 h6, 186 a { 187 color: $color__background-body; 188 } 187 189 } 188 190 } 189 191 190 // Use dark gray text against this background by default .192 // Use dark gray text against this background by default, unless a custom text color is set. 191 193 .has-white-background-color { 192 color: $color__text-main; 194 &:not(.has-text-color) { 195 color: $color__text-main; 193 196 194 p, 195 h1, 196 h2, 197 h3, 198 h4, 199 h5, 200 h6, 201 a { 202 color: $color__text-main; 197 p, 198 h1, 199 h2, 200 h3, 201 h4, 202 h5, 203 h6, 204 a { 205 color: $color__text-main; 206 } 203 207 } 204 208 } 205 209