Closes #20122: Improve text contrast on highlighted changes (#20161)
Some checks are pending
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run

* Closes #20122: Improve text contrast on highlighted changes

* Fix indentation
This commit is contained in:
Jeremy Stretch 2025-08-22 15:34:22 -04:00 committed by GitHub
parent 6b3b4b3193
commit d5e49c8cb0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;
} }
} }