11import React , { useState , useRef , useEffect , useCallback , useMemo } from 'react' ;
22
33const ThemeSelector = ( ) => {
4- const [ selectedTheme , setSelectedTheme ] = useState ( 'grayscale ' ) ;
4+ const [ selectedTheme , setSelectedTheme ] = useState ( 'blueprint ' ) ;
55 const [ isOpen , setIsOpen ] = useState ( false ) ;
66 const dropdownRef = useRef ( null ) ;
77
88 // Available themes - memoized to prevent recreating on each render
99 const themes = useMemo ( ( ) => [
10+ { key : 'blueprint' , label : 'BLUEPRINT' , description : 'Enhanced technical drawing style' } ,
1011 { key : 'grayscale' , label : 'GRAYSCALE' , description : 'Monospace ASCII terminal style' } ,
1112 { key : 'corporate' , label : 'CORPORATE' , description : 'Clean blue professional design' } ,
1213 { key : 'retro' , label : 'RETRO' , description : '80s neon cyberpunk aesthetic' } ,
@@ -16,7 +17,6 @@ const ThemeSelector = () => {
1617 { key : 'organic' , label : 'ORGANIC' , description : 'Earth tones natural design' } ,
1718 { key : 'high-contrast' , label : 'HIGH CONTRAST' , description : 'Accessibility black/white' } ,
1819 { key : 'pastel' , label : 'PASTEL' , description : 'Soft colors gentle design' } ,
19- { key : 'blueprint' , label : 'BLUEPRINT' , description : 'Technical drawing style' } ,
2020 ] , [ ] ) ;
2121
2222 // Define applyTheme before any useEffect that uses it
@@ -41,7 +41,7 @@ const ThemeSelector = () => {
4141
4242 useEffect ( ( ) => {
4343 // Load saved theme from localStorage
44- const savedTheme = localStorage . getItem ( 'theme' ) || 'grayscale ' ;
44+ const savedTheme = localStorage . getItem ( 'theme' ) || 'blueprint ' ;
4545 setSelectedTheme ( savedTheme ) ;
4646 applyTheme ( savedTheme ) ;
4747 } , [ applyTheme ] ) ;
0 commit comments