dark mode support almost completed

This commit is contained in:
Mauro Romito
2022-10-06 18:21:50 +02:00
parent 92d1bcba54
commit df7a66788d
2 changed files with 3 additions and 2 deletions
@@ -36,7 +36,7 @@ struct FormattingToolbar: View {
.foregroundColor(item.active ? theme.colors.accent : theme.colors.tertiaryContent)
}
.disabled(item.disabled)
.background(item.active ? theme.colors.accent.opacity(0.1) : Color.white) // TODO get correct color for light accent
.background(item.active ? theme.colors.accent.opacity(0.1) : theme.colors.background)
.cornerRadius(8)
.accessibilityIdentifier(item.accessibilityIdentifier)
}