Set color for privacy-cells (#690)

Also: Make light blurple the dark-mode-version of blurple
This commit is contained in:
Nathan Mattes 2022-12-18 14:53:28 +01:00
parent bb4706d826
commit 18e313fbe4
2 changed files with 19 additions and 0 deletions

View File

@ -113,6 +113,7 @@ extension PrivacyTableViewController: UITableViewDataSource {
let row = viewModel.rows[indexPath.row]
var contentConfiguration = cell.defaultContentConfiguration()
contentConfiguration.textProperties.color = Asset.Colors.Brand.blurple.color
contentConfiguration.text = row.title
cell.contentConfiguration = contentConfiguration

View File

@ -11,6 +11,24 @@
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xFA",
"green" : "0x8A",
"red" : "0x85"
}
},
"idiom" : "universal"
}
],
"info" : {