Skip to content

Commit

Permalink
Use default theme colors for gutters as it's better for a11y
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitaindik committed Dec 14, 2023
1 parent 709e7df commit d738826
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ const CustomStyles: React.FC = ({ children }) => {
/* Gutter of a line with deletions */
.${GUTTER_CLASS_NAME}.diff-gutter-delete {
color: ${euiTheme.colors.dangerText};
font-weight: bold;
background: rgb(255, 215, 213);
}
Expand All @@ -172,7 +171,6 @@ const CustomStyles: React.FC = ({ children }) => {
/* Gutter of a line with insertions */
.${GUTTER_CLASS_NAME}.diff-gutter-insert {
color: ${euiTheme.colors.successText};
font-weight: bold;
background: rgb(204, 255, 216);
}
Expand Down

0 comments on commit d738826

Please sign in to comment.