(theme: Theme)
| 34 | } |
| 35 | |
| 36 | function resolveTheme(theme: Theme): 'light' | 'dark' { |
| 37 | return theme === 'system' ? getSystemTheme() : theme |
| 38 | } |
| 39 | |
| 40 | // Initialize theme immediately to prevent flash |
| 41 | const initialTheme = getStoredTheme() |
no test coverage detected