\r\n \u003C/a>\r\n \u003C/nav>\r\n \u003C/header>\r\n\u003C/template>\r\n```\r\n\r\n\n\n### Reproduction\n\n\r\nhttps://github.com/vuejs/vitepress/assets/36221207/cb78fbb6-8ae3-482e-8c37-063fcc7e441d\r\n\r\n\n\n### Expected behavior\n\nA way to switch themes in a custom theme:\r\n\r\nThe theme color of the page switches automatically when the isDark value is changed.\r\n\r\nOr provide a method to actively modify.\r\n\r\nThanks❤️\n\n### System Info\n\n```sh\nSystem:\r\n OS: macOS 13.3.1\r\n CPU: (8) arm64 Apple M1 Pro\r\n Memory: 45.83 MB / 16.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 16.17.0 - /usr/local/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 9.1.2 - /usr/local/bin/npm\r\n pnpm: 8.6.12 - /usr/local/bin/pnpm\r\n Browsers:\r\n Chrome: 116.0.5845.96\r\n Safari: 16.4\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2884],{"name":2868,"color":2869},2830,"closed","How to toggle dark theme in custom theme?","2023-08-30T00:04:14Z","https://github.com/vuejs/vitepress/issues/2830",0.66133714,{"description":2892,"labels":2893,"number":2895,"owner":2874,"repository":2875,"state":2886,"title":2896,"updated_at":2897,"url":2898,"score":2899},"### Describe the bug\n\nI only configured the theme color configuration of normal mode as follows, but when I switched to dark mode, the theme color was still overwritten by the custom color. \r\n\r\n\r\n\n\n### Reproduction\n\nsee Describe the bug\n\n### Expected behavior\n\nIsn't the color of dark mode undefined and shouldn't be used by default with vitepress\n\n### System Info\n\n```Text\nSystem:\r\n OS: macOS 14.2\r\n CPU: (8) arm64 Apple M1\r\n Memory: 89.67 MB / 8.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node\r\n Yarn: 1.22.19 - ~/.yarn/bin/yarn\r\n npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm\r\n pnpm: 8.6.0 - ~/Library/pnpm/pnpm\r\n bun: 1.0.0 - ~/.bun/bin/bun\r\n Browsers:\r\n Chrome: 120.0.6099.109\r\n Edge: 119.0.2151.46\r\n Safari: 17.2\r\n npmPackages:\r\n vitepress: 1.0.0-rc.31 => 1.0.0-rc.31\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2894],{"name":2868,"color":2869},3341,"Dark mode display issue after setting the accent color","2023-12-23T00:04:24Z","https://github.com/vuejs/vitepress/issues/3341",0.6662434,{"description":2901,"labels":2902,"number":2904,"owner":2874,"repository":2875,"state":2886,"title":2905,"updated_at":2906,"url":2907,"score":2908},"### Describe the bug\n\nIn MPA mode with default theme, can't toggle dark/light mode and can't copy code when click copy button。\n\n### Reproduction\n\nany md file can reproduction\n\n### Expected behavior\n\nIn MPA mode, can toggle dark/light mode and copy code.\n\n### System Info\n\n```shell\nwindows vitepress@1.0.0-alpha.60\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2903],{"name":2868,"color":2869},2092,"Theme default can't toggle dark/light mode or copy code in MPA mode","2023-03-24T00:04:11Z","https://github.com/vuejs/vitepress/issues/2092",0.68440425,{"description":2910,"labels":2911,"number":2913,"owner":2874,"repository":2875,"state":2886,"title":2914,"updated_at":2915,"url":2916,"score":2917},"### Describe the bug\n\nnot a bug, but not sure how to do this! thanks\n\n### Reproduction\n\nthe title shows as \"Title | Title\" on home\n\n### Expected behavior\n\njust show \"Title\"\n\n### System Info\n\n```sh\nnpx envinfo --system --npmPackages vitepress --binaries --browsers\r\n\r\n\r\nNeed to install the following packages:\r\n envinfo@7.10.0\r\nOk to proceed? (y) y\r\n\r\n System:\r\n OS: macOS 13.4.1\r\n CPU: (8) arm64 Apple M2\r\n Memory: 111.17 MB / 24.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 20.4.0 - /opt/homebrew/bin/node\r\n Yarn: 1.22.19 - /opt/homebrew/bin/yarn\r\n npm: 9.7.2 - /opt/homebrew/bin/npm\r\n pnpm: 8.6.5 - ~/.nvm/versions/node/v16.15.1/bin/pnpm\r\n Browsers:\r\n Brave Browser: 114.1.52.130\r\n Safari: 16.5.2\r\n npmPackages:\r\n vitepress: 1.0.0-beta.7 => 1.0.0-beta.7\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2912],{"name":2868,"color":2869},2729,"how to make the title show just \"Title\" on home instead of \"Title | Title\"","2023-08-12T00:04:41Z","https://github.com/vuejs/vitepress/issues/2729",0.6905388,{"description":2919,"labels":2920,"number":2922,"owner":2874,"repository":2875,"state":2886,"title":2923,"updated_at":2924,"url":2925,"score":2926},"### Describe the bug\r\n\r\nOn setting frontmatter like below, the page title is still changed to `Home | foo`. It works fine if `home: true` is removed.\r\n\r\n```md\r\n---\r\nhome: true\r\n# ...\r\ntitle: ' '\r\n---\r\n```\r\n\r\nExpected title to be `foo` instead. (`foo` is set as `title` in `.vitepress/config.ts`, using `DefaultTheme`.)\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/coc)\r\n- [X] Read the [docs](https://vitepress.vuejs.org/).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2921],{"name":2868,"color":2869},492,"`title: x` is not respected if `home: true`","2023-01-21T16:20:14Z","https://github.com/vuejs/vitepress/issues/492",0.7122976,{"description":2928,"labels":2929,"number":2934,"owner":2874,"repository":2875,"state":2886,"title":2935,"updated_at":2936,"url":2937,"score":2938},"TL;DR: In Safari/Webkit 15.2, `rgba(0,0,0,0)` is rendered as a transparent black and the top nav-bar \"frost\" gradient is dark/looks bad on light-mode accordingly\r\n\r\n----\r\n\r\n### Describe the bug\r\n\r\nWhen accessing a Vitepress page in Safari's v15.2 in light mode, a noticeable black bar appears at the top of the page when scrolling. It seems likely that this issue is related to a CSS or browser quirk specific to Safari since it looks beautiful in chrome and non-webkit browsers\r\n\r\nOn chrome, the scroll shadow looks like this ✅:\r\n\r\n\r\n\r\nOn safari, the scroll shadow looks like this ❌:\r\n\r\n\r\n\r\n\r\nLooks frost on Firefox & friends:\r\n\r\n\u003Cimg width=\"1552\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/1396559/8f0d7742-ee44-4f0a-8cea-6e090651df15\">\r\n\r\n\r\n### Reproduction\r\n\r\nOpen any Vitepress with scrolling content in Safari in light mode: https://vitepress.dev/guide/getting-started\r\n\r\n\r\n\r\n### Expected behavior\r\n\r\nExpect: light mode in Safari should have a \"frost\"/white shadow rather than the dark bar \r\n\r\n### System Info\r\n\r\nhttps://github.com/vuejs/vitepress/blob/85bd7e845ab37862d68d2506f0b693dafc236a7a/src/client/theme-default/components/VPNavBar.vue#L222\r\n\r\n```Text\r\nn/a\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nGood test site for Safari: https://vitepress.dev/guide/getting-started\r\n\r\n\u003Cimg width=\"1552\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/1396559/50268366-66c8-4e68-a7aa-0af204b4794c\">\r\n\r\n\r\n### Validations\r\n\r\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.dev).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2930,2933],{"name":2931,"color":2932},"theme","0754FB",{"name":2871,"color":2872},3223,"Black Bar Appears at Top Default Theme pages in Safari Light Mode","2024-01-08T00:04:51Z","https://github.com/vuejs/vitepress/issues/3223",0.7198896,{"description":2940,"labels":2941,"number":2942,"owner":2874,"repository":2875,"state":2886,"title":2943,"updated_at":2944,"url":2945,"score":2946},"### Describe the bug\n\ncontent 部分没有 overflow:hidden 导致很长的滚动条(也有可能是我的图片太大?)\r\n\r\n[github here](https://github.com/Mt-Youya/DeepLearning-500-questions)\r\n\r\n[site here](https://deeplearning-500-questions.pages.dev/zh-cn/ch02_%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0%E5%9F%BA%E7%A1%80/%E7%AC%AC%E4%BA%8C%E7%AB%A0_%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0%E5%9F%BA%E7%A1%80.html)\n\n### Reproduction\n\n我fork 别人的仓库,不是我自己写的, 它原本用的是 docsify 我想提个pr用vitepress 试试,然后就出现了这个bug\n\n### Expected behavior\n\n没有滚动条\n\n### System Info\n\n```Text\nVersion 122.0.6261.112 (Official Build) (64-bit)\r\nwin11\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[],3644,"CSS bug","2024-03-19T00:07:30Z","https://github.com/vuejs/vitepress/issues/3644",0.72373396,{"description":2948,"labels":2949,"number":2951,"owner":2874,"repository":2875,"state":2886,"title":2952,"updated_at":2953,"url":2954,"score":2955},"### Describe the bug\n\nPreviously, I matched my document website with the color scheme of the original theme. Now that the new theme has been changed to purple, the overall look has become very unattractive. \r\n\r\nI have two options now: \r\n1. Do not upgrade,\r\n2. Upgrade to fix other issues, but keep the color scheme unchanged.\n\n### Reproduction\n\nN/A\n\n### Expected behavior\n\nHow to keep the color scheme unchanged while upgrading to the latest version?\n\n### System Info\n\n```sh\nN/A\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2950],{"name":2868,"color":2869},2783,"Configure the original theme color scheme","2023-08-21T00:04:11Z","https://github.com/vuejs/vitepress/issues/2783",0.7246574,{"description":2957,"labels":2958,"number":2960,"owner":2874,"repository":2875,"state":2886,"title":2961,"updated_at":2962,"url":2963,"score":2964},"\u003C!--\r\nNOTE:\r\nVitePress is still WIP, and it is not compatible with VuePress.\r\nPlease do not open issue about default theme missing features or something doesn't work like VuePress.\r\n-->\r\n\r\n**Describe the bug** \r\n\r\nWhen the page title is `21E08`. And after build, It will goes as `210000000`. It was treated as scientific notation number \r\n\r\n**To Reproduce** \r\n\r\nSet page frontmatter like next\r\n\r\n```yaml\r\n---\r\ntitle: 21E08\r\nsubtitle: \"xxxxx\"\r\ndate: 2021-03-05\r\ncategory: \"xxx\"\r\n---\r\n```\r\n\r\n**Expected behavior** \r\n\r\nExpect the title will be treated as string not the number\r\n\r\n**System Info** \r\n- vitepress v0.11.3\r\n- vite v2.0.0-beta.30\r\n- Node version: v15.4.0\r\n- OS version: Big Sur 11.0.1 (20B29)\r\n\r\n",[2959],{"name":2868,"color":2869},255,"Markdown Page Title Parse Error","2023-01-21T16:22:29Z","https://github.com/vuejs/vitepress/issues/255",0.727852,["Reactive",2966],{},["Set"],["ShallowReactive",2969],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f6OQRwDgl-k9DQO25zKrhmHZeBwTSugrNg1f8IDJTJS4":-1},"/vuejs/vitepress/3214"]