mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Colors for toolbar items
This commit is contained in:
parent
e31101f5e9
commit
7bd19658f4
3 changed files with 43 additions and 3 deletions
|
|
@ -94,7 +94,7 @@
|
|||
label: {
|
||||
Image
|
||||
.toolbarTrash
|
||||
.foregroundColor(ThemeManager.currentTheme.toolbarColor)
|
||||
.foregroundColor(Color.toolbarItemForeground)
|
||||
}
|
||||
).padding(.trailing, 5)
|
||||
|
||||
|
|
@ -105,11 +105,11 @@
|
|||
if audioController.itemAudioProperties?.isArchived ?? false {
|
||||
Image
|
||||
.toolbarUnarchive
|
||||
.foregroundColor(ThemeManager.currentTheme.toolbarColor)
|
||||
.foregroundColor(Color.toolbarItemForeground)
|
||||
} else {
|
||||
Image
|
||||
.toolbarArchive
|
||||
.foregroundColor(ThemeManager.currentTheme.toolbarColor)
|
||||
.foregroundColor(Color.toolbarItemForeground)
|
||||
}
|
||||
}
|
||||
).padding(.trailing, 5)
|
||||
|
|
|
|||
|
|
@ -36,6 +36,8 @@ public extension Color {
|
|||
static var themeLabelForeground: Color { Color("_labelForeground", bundle: .module) }
|
||||
static var themeLabelBackground: Color { Color("_labelBackground", bundle: .module) }
|
||||
|
||||
static var toolbarItemForeground: Color { Color("toolbarItemForeground", bundle: .module) }
|
||||
|
||||
static var themeAudioPlayerGray: Color { Color("_audioPlayerGray", bundle: .module) }
|
||||
static var themeGrayBg01: Color { Color("_themeGrayBg01", bundle: .module) }
|
||||
static var themeHighlightColor: Color { Color("_highlightColor", bundle: .module) }
|
||||
|
|
|
|||
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"colors" : [
|
||||
{
|
||||
"color" : {
|
||||
"color-space" : "srgb",
|
||||
"components" : {
|
||||
"alpha" : "1.000",
|
||||
"blue" : "0x3C",
|
||||
"green" : "0x3C",
|
||||
"red" : "0x3C"
|
||||
}
|
||||
},
|
||||
"idiom" : "universal"
|
||||
},
|
||||
{
|
||||
"appearances" : [
|
||||
{
|
||||
"appearance" : "luminosity",
|
||||
"value" : "dark"
|
||||
}
|
||||
],
|
||||
"color" : {
|
||||
"color-space" : "srgb",
|
||||
"components" : {
|
||||
"alpha" : "1.000",
|
||||
"blue" : "0xD9",
|
||||
"green" : "0xD9",
|
||||
"red" : "0xD9"
|
||||
}
|
||||
},
|
||||
"idiom" : "universal"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue