WordPress.org

Make WordPress Core

Changeset 44188


Ignore:
Timestamp:
12/14/2018 07:37:23 PM (9 months ago)
Author:
laurelfulford
Message:

Twenty Ten: Custom colors should override :visited link styles on blocks.

Make sure the block editor custom colors in the theme also override the theme's :visited link styles. This prevents contrast issues, like in the button block -- when the background is dark, the purple :visited link can be difficult to read.

Fixes #45434.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-content/themes/twentyten/blocks.css

    r43869 r44188  
    205205--------------------------------------------------------------*/
    206206
    207 .has-blue-color {
     207.has-blue-color,
     208.has-blue-color:visited {
    208209    color: #0066cc;
    209210}
    210211
    211 .has-blue-background-color {
     212.has-blue-background-color,
     213.has-blue-background-color:visited {
    212214    background-color: #0066cc;
    213215}
    214216
    215 .has-black-color {
     217.has-black-color,
     218.has-black-color:visited {
    216219    color: #000;
    217220}
    218221
    219 .has-black-background-color {
     222.has-black-background-color,
     223.has-black-background-color:visited {
    220224    background-color: #000;
    221225}
    222226
    223 .has-medium-gray-color {
     227.has-medium-gray-color,
     228.has-medium-gray-color:visited {
    224229    color: #666;
    225230}
    226231
    227 .has-medium-gray-background-color {
     232.has-medium-gray-background-color,
     233.has-medium-gray-background-color:visited {
    228234    background-color: #666;
    229235}
    230236
    231 .has-light-gray-color {
     237.has-light-gray-color,
     238.has-light-gray-color:visited {
    232239    color: #f1f1f1;
    233240}
    234241
    235 .has-light-gray-background-color {
     242.has-light-gray-background-color,
     243.has-light-gray-background-color:visited {
    236244    background-color: #f1f1f1;
    237245}
    238246
    239 .has-white-color {
     247.has-white-color,
     248.has-white-color:visited {
    240249    color: #fff;
    241250}
    242251
    243 .has-white-background-color {
     252.has-white-background-color,
     253.has-white-background-color:visited {
    244254    background-color: #fff;
    245255}
Note: See TracChangeset for help on using the changeset viewer.