@umijs/plugin-docs 4.0.0-canary.20220920.1 → 4.0.0-canary.20220928.1
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
! tailwindcss v3.1.
|
|
2
|
+
! tailwindcss v3.1.8 | MIT License | https://tailwindcss.com
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/*
|
|
@@ -355,13 +355,6 @@ input::-moz-placeholder, textarea::-moz-placeholder {
|
|
|
355
355
|
/* 2 */
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
-
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
|
|
359
|
-
opacity: 1;
|
|
360
|
-
/* 1 */
|
|
361
|
-
color: #9ca3af;
|
|
362
|
-
/* 2 */
|
|
363
|
-
}
|
|
364
|
-
|
|
365
358
|
input::placeholder,
|
|
366
359
|
textarea::placeholder {
|
|
367
360
|
opacity: 1;
|
|
@@ -2137,7 +2130,7 @@ article div[data-rehype-pretty-code-fragment] pre > code > .line.highlighted {
|
|
|
2137
2130
|
--tw-border-opacity: 1;
|
|
2138
2131
|
border-left-color: rgb(96 165 250 / var(--tw-border-opacity));
|
|
2139
2132
|
background-color: rgb(245 245 245 / var(--tw-bg-opacity));
|
|
2140
|
-
--tw-bg-opacity: 0.
|
|
2133
|
+
--tw-bg-opacity: 0.3;
|
|
2141
2134
|
}
|
|
2142
2135
|
|
|
2143
2136
|
.dark article div[data-rehype-pretty-code-fragment] pre > code > .line.highlighted {
|
|
@@ -2355,6 +2348,10 @@ article hr {
|
|
|
2355
2348
|
);
|
|
2356
2349
|
}
|
|
2357
2350
|
|
|
2351
|
+
body {
|
|
2352
|
+
overflow-y: scroll;
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2358
2355
|
html {
|
|
2359
2356
|
scroll-behavior: smooth;
|
|
2360
2357
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/plugin-docs",
|
|
3
|
-
"version": "4.0.0-canary.
|
|
3
|
+
"version": "4.0.0-canary.20220928.1",
|
|
4
4
|
"description": "@umijs/plugin-docs",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi/tree/master/packages/plugin-docs#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi/issues",
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
"compiled"
|
|
18
18
|
],
|
|
19
19
|
"scripts": {
|
|
20
|
-
"build": "
|
|
20
|
+
"build": "pnpm build:js && pnpm build:extra",
|
|
21
21
|
"build:css": "tailwindcss -i ./client/theme-doc/tailwind.css -o ./client/theme-doc/tailwind.out.css",
|
|
22
22
|
"build:deps": "umi-scripts bundleDeps",
|
|
23
23
|
"build:extra": "pnpm build:css",
|
|
24
|
+
"build:js": "umi-scripts father build",
|
|
24
25
|
"dev": "umi-scripts father dev",
|
|
25
26
|
"dev:css": "pnpm build:css --watch",
|
|
26
27
|
"test": "umi-scripts jest-turbo"
|
|
@@ -42,7 +43,7 @@
|
|
|
42
43
|
"rehype-slug": "5.0.1",
|
|
43
44
|
"remark-gfm": "^3.0.1",
|
|
44
45
|
"tailwindcss": "^3.0.24",
|
|
45
|
-
"umi": "4.0.0-canary.
|
|
46
|
+
"umi": "4.0.0-canary.20220928.1"
|
|
46
47
|
},
|
|
47
48
|
"publishConfig": {
|
|
48
49
|
"access": "public"
|