Closes #20122: Improve text contrast on highlighted changes

This commit is contained in:
Jeremy Stretch 2025-08-22 13:45:40 -04:00
parent 6b3b4b3193
commit 353b0576cd
2 changed files with 8 additions and 4 deletions

Binary file not shown.

View File

@ -12,11 +12,13 @@ pre.change-data {
min-width: fit-content; min-width: fit-content;
&.added { &.added {
background-color: $green; color: var(--tblr-dark);
background-color: $green-300;
} }
&.removed { &.removed {
background-color: $red; color: var(--tblr-dark);
background-color: $red-300;
} }
} }
} }
@ -26,11 +28,13 @@ pre.change-diff {
border-color: transparent; border-color: transparent;
&.change-added { &.change-added {
background-color: $green; color: var(--tblr-dark);
background-color: $green-300;
} }
&.change-removed { &.change-removed {
background-color: $red; color: var(--tblr-dark);
background-color: $red-300;
} }
} }