import { Center, IconButton, VStack } from '@chakra-ui/react'; import { Circle } from 'lucide-react'; import React from 'react'; import { getColorThemes } from '../layout/theme/color-themes'; import userOptionsStore from '../stores/UserOptionsStore'; import { useIsMobile } from './contexts/MobileContext'; import { toolbarButtonZIndex } from './toolbar/Toolbar'; export function ThemeSelectionOptions() { const children = []; const isMobile = useIsMobile(); for (const theme of getColorThemes()) { children.push( userOptionsStore.selectTheme(theme.name)} size="xs" icon={ } bg="transparent" borderRadius="50%" // Ensures the button has a circular shape stroke="transparent" color="transparent" _hover={{ svg: { transition: 'stroke 0.3s ease-in-out', // Smooth transition effect }, }} zIndex={toolbarButtonZIndex} />, ); } return (
{children}
); }