File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
apps/xen-tg-app/src/components Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const ThemeButton = () => {
1313 < div className = "flex w-full grow gap-2.5 p-1 select-none" >
1414 < div className = "flex w-full grow flex-col items-center justify-center gap-1.5" >
1515 < button
16- className = { `flex h-20 w-full max-w-30 grow cursor-pointer items-center justify-center rounded-xl border p-1 backdrop-blur-3xl backdrop-opacity-80 select-none ${ theme === 'system' ? 'text-(--color-my-primary)' : 'text-(--color-gray-text)' } ${ theme === 'system' ? 'border-(--color-my-primary)' : 'border-(--color-gray-text)' } ` }
16+ className = { `flex h-20 w-full max-w-30 grow cursor-pointer items-center justify-center rounded-xl ${ theme === 'system' ? 'backdrop-brightness-150' : ' backdrop-brightness-100' } ${ theme === 'system' ? 'dark:backdrop-brightness-50' : 'dark:backdrop-brightness-100' } ${ theme === 'system' ? 'border-2' : 'border' } ${ theme === 'system' ? 'backdrop- blur-3xl' : 'backdrop-blur-none' } p-1 backdrop-opacity-80 select-none ${ theme === 'system' ? 'text-(--color-my-primary)' : 'text-(--color-gray-text)' } ${ theme === 'system' ? 'border-(--color-my-primary)' : 'border-(--color-gray-text)' } ` }
1717 onClick = { ( ) => setTheme ( 'system' ) }
1818 >
1919 < DesktopIcon />
@@ -22,7 +22,7 @@ const ThemeButton = () => {
2222 </ div >
2323 < div className = "flex w-full grow flex-col items-center justify-center gap-1.5" >
2424 < button
25- className = { `flex h-20 w-full max-w-30 grow cursor-pointer items-center justify-center rounded-xl border p-1 backdrop-blur-3xl backdrop-opacity-80 select-none ${ theme === 'dark' ? 'text-(--color-my-primary)' : 'text-(--color-gray-text)' } ${ theme === 'dark' ? 'border-(--color-my-primary)' : 'border-(--color-gray-text)' } ` }
25+ className = { `flex h-20 w-full max-w-30 grow cursor-pointer items-center justify-center rounded-xl ${ theme === 'dark' ? 'backdrop-brightness-150' : 'backdrop-brightness-100' } ${ theme === 'dark' ? 'dark:backdrop-brightness-50' : 'dark:backdrop-brightness-100' } ${ theme === 'dark' ? ' border-2' : 'border' } p-1 ${ theme === 'dark' ? ' backdrop-blur-3xl' : 'backdrop-blur-none' } backdrop-opacity-80 select-none ${ theme === 'dark' ? 'text-(--color-my-primary)' : 'text-(--color-gray-text)' } ${ theme === 'dark' ? 'border-(--color-my-primary)' : 'border-(--color-gray-text)' } ` }
2626 onClick = { ( ) => setTheme ( 'dark' ) }
2727 >
2828 < MoonIcon />
@@ -31,7 +31,7 @@ const ThemeButton = () => {
3131 </ div >
3232 < div className = "flex w-full grow flex-col items-center justify-center gap-1.5" >
3333 < button
34- className = { `flex h-20 w-full max-w-30 grow cursor-pointer items-center justify-center rounded-xl border p-1 backdrop-blur-3xl backdrop-opacity-80 select-none ${ theme === 'light' ? 'text-(--color-my-primary)' : 'text-(--color-gray-text)' } ${ theme === 'light' ? 'border-(--color-my-primary)' : 'border-(--color-gray-text)' } ` }
34+ className = { `flex h-20 w-full max-w-30 grow cursor-pointer items-center justify-center rounded-xl ${ theme === 'light' ? 'backdrop-brightness-150' : 'backdrop-brightness-100' } ${ theme === 'light' ? 'dark:backdrop-brightness-50' : 'dark:backdrop-brightness-100' } ${ theme === 'light' ? ' border-2' : 'border' } p-1 ${ theme === 'light' ? ' backdrop-blur-3xl' : 'backdrop-blur-none' } backdrop-opacity-80 select-none ${ theme === 'light' ? 'text-(--color-my-primary)' : 'text-(--color-gray-text)' } ${ theme === 'light' ? 'border-(--color-my-primary)' : 'border-(--color-gray-text)' } ` }
3535 onClick = { ( ) => setTheme ( 'light' ) }
3636 >
3737 < SunIcon />
You can’t perform that action at this time.
0 commit comments