mirror of
				https://github.com/skidoodle/albert.lol.git
				synced 2025-02-15 06:09:15 +01:00 
			
		
		
		
	.fix themeswitcher button
This commit is contained in:
		@@ -20,15 +20,15 @@ export const ThemeSwitcher = () => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  return (
 | 
					  return (
 | 
				
			||||||
    <button
 | 
					    <button
 | 
				
			||||||
      aria-label='Toggle Dark Mode'
 | 
					      aria-label='Switch Theme'
 | 
				
			||||||
      type='button'
 | 
					      type='button'
 | 
				
			||||||
      className='focus:outline-none bg-none xs:bg-gray-200 xs:dark:bg-gray-800 rounded-lg p-3 h-10 w-10 flex items-center justify-center ml-auto'
 | 
					      className='mr-5 mt-5 flex ml-auto'
 | 
				
			||||||
      onClick={() => toggle()}
 | 
					      onClick={() => toggle()}
 | 
				
			||||||
    >
 | 
					    >
 | 
				
			||||||
      {theme === 'light' ? (
 | 
					      {theme === 'light' ? (
 | 
				
			||||||
        <BsMoonFill style={{ fill: 'black' }} size={300} />
 | 
					        <BsMoonFill style={{ fill: 'black' }} size={25} />
 | 
				
			||||||
      ) : (
 | 
					      ) : (
 | 
				
			||||||
        <BsSunFill size={300} />
 | 
					        <BsSunFill size={25} />
 | 
				
			||||||
      )}
 | 
					      )}
 | 
				
			||||||
    </button>
 | 
					    </button>
 | 
				
			||||||
  );
 | 
					  );
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user