Skip to content

Commit

Permalink
Darkens the tip background
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoreymendez committed Nov 22, 2024
1 parent cd57672 commit 3554610
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "0.030",
"blue" : "0x00",
"green" : "0x00",
"red" : "0x00"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "0.030",
"blue" : "0xFF",
"green" : "0xFF",
"red" : "0xFF"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public struct TunnelControllerView: View {

TipView(tipsModel.autoconnectTip, action: tipsModel.autoconnectTipActionHandler)
.tipImageSize(VPNTipsModel.imageSize)
.tipBackground(Color(.onboardingStepBackground))
.padding(.horizontal, 9)
.padding(.vertical, 6)
}
Expand All @@ -72,6 +73,7 @@ public struct TunnelControllerView: View {

TipView(tipsModel.domainExclusionsTip)
.tipImageSize(VPNTipsModel.imageSize)
.tipBackground(Color(.onboardingStepBackground))
.padding(.horizontal, 9)
.padding(.vertical, 6)
}
Expand Down Expand Up @@ -206,6 +208,7 @@ public struct TunnelControllerView: View {

TipView(tipsModel.geoswitchingTip)
.tipImageSize(VPNTipsModel.imageSize)
.tipBackground(Color(.onboardingStepBackground))
.padding(.horizontal, 9)
.padding(.vertical, 6)
}
Expand Down

0 comments on commit 3554610

Please sign in to comment.