Update theme toggle functionality and UI components
Implemented a new ModeToggle feature for theme switching in personal account dropdown. The changes also made adjustments to several UI components, such as transforming Dialog to AlertDialog in transfer-ownership-dialog, and introducing invitation-submit-button in team-accounts. Some minor amendments include text changes and styling modifications.
This commit is contained in:
@@ -40,7 +40,7 @@ function getClassName() {
|
||||
const theme = themeCookie ?? appConfig.theme;
|
||||
const dark = theme === 'dark';
|
||||
|
||||
return cn('antialiased', {
|
||||
return cn('min-h-screen bg-background antialiased', {
|
||||
dark,
|
||||
[sans.className]: true,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user