()
| 2 | import { useWindowTheme } from './use-window-theme.mjs' |
| 3 | |
| 4 | export function useTheme() { |
| 5 | const config = useConfig() |
| 6 | const theme = useWindowTheme() |
| 7 | return [config.themeMode === 'auto' ? theme : config.themeMode, config] |
| 8 | } |
no test coverage detected