hunk.code_window: })
   const style = computed(() => ({
     'height': `${slideHeight}px`,
     'width': `${slideWidth}px`,
     'transform': `translate(-50%, -50%) scale(${scale.value})`,
     '--slidev-slide-scale': scale.value,
   }))
  
hunk.labels: keep keep keep replace replace keep keep keep
hunk.after_edit:   'height': `${slideHeight.value}px`,
     'width': `${slideWidth.value}px`,
  
hunk.file_path: packages/client/internals/SlideContainer.vue
hunk.type: replace
file: import { computed } from 'vue'
  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.
  export const slideHeight = Math.ceil(slideWidth / slideAspect)
  
  export const themeVars = computed(() => {
    return objectMap(configs.themeConfig || {}, (k, v) => [`--slidev-theme-${k}`, v])
  })
  