@@ -4,6 +4,10 @@ import React from 'react';
44// Wheat & Sunflower = cream/gold suits
55// Potato & Beet = red suits
66
7+ // Explicit colors for iOS Safari compatibility (currentColor inheritance is unreliable)
8+ const CREAM = '#e8dcc4' ;
9+ const RED = '#c41e3a' ;
10+
711// ============================================
812// Navigation Icons - Soviet themed, monochrome
913// ============================================
@@ -96,50 +100,50 @@ export function NavIcon({ type, className = '' }) {
96100}
97101
98102const WheatIcon = ( ) => (
99- < svg viewBox = "0 0 24 24" width = "24" height = "24" className = "suit-svg" >
100- < path d = "M12 2 L12 22" stroke = "currentColor" strokeWidth = "1.5" fill = "none" />
101- < ellipse cx = "9" cy = "5" rx = "2.5" ry = "1.2" transform = "rotate(-30 9 5)" fill = "currentColor" />
102- < ellipse cx = "8.5" cy = "8" rx = "2.5" ry = "1.2" transform = "rotate(-25 8.5 8)" fill = "currentColor" />
103- < ellipse cx = "9" cy = "11" rx = "2.5" ry = "1.2" transform = "rotate(-20 9 11)" fill = "currentColor" />
104- < ellipse cx = "15" cy = "5" rx = "2.5" ry = "1.2" transform = "rotate(30 15 5)" fill = "currentColor" />
105- < ellipse cx = "15.5" cy = "8" rx = "2.5" ry = "1.2" transform = "rotate(25 15.5 8)" fill = "currentColor" />
106- < ellipse cx = "15" cy = "11" rx = "2.5" ry = "1.2" transform = "rotate(20 15 11)" fill = "currentColor" />
107- < ellipse cx = "12" cy = "3" rx = "1.8" ry = "2.5" fill = "currentColor" />
103+ < svg xmlns = "http://www.w3.org/2000/svg" viewBox = "0 0 24 24" width = "24" height = "24" className = "suit-svg" >
104+ < path d = "M12 2 L12 22" stroke = { CREAM } strokeWidth = "1.5" fill = "none" />
105+ < ellipse cx = "9" cy = "5" rx = "2.5" ry = "1.2" transform = "rotate(-30 9 5)" fill = { CREAM } />
106+ < ellipse cx = "8.5" cy = "8" rx = "2.5" ry = "1.2" transform = "rotate(-25 8.5 8)" fill = { CREAM } />
107+ < ellipse cx = "9" cy = "11" rx = "2.5" ry = "1.2" transform = "rotate(-20 9 11)" fill = { CREAM } />
108+ < ellipse cx = "15" cy = "5" rx = "2.5" ry = "1.2" transform = "rotate(30 15 5)" fill = { CREAM } />
109+ < ellipse cx = "15.5" cy = "8" rx = "2.5" ry = "1.2" transform = "rotate(25 15.5 8)" fill = { CREAM } />
110+ < ellipse cx = "15" cy = "11" rx = "2.5" ry = "1.2" transform = "rotate(20 15 11)" fill = { CREAM } />
111+ < ellipse cx = "12" cy = "3" rx = "1.8" ry = "2.5" fill = { CREAM } />
108112 </ svg >
109113) ;
110114
111115const SunflowerIcon = ( ) => (
112- < svg viewBox = "0 0 24 24" width = "24" height = "24" className = "suit-svg" >
113- < circle cx = "12" cy = "10" r = "4" fill = "currentColor" />
114- < ellipse cx = "12" cy = "3" rx = "2" ry = "3" fill = "currentColor" />
115- < ellipse cx = "17" cy = "5" rx = "2" ry = "3" transform = "rotate(45 17 5)" fill = "currentColor" />
116- < ellipse cx = "19" cy = "10" rx = "3" ry = "2" fill = "currentColor" />
117- < ellipse cx = "17" cy = "15" rx = "2" ry = "3" transform = "rotate(-45 17 15)" fill = "currentColor" />
118- < ellipse cx = "12" cy = "17" rx = "2" ry = "3" fill = "currentColor" />
119- < ellipse cx = "7" cy = "15" rx = "2" ry = "3" transform = "rotate(45 7 15)" fill = "currentColor" />
120- < ellipse cx = "5" cy = "10" rx = "3" ry = "2" fill = "currentColor" />
121- < ellipse cx = "7" cy = "5" rx = "2" ry = "3" transform = "rotate(-45 7 5)" fill = "currentColor" />
122- < path d = "M12 14 L12 23" stroke = "currentColor" strokeWidth = "2" fill = "none" />
116+ < svg xmlns = "http://www.w3.org/2000/svg" viewBox = "0 0 24 24" width = "24" height = "24" className = "suit-svg" >
117+ < circle cx = "12" cy = "10" r = "4" fill = { CREAM } />
118+ < ellipse cx = "12" cy = "3" rx = "2" ry = "3" fill = { CREAM } />
119+ < ellipse cx = "17" cy = "5" rx = "2" ry = "3" transform = "rotate(45 17 5)" fill = { CREAM } />
120+ < ellipse cx = "19" cy = "10" rx = "3" ry = "2" fill = { CREAM } />
121+ < ellipse cx = "17" cy = "15" rx = "2" ry = "3" transform = "rotate(-45 17 15)" fill = { CREAM } />
122+ < ellipse cx = "12" cy = "17" rx = "2" ry = "3" fill = { CREAM } />
123+ < ellipse cx = "7" cy = "15" rx = "2" ry = "3" transform = "rotate(45 7 15)" fill = { CREAM } />
124+ < ellipse cx = "5" cy = "10" rx = "3" ry = "2" fill = { CREAM } />
125+ < ellipse cx = "7" cy = "5" rx = "2" ry = "3" transform = "rotate(-45 7 5)" fill = { CREAM } />
126+ < path d = "M12 14 L12 23" stroke = { CREAM } strokeWidth = "2" fill = "none" />
123127 </ svg >
124128) ;
125129
126130const PotatoIcon = ( ) => (
127- < svg viewBox = "0 0 24 24" width = "24" height = "24" className = "suit-svg" >
128- < path d = "M12 3 C6 3 3 8 3 12 C3 17 6 21 12 21 C18 21 21 17 21 12 C21 8 18 3 12 3 Z" fill = "currentColor" />
129- < circle cx = "8" cy = "9" r = "1" fill = "none" stroke = "currentColor" strokeWidth = "0.8" opacity = "0.6" />
130- < circle cx = "15" cy = "11" r = "0.8" fill = "none" stroke = "currentColor" strokeWidth = "0.8" opacity = "0.6" />
131- < circle cx = "10" cy = "15" r = "0.9" fill = "none" stroke = "currentColor" strokeWidth = "0.8" opacity = "0.6" />
131+ < svg xmlns = "http://www.w3.org/2000/svg" viewBox = "0 0 24 24" width = "24" height = "24" className = "suit-svg" >
132+ < path d = "M12 3 C6 3 3 8 3 12 C3 17 6 21 12 21 C18 21 21 17 21 12 C21 8 18 3 12 3 Z" fill = { RED } />
133+ < circle cx = "8" cy = "9" r = "1" fill = "none" stroke = { RED } strokeWidth = "0.8" opacity = "0.6" />
134+ < circle cx = "15" cy = "11" r = "0.8" fill = "none" stroke = { RED } strokeWidth = "0.8" opacity = "0.6" />
135+ < circle cx = "10" cy = "15" r = "0.9" fill = "none" stroke = { RED } strokeWidth = "0.8" opacity = "0.6" />
132136 </ svg >
133137) ;
134138
135139const BeetIcon = ( ) => (
136- < svg viewBox = "0 0 24 24" width = "24" height = "24" className = "suit-svg" >
137- < path d = "M12 8 C7 8 5 12 6 16 C7 19 10 22 12 22 C14 22 17 19 18 16 C19 12 17 8 12 8 Z" fill = "currentColor" />
138- < path d = "M10 8 C9 5 7 3 6 2 C8 3 10 4 11 7" fill = "currentColor" />
139- < path d = "M12 7 C12 4 12 2 12 1 C12 2 12 4 12 7" fill = "currentColor" />
140- < path d = "M14 8 C15 5 17 3 18 2 C16 3 14 4 13 7" fill = "currentColor" />
141- < path d = "M8 12 Q12 13 16 12" stroke = "currentColor" strokeWidth = "0.5" fill = "none" opacity = "0.4" />
142- < path d = "M9 15 Q12 16 15 15" stroke = "currentColor" strokeWidth = "0.5" fill = "none" opacity = "0.4" />
140+ < svg xmlns = "http://www.w3.org/2000/svg" viewBox = "0 0 24 24" width = "24" height = "24" className = "suit-svg" >
141+ < path d = "M12 8 C7 8 5 12 6 16 C7 19 10 22 12 22 C14 22 17 19 18 16 C19 12 17 8 12 8 Z" fill = { RED } />
142+ < path d = "M10 8 C9 5 7 3 6 2 C8 3 10 4 11 7" fill = { RED } />
143+ < path d = "M12 7 C12 4 12 2 12 1 C12 2 12 4 12 7" fill = { RED } />
144+ < path d = "M14 8 C15 5 17 3 18 2 C16 3 14 4 13 7" fill = { RED } />
145+ < path d = "M8 12 Q12 13 16 12" stroke = { RED } strokeWidth = "0.5" fill = "none" opacity = "0.4" />
146+ < path d = "M9 15 Q12 16 15 15" stroke = { RED } strokeWidth = "0.5" fill = "none" opacity = "0.4" />
143147 </ svg >
144148) ;
145149
0 commit comments