Refactor damus color references

This commit is contained in:
William Casarin
2023-03-27 12:38:59 -04:00
parent e11147b217
commit eabf37e35c
17 changed files with 47 additions and 46 deletions

View File

@@ -30,7 +30,7 @@ struct MutedEventView: View {
var MutedBox: some View {
ZStack {
RoundedRectangle(cornerRadius: 20)
.foregroundColor(Color("DamusAdaptableGrey"))
.foregroundColor(DamusColors.adaptableGrey)
HStack {
Text("Post from a user you've blocked", comment: "Text to indicate that what is being shown is a post from a user who has been blocked.")

View File

@@ -20,7 +20,7 @@ struct ZapEvent: View {
if zap.private_request != nil {
Image(systemName: "lock.fill")
.foregroundColor(Color("DamusGreen"))
.foregroundColor(DamusColors.green)
.help(NSLocalizedString("Only you can see this message and who sent it.", comment: "Help text on green lock icon that explains that only the current user can see the message of a zap event and who sent the zap."))
}
}