This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
// Metro module 4125 (f4126).
import { ThemeTypes } from "../Constants";
import { useThemeContext } from "../design/shared";
export function useTheme() {
return useThemeContext().theme;
}
export default useTheme;
export function useThemeIndex() {
const theme = useThemeContext().theme;
return ThemeTypes.DARK !== theme ? ThemeTypes.LIGHT === theme ? 1 : void 0 : 0;
}
export function getThemeIndex(a0) {
if (ThemeTypes.DARK === a0) {
return 0;
}
if (ThemeTypes.LIGHT === a0) {
return 1;
}
}