hunk.code_window: function useDarkMode(defaultValue?: boolean): UseDarkModeOutput {
     const getPrefersScheme = (): boolean => {
       // Prevents SSR issues
       if (typeof window !== "undefined") {
         return window.matchMedia(COLOR_SCHEME_QUERY).matches;
       }
  
hunk.labels: keep keep keep replace keep keep keep
hunk.after_edit:     if (process.browser) {
  
hunk.file_path: lib/core/browser/useDarkMode.tsx
hunk.type: replace
file: -- AlterTable
  ALTER TABLE "users" ADD COLUMN     "locale" TEXT;
  