Make WordPress Core


Ignore:
Timestamp:
12/22/2020 03:00:49 PM (4 years ago)
Author:
desrosj
Message:

Twenty Twenty-One: Improve striped table styling in Dark Mode.

This change improves the display of table blocks with the “Stripes” style selected.

Previously, the text was not visible in striped rows when using Dark Mode.

Props ryelle, poena, melchoyce, celendesign, audrasjb.
Fixes #52129.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/assets/sass/style-dark-mode.scss

    r49726 r49864  
    1212        --button--color-background-active: var(--global--color-background);
    1313        --global--color-border: #9ea1a7;
     14
     15        /* Block: Table */
     16        --table--stripes-border-color: rgba(240, 240, 240, 0.15);
     17        --table--stripes-background-color: rgba(240, 240, 240, 0.15);
    1418
    1519        .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button),
Note: See TracChangeset for help on using the changeset viewer.