Fix keywords background color

This commit is contained in:
Arkadiusz Fal 2021-12-29 19:40:25 +01:00
parent ab174c73fd
commit 0af2db2fd7
2 changed files with 39 additions and 1 deletions

View File

@ -0,0 +1,38 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.824",
"green" : "0.659",
"red" : "0.455"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.824",
"green" : "0.659",
"red" : "0.455"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@ -474,7 +474,7 @@ struct VideoDetails: View {
.foregroundColor(.white) .foregroundColor(.white)
.padding(.vertical, 4) .padding(.vertical, 4)
.padding(.horizontal, 8) .padding(.horizontal, 8)
.background(Color("VideoDetailLikesSymbolColor")) .background(Color("KeywordBackgroundColor"))
.mask(RoundedRectangle(cornerRadius: 3)) .mask(RoundedRectangle(cornerRadius: 3))
} }
} }