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
2 changed files with 9 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

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