@docusaurus/theme-common 0.0.0-5645 → 0.0.0-5654
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.
|
@@ -16,3 +16,11 @@
|
|
|
16
16
|
[data-theme='dark'] .themedComponent--dark {
|
|
17
17
|
display: initial;
|
|
18
18
|
}
|
|
19
|
+
|
|
20
|
+
/*
|
|
21
|
+
JS disabled??? Show light version by default => better than showing nothing
|
|
22
|
+
TODO bad, but we currently always show light mode when there's no data-theme
|
|
23
|
+
*/
|
|
24
|
+
html:not([data-theme]) .themedComponent--light {
|
|
25
|
+
display: initial;
|
|
26
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/theme-common",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-5654",
|
|
4
4
|
"description": "Common code for Docusaurus themes.",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
},
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@docusaurus/mdx-loader": "0.0.0-
|
|
34
|
-
"@docusaurus/module-type-aliases": "0.0.0-
|
|
35
|
-
"@docusaurus/plugin-content-blog": "0.0.0-
|
|
36
|
-
"@docusaurus/plugin-content-docs": "0.0.0-
|
|
37
|
-
"@docusaurus/plugin-content-pages": "0.0.0-
|
|
38
|
-
"@docusaurus/utils": "0.0.0-
|
|
39
|
-
"@docusaurus/utils-common": "0.0.0-
|
|
33
|
+
"@docusaurus/mdx-loader": "0.0.0-5654",
|
|
34
|
+
"@docusaurus/module-type-aliases": "0.0.0-5654",
|
|
35
|
+
"@docusaurus/plugin-content-blog": "0.0.0-5654",
|
|
36
|
+
"@docusaurus/plugin-content-docs": "0.0.0-5654",
|
|
37
|
+
"@docusaurus/plugin-content-pages": "0.0.0-5654",
|
|
38
|
+
"@docusaurus/utils": "0.0.0-5654",
|
|
39
|
+
"@docusaurus/utils-common": "0.0.0-5654",
|
|
40
40
|
"@types/history": "^4.7.11",
|
|
41
41
|
"@types/react": "*",
|
|
42
42
|
"@types/react-router-config": "*",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"utility-types": "^3.10.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@docusaurus/core": "0.0.0-
|
|
52
|
-
"@docusaurus/types": "0.0.0-
|
|
51
|
+
"@docusaurus/core": "0.0.0-5654",
|
|
52
|
+
"@docusaurus/types": "0.0.0-5654",
|
|
53
53
|
"fs-extra": "^11.1.1",
|
|
54
54
|
"lodash": "^4.17.21"
|
|
55
55
|
},
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"engines": {
|
|
61
61
|
"node": ">=16.14"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "ed27f45e0f52c3a81ac9d20cb6cdf7695c89d4d8"
|
|
64
64
|
}
|
|
@@ -16,3 +16,11 @@
|
|
|
16
16
|
[data-theme='dark'] .themedComponent--dark {
|
|
17
17
|
display: initial;
|
|
18
18
|
}
|
|
19
|
+
|
|
20
|
+
/*
|
|
21
|
+
JS disabled??? Show light version by default => better than showing nothing
|
|
22
|
+
TODO bad, but we currently always show light mode when there's no data-theme
|
|
23
|
+
*/
|
|
24
|
+
html:not([data-theme]) .themedComponent--light {
|
|
25
|
+
display: initial;
|
|
26
|
+
}
|