- Preparing search index...
- The search index is not available
@fold-dev/core
- useTheme(): {
getColorToken: ((token) => string);
getStoredTheme: (() => string);
getSystemTheme: (() => "light" | "dark");
getToken: ((token) => string);
removeTheme: ((theme) => void);
setTheme: ((theme) => void);
systemTheme: any;
}
-
Returns {
getColorToken: ((token) => string);
getStoredTheme: (() => string);
getSystemTheme: (() => "light" | "dark");
getToken: ((token) => string);
removeTheme: ((theme) => void);
setTheme: ((theme) => void);
systemTheme: any;
}
-
getColorToken: ((token) => string)
-
- (token): string
-
Returns string
-
getStoredTheme: (() => string)
-
- (): string
-
Returns string
-
getSystemTheme: (() => "light" | "dark")
-
- (): "light" | "dark"
-
Returns "light" | "dark"
-
getToken: ((token) => string)
-
- (token): string
-
Returns string
-
removeTheme: ((theme) => void)
-
- (theme): void
-
Returns void
-
setTheme: ((theme) => void)
-
- (theme): void
-
Returns void
-
systemTheme: any