Make WordPress Core

Ticket #61562: 61562.2.patch

File 61562.2.patch, 2.9 KB (added by viralsampat, 2 months ago)

I have updated my patch. Also, I have resolved the text color not changed when we changed the background color issue.

  • src/wp-content/themes/twentytwentyone/assets/css/style-editor.css

    diff --git src/wp-content/themes/twentytwentyone/assets/css/style-editor.css src/wp-content/themes/twentytwentyone/assets/css/style-editor.css
    index d6f1bd7819..7ad5fb6f48 100644
    h6, 
    11801180        margin-bottom: calc(0.333 * var(--global--spacing-vertical));
    11811181}
    11821182
     1183.wp-block-latest-posts__list.has-background.has-text-color a.wp-block-latest-posts__post-title{
     1184        color: inherit;
     1185}
     1186
    11831187.wp-block-latest-posts .wp-block-latest-posts__post-author {
    11841188        color: var(--global--color-primary);
    11851189        font-size: var(--global--font-size-md);
    11861190        line-height: var(--global--line-height-body);
    11871191}
    11881192
     1193.wp-block-latest-posts.has-text-color .wp-block-latest-posts__post-author{
     1194        color: inherit;
     1195}
     1196
     1197.wp-block-latest-posts__list.has-background.has-text-color .wp-block-latest-posts__post-author{
     1198        color: inherit;
     1199}
     1200
    11891201.wp-block-latest-posts .wp-block-latest-posts__post-date {
    11901202        color: var(--global--color-primary);
    11911203        font-size: var(--global--font-size-xs);
    11921204        line-height: var(--global--line-height-body);
    11931205}
    11941206
     1207.wp-block-latest-posts.has-text-color .wp-block-latest-posts__post-date{
     1208        color: inherit;
     1209}
     1210
     1211.wp-block-latest-posts__list.has-background.has-text-color .wp-block-latest-posts__post-date{
     1212        color: inherit;
     1213}
     1214
    11951215[class*=inner-container] .wp-block-latest-posts .wp-block-latest-posts__post-date,
    11961216.has-background .wp-block-latest-posts .wp-block-latest-posts__post-date {
    11971217        color: currentColor;
  • src/wp-content/themes/twentytwentyone/style.css

    diff --git src/wp-content/themes/twentytwentyone/style.css src/wp-content/themes/twentytwentyone/style.css
    index 45600e20fc..c9276817e1 100644
    h6, 
    24572457        margin-bottom: 0;
    24582458}
    24592459
     2460.wp-block-latest-posts__list.has-background.has-text-color a.wp-block-latest-posts__post-title{
     2461        color: inherit;
     2462}
     2463
    24602464.wp-block-latest-posts .wp-block-latest-posts__post-author {
    24612465        color: var(--global--color-primary);
    24622466        font-size: var(--global--font-size-md);
    24632467        line-height: var(--global--line-height-body);
    24642468}
    24652469
     2470.wp-block-latest-posts.has-text-color .wp-block-latest-posts__post-author{
     2471        color: inherit;
     2472}
     2473
     2474.wp-block-latest-posts__list.has-background.has-text-color .wp-block-latest-posts__post-author{
     2475        color: inherit;
     2476}
     2477
    24662478.wp-block-latest-posts .wp-block-latest-posts__post-date {
    24672479        color: var(--global--color-primary);
    24682480        font-size: var(--global--font-size-xs);
    24692481        line-height: var(--global--line-height-body);
    24702482}
    24712483
     2484.wp-block-latest-posts.has-text-color .wp-block-latest-posts__post-date{
     2485        color: inherit;
     2486}
     2487
     2488.wp-block-latest-posts__list.has-background.has-text-color .wp-block-latest-posts__post-date{
     2489        color: inherit;
     2490}
     2491
    24722492[class*=inner-container] .wp-block-latest-posts .wp-block-latest-posts__post-date,
    24732493.has-background .wp-block-latest-posts .wp-block-latest-posts__post-date {
    24742494        color: currentColor;