Comments (1)
I didn't find anything built in so I just put some SCSS together that works for my needs:
@media (prefers-color-scheme: dark) {
.v-md-editor {
background-color: transparent !important;
}
.v-md-editor.v-md-editor--edit {
background-color: transparent;
}
.v-md-editor__toolbar {
background-color: transparent;
color: white;
}
.v-md-textarea-editor textarea{
background-color: transparent;
color: white !important;
}
.vuepress-markdown-body {
background-color: transparent !important;;
color: white !important;
}
}
At the same time, I am going to look into whether there is a version of the Vue-Press theme that already deal with the 'prefers dark mode' media selector.
In general, would there be any interest in adding dark mode as an option, either for the editor or an updated Vue-Press theme?
from vue-markdown-editor.
Related Issues (20)
- 进行xss过滤时产生的错误
- 预览能不能支持识别 ** ✓ ** 并显示为加粗 HOT 2
- 上传后的图片要怎么删除呢? HOT 1
- 2.3.17版本,使用github主题会出现报错
- 使用preview, 图片不显示 HOT 4
- 没有键盘事件
- katex插件无法识别空格前后带空格的公式
- Vulnerability through mermaid dependency
- 复制按钮没反应,而且加了复制之后显示行数消失 HOT 2
- nuxt3使用generate打包报错,createLineNumbertPlugin is not a function HOT 2
- 渲染mermaid图时,出现渲染出来的图形元素的id是相同的,导致重叠。请各位帮忙看看 HOT 3
- 英文引号在右侧预览框内会变成中文引号 HOT 1
- 预览组件不在markdown语法内的html标签没法不渲染
- 像这样的内容会渲染不出来 HOT 1
- Firefox viewer HOT 1
- 可以获取纯文本内容吗
- vue2 引入了Katex 插件 但是不起作用 HOT 2
- echarts图表如何显示
- 如何自定义主题 HOT 1
- 复制过来的内容,导致样式异常
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-markdown-editor.