Navigation toolbar colours

This commit is contained in:
Jackson Harper
2023-12-27 11:00:37 +08:00
parent 7bd19658f4
commit 470cd5ddf2

View File

@ -282,19 +282,20 @@ struct AnimatingCellHeight: AnimatableModifier {
label: { label: {
Image Image
.selectMultiple .selectMultiple
.foregroundColor(ThemeManager.currentTheme.toolbarColor) .foregroundColor(Color.toolbarItemForeground)
} }
).foregroundColor(ThemeManager.currentTheme.toolbarColor) ).buttonStyle(.plain)
} }
if enableGrid { if enableGrid {
Button( Button(
action: { prefersListLayout.toggle() }, action: { prefersListLayout.toggle() },
label: { label: {
Image(systemName: prefersListLayout ? "square.grid.2x2" : "list.bullet") Image(systemName: prefersListLayout ? "square.grid.2x2" : "list.bullet")
.foregroundColor(ThemeManager.currentTheme.toolbarColor) .foregroundColor(Color.toolbarItemForeground)
} }
) ).buttonStyle(.plain)
} }
Button( Button(
action: { action: {
if viewModel.folder == "inbox" { if viewModel.folder == "inbox" {
@ -305,9 +306,10 @@ struct AnimatingCellHeight: AnimatableModifier {
}, },
label: { label: {
Image.addLink Image.addLink
.foregroundColor(ThemeManager.currentTheme.toolbarColor) .foregroundColor(Color.toolbarItemForeground)
} }
).tint(Color.appGrayText) ).buttonStyle(.plain)
Button( Button(
action: { action: {
searchPresented = true searchPresented = true
@ -316,9 +318,9 @@ struct AnimatingCellHeight: AnimatableModifier {
label: { label: {
Image Image
.magnifyingGlass .magnifyingGlass
.foregroundColor(ThemeManager.currentTheme.toolbarColor) .foregroundColor(Color.toolbarItemForeground)
} }
) ).buttonStyle(.plain)
} }
ToolbarItemGroup(placement: .bottomBar) { ToolbarItemGroup(placement: .bottomBar) {