Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions BugBazaar/Components/HeroBanner.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ struct HeroBanner: View {
bottomTrailingRadius: 28,
topTrailingRadius: 24
)
.fill(Theme.mangoOrange)
.fill(Theme.rareSpeciesCollectionGreen)
HalftoneOverlay(dotSize: 1, spacing: 4, opacity: 0.12)
.clipShape(
UnevenRoundedRectangle(
Expand All @@ -35,7 +35,7 @@ struct HeroBanner: View {
)
}
)
.shadow(color: Theme.stickerGreen.opacity(0.2), radius: 12, x: 0, y: 4)
.shadow(color: Theme.rareSpeciesCollectionGreen.opacity(0.2), radius: 12, x: 0, y: 4)
.padding(Spacing.m)
}
}
3 changes: 2 additions & 1 deletion BugBazaar/Theme.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ enum Theme {
// stickerGreen/mangoOrange intentionally match the CSS named colors
// 'blue' and 'green' used by the original React Native theme.
static let stickerGreen = Color(hex: 0x0000FF)
static let mangoOrange = Color(hex: 0x008000)
static let rareSpeciesCollectionGreen = Color(hex: 0x008000)
static let mangoOrange = rareSpeciesCollectionGreen
static let mangoYellow = Color(hex: 0xFFD500)
static let inkBlack = Color(hex: 0x080808)
static let paperWhite = Color(hex: 0xFCFCFC)
Expand Down