markdown-up 4.0.3 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/app.js +0 -1
- package/package.json +2 -2
package/lib/app.js
CHANGED
|
@@ -152,7 +152,6 @@ export class MarkdownUp {
|
|
|
152
152
|
|
|
153
153
|
// Set the colors
|
|
154
154
|
const isDarkMode = this.paramsLocal.darkMode ?? this.darkMode;
|
|
155
|
-
this.window.document.documentElement.style.setProperty('--barescript-dark-mode', isDarkMode ? '1' : '0');
|
|
156
155
|
this.window.document.documentElement.style.colorScheme = isDarkMode ? 'dark' : 'light';
|
|
157
156
|
|
|
158
157
|
// Set the font size
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "markdown-up",
|
|
4
|
-
"version": "4.0
|
|
4
|
+
"version": "4.1.0",
|
|
5
5
|
"description": "MarkdownUp is a Markdown viewer",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"markdown",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"test": "node --test test/"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"bare-script": "~4.
|
|
25
|
+
"bare-script": "~4.2",
|
|
26
26
|
"element-model": "~1.2",
|
|
27
27
|
"schema-markdown": "~1.2"
|
|
28
28
|
},
|