Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit a8010b1

Browse files
update banner colour (#2318)
Task/Issue URL: https://app.asana.com/0/414235014887631/1206297687428378/f Description: Update banner colour
1 parent 2d563fa commit a8010b1

2 files changed

Lines changed: 40 additions & 2 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"colors" : [
3+
{
4+
"color" : {
5+
"color-space" : "srgb",
6+
"components" : {
7+
"alpha" : "0.500",
8+
"blue" : "0xFF",
9+
"green" : "0xDA",
10+
"red" : "0xCC"
11+
}
12+
},
13+
"idiom" : "universal"
14+
},
15+
{
16+
"appearances" : [
17+
{
18+
"appearance" : "luminosity",
19+
"value" : "dark"
20+
}
21+
],
22+
"color" : {
23+
"color-space" : "srgb",
24+
"components" : {
25+
"alpha" : "0.500",
26+
"blue" : "0x69",
27+
"green" : "0x39",
28+
"red" : "0x24"
29+
}
30+
},
31+
"idiom" : "universal"
32+
}
33+
],
34+
"info" : {
35+
"author" : "xcode",
36+
"version" : 1
37+
}
38+
}

‎LocalPackages/SyncUI/Sources/SyncUI/Views/SyncSettingsViewExtension.swift‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,10 +313,10 @@ extension SyncSettingsView {
313313
Image("Info-Color-16")
314314
Text(UserText.syncRollOutBannerDescription)
315315
.font(.system(size: 12))
316-
.foregroundColor(.black)
316+
.foregroundColor(.primary)
317317
}
318318
.padding()
319-
.background(RoundedRectangle(cornerRadius: 8).foregroundColor(.blue10))
319+
.background(RoundedRectangle(cornerRadius: 8).foregroundColor(Color("RolloutBannerBackground")))
320320
.padding(.bottom, 10)
321321
}
322322
}

0 commit comments

Comments
 (0)