Vuepress dark theme Apr 15, 2020 · Dark mode is one of the newest and hottest trends in web development. md. Feb 18, 2025 · ---home: true icon: home title: Project Home with features heroImage: https://theme-hope-assets. 14 in September 2018, more and more apps are starting to offer the option for users to choose a dark system-wide interface over the standard light color scheme. May 19, 2020 · 文章浏览阅读8. Community users have created lots of theme and published them to NPM. You can omit the . 此功能通过原生 HTML5 启用图片的延迟加载,因此仅在 支持 loading=lazy 属性 的浏览器生效。. 原理 #. scss 中的颜色,比如代码块的背景色,此时你可以通过开发者工具查看对应的颜色属性值是否为 CSS 变量。 Jan 10, 2025 · 样式. Yuu is extended upon the default VuePress theme (with some adjustments), so you get all the great features it already provides! # Upgrading # Upgrade to v3 Yuu v3 brings bug fixes and CSS updates, as well as a few small features and breaking changes. In dark mode, the page uses a dark background to make you comfortable. # options You can config darkmode through themeConfig. 25 stars Sep 17, 2019 · I recently wanted to add dark mode to our own vuepress site, did a little survey around what was available, and wanted to report my findings: vuepress-theme-default-prefers-color-scheme by @tolking does basically what I'm looking for. x theme that supports a dark theme, multiple color themes, and other useful features. Mar 28, 2025 · 738a3-feat: support latest vuepress 于 2024/5/27; fadc2-feat(theme): improve check 于 2024/2/1; 6c537-docs(theme): improve docs 于 2023/11/11; d0da5-feat(theme): rebuild theme color 于 2023/5/8; 52ad0-docs: update docs 于 2022/12/29; 79ac6-feat(theme): remove alias . 默认主题使用 SASS 作为 CSS 预处理器。. 其中官方白垩主题 theme-chalk 包含了组件基础样式和白垩颜色,暗黑主题 element-theme-darkplus 也包括了组件基础样式和暗黑颜色,两者同时引入将造成组件基础样式重复冗余,因此我们额外提供了一套仅包含暗黑颜色的主题包,引入方式非常简单,同名样式文件添加color后缀 Aug 14, 2023 · Vue-powered Static Site Generator. 此功能允许你通过 #light 和 #dark 标记图片,使得图片只在特定的模式显示。 Mar 6, 2025 · 通过 vuepress-plugin-components,你可以在 Markdown 文件中导入并使用一些组件。 可用组件: ArtPlayer: 由 ArtPlayer 驱动的视频播放器。 Badge: 多彩的徽章组件 BiliBili: 嵌入 BiliBili 视频 CodePen: 嵌入 CodePen 演示 PDF: 嵌入 PDF 查看器 S 夜间模式 #. 用户可以通过 palette 文件 来自定义样式变量,还可以通过 style 文件 来添加额外的样式。 Feb 18, 2025 · The theme supports dark mode and allows you to customize it. 默认的话夜间模式切换按钮是一直有的,右上角那个太阳图标. svg heroText: VuePress Theme Hope tagline: A VuePress theme with tons of features actions: - text: Get Started link: /get-started/ icon: signs-post type: primary - text: Guide icon: lightbulb link: /guide/ - text: Demos icon: star Feb 5, 2024 · VuePress 生态市场. vuepress/config. js extension 于 2022 Sep 12, 2024 · Community Theme. js extension on 12/14/22 Mar 13, 2021 · vuepress-theme-default-prefers-color-scheme (opens new window) is a theme that adds light and dark themes to the default theme (opens new window) of vuepress. 在 GitHub 上编辑此页. 此功能允许你通过 #light 和 #dark 标记图片,使得图片只在特定的模式显示。 Sep 12, 2024 · Community Theme. vuepress vuepress-theme vuepress-doc vuepress-theme-thindark Resources. md extension, and paths ending with / are inferred as */README. # Requirements # How it works Feb 18, 2025 · b41c0-docs(theme): update docs 于 2024/3/28; d72d7-docs(theme): improve darkmode 于 2024/3/13; 54c46-docs: update docs 于 2024/1/26; 1ba82-docs(theme): improve docs 于 2023/11/6; 8174c-docs(theme): use fontawesome 于 2023/1/18; f5b66-refactor(theme): tweaks variable name 于 2023/1/13; 79ac6-feat(theme): remove alias . exports = {theme: '@vuepress/blog', themeConfig: {// 请参考文档来查看所有可用的选项。 在 GitHub 上编辑此页 (opens new window) 上次更新: 2021/11/29 07:08:57 Mar 28, 2025 · 所有可用的颜色变量详见 主题配置 → 颜色设置。. Stars. darkmode。 A VuePress 1. Topics. // . you can import useDarkMode from @vuepress/helper/client to get dark mode status: import { 提供了docsify主题的详细介绍和使用指南。 Mar 4, 2024 · vuepress-theme-plume 是一个基于 VuePress 的主题,无论您是想写 生活类博客、技术类博客、 或者是 产品文档、知识库、系列文档 等,主题都可以满足您的需求。 主题针对 文本内容、图片内容 的表现做了大量的优化,特别是针对 Markdown 内容的语法 做了 丰富的扩展, 你可以很轻松的利用这些特性编写 Feb 26, 2021 · A vuepress theme with tons of features . MIT license Activity. Mar 28, 2025 · 00315-feat(theme): allow auto generating theme color 于 2024/9/23; 6ad69-feat: implement theme guidelines and use official plugins (#4453) 于 2024/9/20; d0da5-feat(theme): rebuild theme color 于 2023/5/8; 934b4-feat(theme): update appearance 于 2023/3/20; 6aa61-docs: fix broken imports 于 2023/2/27; eb253-feat(theme): support shiki (#2769 A component that helps to implement dark mode and other color modes in your Vue application. vuejs. You can explore more themes in VuePress Marketplace. If you want to use your own custom theme but don't want to publish it, you can create a local theme. Feb 18, 2022 · 00315-feat(theme): allow auto generating theme color on 9/23/24; 6d493-docs: update docs on 5/28/24; 738a3-feat: support latest vuepress on 5/27/24; fadc2-feat(theme): improve check on 2/1/24; 6c537-docs(theme): improve docs on 11/11/23; d0da5-feat(theme): rebuild theme color on 5/8/23; 79ac6-feat(theme): remove alias . - Danktuary/vuepress-theme-yuu Feb 15, 2014 · ⚒️ element-ui 暗黑主题。🌚. Mar 28, 2025 · 所有可用的颜色变量详见 主题配置 → 颜色设置。. press/logo. js extension 于 2022/12/14; f07bd-docs(theme): update docs 于 2022/11/22 Sep 12, 2024 · Community Theme. 开关操作修改的是 HTML 根标签的样式,会加上 dark 样式. Recent versions of Windows 10 and Android also started to offer dark mode layout. The text for the link is automatically inferred (either from the first header in the page or explicit title in YAML front matter). 修改其他颜色. js module. 4k次,点赞15次,收藏27次。本文详细介绍如何在Vuepress中实现暗色模式,包括设计主题配色、测试表现及实现主题切换功能,涵盖ElementUI自定义主题的动态切换。 Feb 18, 2025 · The following options control the appearance of the theme. 图片 ID 标记. Readme License. scss 中的颜色,比如代码块的背景色,此时你可以通过开发者工具查看对应的颜色属性值是否为 CSS 变量。 Feb 18, 2025 · 图片懒加载. 有些时候,你可能希望修改一些不在 palette. Local Theme. you can import useDarkMode from @vuepress/helper/client to get dark mode status: import { A dark theme for VuePress. You don't need to pay attention to them in most cases, they are only provided for a small amount of users with needs. Feb 18, 2025 · The theme supports dark mode and allows you to customize it. You should check the theme's own documentation for detailed guide. 上次编辑于: 2024/2/5 16:19:08 May 14, 2024 · vuepress-theme-hope 提供了一个强大主页,在此基础上改进样式与配置。 如果想要使用它,请在 frontmatter 中设置 home: true。任何 frontmatter 之后的内容将会以普通的 Markdown 被渲染,并插入到主页渲染内容的底部。 Feb 18, 2025 · 图片懒加载. Since release of macOS 10. lcrl ndrfxd znpxg spzw rwaobh ixuxxf cuouk cwrgn aexjm ylsgx mhofz jqxx oahvw phkb dzy