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

@@ -50,11 +50,11 @@ struct FollowButtonView: View {
}
func filledTextColor() -> Color {
colorScheme == .light ? Color("DamusWhite") : Color("DamusBlack")
colorScheme == .light ? DamusColors.white : DamusColors.black
}
func fillColor() -> Color {
colorScheme == .light ? Color("DamusBlack") : Color("DamusWhite")
colorScheme == .light ? DamusColors.black : DamusColors.white
}
func emptyColor() -> Color {
@@ -62,7 +62,7 @@ struct FollowButtonView: View {
}
func borderColor() -> Color {
colorScheme == .light ? Color("DamusDarkGrey") : Color("DamusLightGrey")
colorScheme == .light ? DamusColors.darkGrey : DamusColors.lightGrey
}
}