Skip to content

Commit

Permalink
Merge pull request #525 from citelao/patch-1
Browse files Browse the repository at this point in the history
[Shimmer] Invert dark theme colors
  • Loading branch information
niels9001 authored Feb 13, 2024
2 parents d50095f + 29a70e7 commit ecf8343
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/Shimmer/src/Shimmer/Shimmer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ private void SetGradientStopColorsByTheme()
{
case ElementTheme.Default:
case ElementTheme.Dark:
_gradientStop1!.Color = Color.FromArgb((byte)(255 * 3.26 / 100), 255, 255, 255);
_gradientStop2!.Color = Color.FromArgb((byte)(255 * 6.05 / 100), 255, 255, 255);
_gradientStop3!.Color = Color.FromArgb((byte)(255 * 6.05 / 100), 255, 255, 255);
_gradientStop4!.Color = Color.FromArgb((byte)(255 * 3.26 / 100), 255, 255, 255);
_gradientStop1!.Color = Color.FromArgb((byte)(255 * 6.05 / 100), 255, 255, 255);
_gradientStop2!.Color = Color.FromArgb((byte)(255 * 3.26 / 100), 255, 255, 255);
_gradientStop3!.Color = Color.FromArgb((byte)(255 * 3.26 / 100), 255, 255, 255);
_gradientStop4!.Color = Color.FromArgb((byte)(255 * 6.05 / 100), 255, 255, 255);
break;
case ElementTheme.Light:
_gradientStop1!.Color = Color.FromArgb((byte)(255 * 5.37 / 100), 0, 0, 0);
Expand Down

0 comments on commit ecf8343

Please sign in to comment.