Skip to content

Commit

Permalink
Use semi-transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
simurai committed Jan 2, 2023
1 parent e1341a0 commit 1be76bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,10 @@ function getTheme({ theme, name }) {
"editorGutter.addedBackground" : color.success.muted,
"editorGutter.deletedBackground" : color.danger.muted,

"diffEditor.insertedLineBackground": color.diffBlob.addition.lineBg,
"diffEditor.insertedTextBackground": color.diffBlob.addition.textBg,
"diffEditor.removedLineBackground" : color.diffBlob.deletion.lineBg,
"diffEditor.removedTextBackground" : color.diffBlob.deletion.textBg,
"diffEditor.insertedLineBackground": lightDark(alpha(scale.green[1], 0.3), alpha(scale.green[5], 0.15)),
"diffEditor.insertedTextBackground": lightDark(alpha(scale.green[2], 0.5), alpha(scale.green[3], 0.3)),
"diffEditor.removedLineBackground" : lightDark(alpha(scale.red[1], 0.3), alpha(scale.red[5], 0.15)),
"diffEditor.removedTextBackground" : lightDark(alpha(scale.red[3], 0.4), alpha(scale.red[3], 0.3)),

"scrollbar.shadow" : alpha(scale.gray[5], 0.2),
"scrollbarSlider.background" : alpha(scale.gray[4], 0.2),
Expand Down

0 comments on commit 1be76bb

Please sign in to comment.