diff --git a/Sources/LyrebirdShoeGazeUI/PedalCategory.swift b/Sources/LyrebirdShoeGazeUI/PedalCategory.swift index 7b4c9dd..28f7f12 100644 --- a/Sources/LyrebirdShoeGazeUI/PedalCategory.swift +++ b/Sources/LyrebirdShoeGazeUI/PedalCategory.swift @@ -10,6 +10,7 @@ import SwiftUI /// drive the "filter by type" menu. Purely a UI concern: the mapping from a pedal's `displayName` /// to its category lives here, keyed by name like ``PedalPaletteView``'s preferred order. public enum PedalCategory: String, CaseIterable, Identifiable, Sendable { + case amp = "Amp Model" case gain = "Gain" case dynamics = "Dynamics" case filter = "EQ & Filter" @@ -24,6 +25,7 @@ public enum PedalCategory: String, CaseIterable, Identifiable, Sendable { /// Accent colour used to tint the palette card and the filter chip. var color: Color { switch self { + case .amp: return Color(red: 0.70, green: 0.45, blue: 0.18) // warm valve-glow copper case .gain: return Color(red: 0.82, green: 0.38, blue: 0.12) case .dynamics: return Color(red: 0.20, green: 0.50, blue: 0.32) case .filter: return Color(red: 0.14, green: 0.46, blue: 0.55) @@ -42,7 +44,8 @@ public enum PedalCategory: String, CaseIterable, Identifiable, Sendable { } private static let mapping: [String: PedalCategory] = [ - "California": .gain, "British": .gain, "Chime": .gain, "Fullerton Reverb": .gain, "Jazz Clean": .gain, "Chime Top Boost": .gain, "Neural Amp": .gain, "Overdrive": .gain, "Distortion": .gain, "Fuzz": .gain, "Volume": .gain, + "California": .amp, "British": .amp, "Chime": .amp, "Fullerton Reverb": .amp, "Jazz Clean": .amp, "Chime Top Boost": .amp, "Neural Amp": .amp, + "Overdrive": .gain, "Distortion": .gain, "Fuzz": .gain, "Volume": .gain, "Compressor": .dynamics, "Sustainer": .dynamics, "Limiter": .dynamics, "Noise Gate": .dynamics, "Graphic EQ": .filter, "Auto-Wah": .filter, "Wah": .filter, "Mutant": .filter, "Cabinet": .filter,