diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css index 275cd0c3..caebbeb1 100644 --- a/docs/.vitepress/theme/custom.css +++ b/docs/.vitepress/theme/custom.css @@ -66,3 +66,29 @@ body { .dark .dark-netlify { display: inline; } + +/* Add Aaron's favorite pic from Artemis II to the hero section because it's cool. */ +.dark .VPHome::before { + content: ''; + background-image: url('/assets/art002e009298.jpg'); + opacity: 50%; + position: absolute; + width: 100vw; + height: 110vh; + background-size: cover; + background-position: 90%; + pointer-events: none; +} +.dark .VPHome::after { + content: ''; + position: absolute; + width: 100vw; + height: 10vh; + top: 100vh; + background: linear-gradient(to bottom, transparent, var(--vp-c-bg)); + pointer-events: none; + z-index: 0; +} +.item { + z-index: 1; +} diff --git a/docs/assets/art002e009298.jpg b/docs/assets/art002e009298.jpg new file mode 100644 index 00000000..1360e489 Binary files /dev/null and b/docs/assets/art002e009298.jpg differ diff --git a/packages/wxt/src/core/utils/manifest.ts b/packages/wxt/src/core/utils/manifest.ts index a0e3b059..5ce6fdd7 100644 --- a/packages/wxt/src/core/utils/manifest.ts +++ b/packages/wxt/src/core/utils/manifest.ts @@ -311,7 +311,7 @@ function addEntrypoints( if (options) { const page = getEntrypointBundlePath(options, wxt.config.outDir, '.html'); manifest.options_ui = { - open_in_tab: options.options.openInTab, + open_in_tab: options.options.openInTab ?? false, // @ts-expect-error: Not typed by @wxt-dev/browser, but supported by Firefox browser_style: wxt.config.browser === 'firefox'