@@ -61,7 +61,7 @@ const MobileOpeningPopup: React.FC<MobileOpeningPopupProps> = ({
6161
6262 return (
6363 < div className = "fixed inset-0 z-50 flex items-center justify-center bg-black/50" >
64- < div className = "mx-4 w-full max-w-sm rounded-lg bg-background-1 p-4" >
64+ < div className = "from-white/8 to-white/4 mx-4 w-full max-w-sm rounded-lg border border-white/10 bg-gradient-to-br p-4 backdrop-blur-md " >
6565 < div className = "mb-4" >
6666 < h3 className = "text-lg font-bold" > { opening . name } </ h3 >
6767 { variation && (
@@ -90,10 +90,10 @@ const MobileOpeningPopup: React.FC<MobileOpeningPopupProps> = ({
9090 < div className = "flex gap-2" >
9191 < button
9292 onClick = { ( ) => setSelectedColor ( 'white' ) }
93- className = { `flex items-center gap-2 rounded px-3 py-2 text-sm transition-colors ${
93+ className = { `flex items-center gap-2 rounded border px-3 py-2 text-sm transition-colors ${
9494 selectedColor === 'white'
95- ? 'bg-human-4 text-white'
96- : 'bg-background-2 hover:bg-background-3 '
95+ ? 'border-white/20 bg-white/10 text-white'
96+ : 'border-white/10 bg-white/5 text-white/90 hover:bg-white/10 '
9797 } `}
9898 >
9999 < div className = "relative h-4 w-4" >
@@ -107,10 +107,10 @@ const MobileOpeningPopup: React.FC<MobileOpeningPopupProps> = ({
107107 </ button >
108108 < button
109109 onClick = { ( ) => setSelectedColor ( 'black' ) }
110- className = { `flex items-center gap-2 rounded px-3 py-2 text-sm transition-colors ${
110+ className = { `flex items-center gap-2 rounded border px-3 py-2 text-sm transition-colors ${
111111 selectedColor === 'black'
112- ? 'bg-human-4 text-white'
113- : 'bg-background-2 hover:bg-background-3 '
112+ ? 'border-white/20 bg-white/10 text-white'
113+ : 'border-white/10 bg-white/5 text-white/90 hover:bg-white/10 '
114114 } `}
115115 >
116116 < div className = "relative h-4 w-4" >
@@ -129,21 +129,21 @@ const MobileOpeningPopup: React.FC<MobileOpeningPopupProps> = ({
129129 < div className = "flex gap-2" >
130130 < button
131131 onClick = { onClose }
132- className = "flex-1 rounded bg-background-2 py-2 text-sm font-medium transition-colors hover:bg-background-3 "
132+ className = "flex-1 rounded border border-white/10 bg-white/5 py-2 text-sm font-medium text-white/90 backdrop-blur-sm transition-colors hover:bg-white/10 "
133133 >
134134 Cancel
135135 </ button >
136136 { isSelected ? (
137137 < button
138138 onClick = { onRemove }
139- className = "flex-1 rounded bg-human-4 py-2 text-sm font-medium transition-colors"
139+ className = "flex-1 rounded border border-white/10 bg-white/5 py-2 text-sm font-medium text-white backdrop-blur-sm transition-colors hover:bg-white/10 "
140140 >
141141 Remove
142142 </ button >
143143 ) : (
144144 < button
145145 onClick = { ( ) => onAdd ( selectedColor ) }
146- className = "flex-1 rounded bg-human-4 py-2 text-sm font-medium transition-colors hover:bg-human-4/80 "
146+ className = "flex-1 rounded border border-white/10 bg-white/5 py-2 text-sm font-medium text-white backdrop-blur-sm transition-colors hover:bg-white/10 "
147147 >
148148 Add Drill
149149 </ button >
@@ -273,7 +273,7 @@ const BrowsePanel: React.FC<{
273273 placeholder = "Search openings..."
274274 value = { searchTerm }
275275 onChange = { ( e ) => setSearchTerm ( e . target . value ) }
276- className = "w-full rounded bg-background-2 py-2 pl-10 pr-4 text-sm text-primary placeholder-secondary focus:outline-none focus:ring-1 focus:ring-human-4 "
276+ className = "w-full rounded border border-white/10 bg-white/5 py-2 pl-10 pr-4 text-sm text-white placeholder-white/60 backdrop-blur-sm focus:outline-none focus:ring-1 focus:ring-white/20 "
277277 />
278278 </ div >
279279 </ div >
@@ -296,13 +296,13 @@ const BrowsePanel: React.FC<{
296296 className = { `group transition-colors ${
297297 isMobile
298298 ? openingIsSelected
299- ? 'bg-human-2/20 '
299+ ? 'bg-white/5 '
300300 : ''
301301 : openingIsSelected
302- ? 'bg-human-2/20 '
302+ ? 'bg-white/5 '
303303 : openingIsBeingPreviewed
304- ? 'bg-human-2/10 '
305- : 'hover:bg-human-2/10 '
304+ ? 'bg-white/5 '
305+ : 'hover:bg-white/5 '
306306 } `}
307307 >
308308 < div className = "flex items-center" >
@@ -352,7 +352,7 @@ const BrowsePanel: React.FC<{
352352 e . stopPropagation ( )
353353 removeOpeningSelection ( opening , null )
354354 } }
355- className = "mr-3 rounded p-1 text-human-3 transition-colors hover:text-human-4 "
355+ className = "mr-3 rounded p-1 text-white/70 transition-colors hover:text-white "
356356 title = "Remove opening from selection"
357357 >
358358 < span className = "material-symbols-outlined !text-base" >
@@ -391,13 +391,13 @@ const BrowsePanel: React.FC<{
391391 className = { `group transition-colors ${
392392 isMobile
393393 ? variationIsSelected
394- ? 'bg-human-2/20 '
394+ ? 'bg-white/5 '
395395 : ''
396396 : variationIsSelected
397- ? 'bg-human-2/20 '
397+ ? 'bg-white/5 '
398398 : variationIsBeingPreviewed
399- ? 'bg-human-2/10 '
400- : 'hover:bg-human-2/10 '
399+ ? 'bg-white/5 '
400+ : 'hover:bg-white/5 '
401401 } `}
402402 >
403403 < div className = "flex items-center" >
@@ -446,7 +446,7 @@ const BrowsePanel: React.FC<{
446446 e . stopPropagation ( )
447447 removeOpeningSelection ( opening , variation )
448448 } }
449- className = "mr-3 rounded p-1 text-human-3 transition-colors hover:text-human-4 "
449+ className = "mr-3 rounded p-1 text-white/70 transition-colors hover:text-white "
450450 title = "Remove variation from selection"
451451 >
452452 < span className = "material-symbols-outlined !text-base" >
@@ -533,10 +533,10 @@ const PreviewPanel: React.FC<{
533533 < div className = "flex gap-2" >
534534 < button
535535 onClick = { ( ) => setSelectedColor ( 'white' ) }
536- className = { `flex items-center gap-2 rounded px-2 py-1 text-xs transition-colors md:px-3 md:py-2 md:text-sm ${
536+ className = { `flex items-center gap-2 rounded border px-2 py-1 text-xs transition-colors md:px-3 md:py-2 md:text-sm ${
537537 selectedColor === 'white'
538- ? 'bg-human-4 text-white'
539- : 'bg-background-2 hover:bg-background-3 '
538+ ? 'border-white/20 bg-white/10 text-white'
539+ : 'border-white/10 bg-white/5 text-white/90 hover:bg-white/10 '
540540 } `}
541541 >
542542 < div className = "relative h-4 w-4 md:h-5 md:w-5" >
@@ -550,10 +550,10 @@ const PreviewPanel: React.FC<{
550550 </ button >
551551 < button
552552 onClick = { ( ) => setSelectedColor ( 'black' ) }
553- className = { `flex items-center gap-2 rounded px-2 py-1 text-xs transition-colors md:px-3 md:py-2 md:text-sm ${
553+ className = { `flex items-center gap-2 rounded border px-2 py-1 text-xs transition-colors md:px-3 md:py-2 md:text-sm ${
554554 selectedColor === 'black'
555- ? 'bg-human-4 text-white'
556- : 'bg-background-2 hover:bg-background-3 '
555+ ? 'border-white/20 bg-white/10 text-white'
556+ : 'border-white/10 bg-white/5 text-white/90 hover:bg-white/10 '
557557 } `}
558558 >
559559 < div className = "relative h-4 w-4 md:h-5 md:w-5" >
@@ -585,11 +585,11 @@ const PreviewPanel: React.FC<{
585585 </ div >
586586 </ div >
587587
588- < div className = "flex-shrink-0 border-t border-white/10 bg-background-1 p-3 md:p-4" >
588+ < div className = "flex-shrink-0 border-t border-white/10 p-3 md:p-4" >
589589 < button
590590 onClick = { addSelection }
591591 disabled = { isDuplicateSelection ( previewOpening , previewVariation ) }
592- className = "w-full rounded bg-human-4 py-2 text-sm font-medium transition-colors hover:bg-human-4/80 disabled:cursor-not-allowed disabled:opacity-50"
592+ className = "w-full rounded border border-white/10 bg-white/5 py-2 text-sm font-medium text-white backdrop-blur-sm transition-colors hover:bg-white/10 disabled:cursor-not-allowed disabled:opacity-50"
593593 title = {
594594 isDuplicateSelection ( previewOpening , previewVariation )
595595 ? 'Already added with same settings'
@@ -690,7 +690,7 @@ const SelectedPanel: React.FC<{
690690 }
691691 } }
692692 onClick = { ( ) => removeSelection ( selection . id ) }
693- className = "ml-2 text-secondary transition-colors hover:text-human-4 "
693+ className = "ml-2 text-secondary transition-colors hover:text-white "
694694 >
695695 < span className = "material-symbols-outlined !text-lg" >
696696 close
@@ -704,7 +704,7 @@ const SelectedPanel: React.FC<{
704704 </ div >
705705
706706 { /* Fixed button section - always visible */ }
707- < div className = "flex-shrink-0 border-t border-white/10 bg-background-1 p-3 md:p-4" >
707+ < div className = "flex-shrink-0 border-t border-white/10 p-3 md:p-4" >
708708 { /* Opponent Selection */ }
709709 < div className = "mb-3 md:mb-4" >
710710 < p className = "mb-1 text-xs font-medium md:mb-2 md:text-sm" > Opponent:</ p >
@@ -718,7 +718,7 @@ const SelectedPanel: React.FC<{
718718 setSelectedMaiaVersion ( version )
719719 }
720720 } }
721- className = "w-full rounded bg-background-2 p-2 text-xs focus:outline-none md:text-sm"
721+ className = "w-full rounded border border-white/10 bg-white/5 p-2 text-xs text-white/90 backdrop-blur-sm focus:outline-none focus:ring-1 focus:ring-white/20 md:text-sm"
722722 >
723723 { MAIA_MODELS_WITH_NAMES . map ( ( version ) => (
724724 < option key = { version . id } value = { version . id } >
@@ -750,7 +750,7 @@ const SelectedPanel: React.FC<{
750750 < button
751751 onClick = { handleStartDrilling }
752752 disabled = { selections . length === 0 }
753- className = "w-full rounded bg-human-4 py-2 text-sm font-medium transition-colors hover:bg-human-4/80 disabled:cursor-not-allowed disabled:opacity-50"
753+ className = "w-full rounded border border-white/10 bg-white/5 py-2 text-sm font-medium text-white backdrop-blur-sm transition-colors hover:bg-white/10 disabled:cursor-not-allowed disabled:opacity-50"
754754 >
755755 Start Drilling ({ selections . length } opening
756756 { selections . length !== 1 ? 's' : '' } )
@@ -1058,8 +1058,17 @@ export const OpeningSelectionModal: React.FC<Props> = ({
10581058 initial = { { opacity : 0 } }
10591059 animate = { { opacity : 1 } }
10601060 exit = { { opacity : 0 } }
1061- className = "relative flex h-[90vh] max-h-[900px] w-[98vw] max-w-[1400px] flex-col items-start justify-start overflow-hidden rounded-lg bg-background-1 shadow-2xl md:h-[90vh]"
1061+ className = "from-white/8 to-white/4 relative flex h-[90vh] max-h-[900px] w-[98vw] max-w-[1400px] flex-col items-start justify-start overflow-hidden rounded-lg border border-white/10 bg-gradient-to-br backdrop-blur-md md:h-[90vh]"
10621062 >
1063+ < div
1064+ className = "pointer-events-none absolute inset-0"
1065+ style = { {
1066+ background : [
1067+ 'radial-gradient(ellipse 90% 80% at 0% 100%, rgba(239, 68, 68, 0.10) 0%, transparent 72%)' ,
1068+ 'radial-gradient(ellipse 90% 80% at 100% 0%, rgba(239, 68, 68, 0.08) 0%, transparent 72%)' ,
1069+ ] . join ( ', ' ) ,
1070+ } }
1071+ />
10631072 { /* Close Button - Top Right of Modal */ }
10641073 < button
10651074 onClick = { onClose }
@@ -1081,7 +1090,7 @@ export const OpeningSelectionModal: React.FC<Props> = ({
10811090 </ h1 >
10821091 < button
10831092 type = "button"
1084- className = "material-symbols-outlined text-lg text-secondary duration-200 hover:text-human-3 focus:outline-none"
1093+ className = "material-symbols-outlined text-lg text-secondary duration-200 hover:text-white focus:outline-none"
10851094 onClick = { handleStartTour }
10861095 title = "Start tour"
10871096 >
0 commit comments