Skip to content

Commit

Permalink
Less harsh backgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
boatbomber committed Dec 24, 2024
1 parent 7ba6897 commit bcd9abc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugin/src/App/Components/StringDiffVisualizer/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ function StringDiffVisualizer:render()
Size = UDim2.new(0, math.max(charWidth * (stop - start), charWidth * 0.4), 1, 0),
Position = UDim2.fromOffset(charWidth * start, 0),
BackgroundColor3 = theme.Diff.Remove,
BackgroundTransparency = 0.75,
BackgroundTransparency = 0.85,
BorderSizePixel = 0,
ZIndex = -1,
})
Expand Down Expand Up @@ -443,7 +443,7 @@ function StringDiffVisualizer:render()
Text = currentRichTextLines[i],
RichText = true,
BackgroundColor3 = theme.Diff.Remove,
BackgroundTransparency = if lineDiffs then 0.85 else 1,
BackgroundTransparency = if lineDiffs then 0.95 else 1,
BorderSizePixel = 0,
FontFace = theme.Font.Code,
TextSize = theme.TextSize.Code,
Expand Down Expand Up @@ -494,7 +494,7 @@ function StringDiffVisualizer:render()
Size = UDim2.new(0, math.max(charWidth * (stop - start), charWidth * 0.4), 1, 0),
Position = UDim2.fromOffset(charWidth * start, 0),
BackgroundColor3 = theme.Diff.Add,
BackgroundTransparency = 0.75,
BackgroundTransparency = 0.85,
BorderSizePixel = 0,
ZIndex = -1,
})
Expand Down Expand Up @@ -527,7 +527,7 @@ function StringDiffVisualizer:render()
Text = incomingRichTextLines[i],
RichText = true,
BackgroundColor3 = theme.Diff.Add,
BackgroundTransparency = if lineDiffs then 0.85 else 1,
BackgroundTransparency = if lineDiffs then 0.95 else 1,
BorderSizePixel = 0,
FontFace = theme.Font.Code,
TextSize = theme.TextSize.Code,
Expand Down

0 comments on commit bcd9abc

Please sign in to comment.