hunk.code_window: import { objectMap } from '@antfu/utils'
   import configs from '#slidev/configs'
   export { configs }
   export const slideAspect = configs.aspectRatio ?? (16 / 9)
   export const slideWidth = configs.canvasWidth ?? 980
   // To honor the aspect ratio more as possible, we need to approximate the height to the next integer.
   // Doing this, we will prevent on print, to create an additional empty white page after each page.
  
hunk.labels: keep keep keep keep keep replace replace keep keep keep
hunk.after_edit: export const slideAspect = ref(configs.aspectRatio ?? (16 / 9))
   export const slideWidth = ref(configs.canvasWidth ?? 980)
  
hunk.file_path: packages/client/env.ts
hunk.type: replace
file: <script setup lang="ts">
  import { isDark, toggleDark } from '@slidev/client/logic/dark.ts'
  </script>
  
  <template>
    <button
      class="bg-primary rounded border-b-2 border-green-900 text-sm px-2 pt-1.5 pb-1 inline-block !outline-none hover:bg-opacity-85"
      @click="toggleDark"
    >
      <div class="flex">
        <carbon:moon v-if="isDark" />
        <carbon:sun v-else />
        <span class="mr-1 ml-2">{{ isDark ? 'Dark' : 'Light' }}</span>
      </div>
    </button>
  </template>
  