-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
运行报错 #3
Comments
这个错误信息我有些意想不到。
可否给出 你在使用主题时,对 |
我检查了一下dir参数,返回的值是note\不清楚为什么会这样,现在在吃饭等下回复 |
主题版本等均直接克隆的您的仓库 完整报错:
|
安装了最新的
|
改用
|
问题已定位,由于 不同系统的 posix 差异, 在 windows 下位 |
好的,麻烦大佬了 |
深色模式切换,在主题内部进行判断时,为正确进行初始化,导致了默认暗色时,错误的显示为浅色,导致 按钮交互错误。 |
问个问题哈,我看到可以 自定义样式 但是要怎么样用呀,看文档没怎么看懂,在 |
@huankong233 vuepress dev src --config .vuepress/config.ts 将 所以只需要在 |
那要不去文档里提上一嘴(小声) |
还有我想深色模式或许可以加一个遮罩会好看些,我想搞自定义样式就是为了搞这个遮罩,原来的图片有点太亮了 或者可以把我这个丢案例了() // light
html:not(.dark) .plume-home{
background-image: linear-gradient(
rgba(34, 34, 34, 0.2),
rgba(34, 34, 34, 0.2)
),
url("https://img.huankong.top/i/2023/02/07/63e1e7ee94296.png") !important;
}
// dark
html.dark .plume-home{
background-image: linear-gradient(
rgba(34, 34, 34, 0.6),
rgba(34, 34, 34, 0.6)
),
url("https://img.huankong.top/i/2023/02/07/63e1e7ee94296.png") !important;
} |
这个问题我在文档中补充说明下。 |
我在 配置中新增了 type HomeFrontmatter {
banner?: string
bannerMask?: number | { light?: number; dark?: number }
} 支持配置在 深色、浅色 模式下的不同的 蒙版不透明度。 用法如下: ---
home: true
banner: /images/background.png
bannerMask:
light: 0.2
dark: 0.5
--- |
哇,谢谢采纳 |
The text was updated successfully, but these errors were encountered: