docusaurus-theme-openapi-docs 0.0.0-beta.617 → 0.0.0-beta.620
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/theme/DiscriminatorTabs/_DiscriminatorTabs.scss +1 -1
- package/lib/theme/Markdown/Details/_Details.scss +0 -1
- package/lib/theme/ParamsItem/_ParamsItem.scss +2 -2
- package/lib/theme/SchemaItem/_SchemaItem.scss +2 -2
- package/lib/theme/styles.scss +1 -0
- package/lib-next/theme/DiscriminatorTabs/_DiscriminatorTabs.scss +1 -1
- package/lib-next/theme/Markdown/Details/_Details.scss +0 -1
- package/lib-next/theme/ParamsItem/_ParamsItem.scss +2 -2
- package/lib-next/theme/SchemaItem/_SchemaItem.scss +2 -2
- package/lib-next/theme/styles.scss +1 -0
- package/package.json +3 -3
- package/src/theme/DiscriminatorTabs/_DiscriminatorTabs.scss +1 -1
- package/src/theme/Markdown/Details/_Details.scss +0 -1
- package/src/theme/ParamsItem/_ParamsItem.scss +2 -2
- package/src/theme/SchemaItem/_SchemaItem.scss +2 -2
- package/src/theme/styles.scss +1 -0
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
position: relative;
|
|
76
76
|
margin: 0 !important;
|
|
77
77
|
padding: 5px 0 5px 0 !important;
|
|
78
|
-
border-left: thin solid var(--
|
|
78
|
+
border-left: thin solid var(--openapi-tree-line-color) !important;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
@media screen and (max-width: 500px) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
margin: 0 0 0 1rem !important;
|
|
3
3
|
position: relative;
|
|
4
4
|
padding-left: 1rem;
|
|
5
|
-
border-left: thin solid var(--
|
|
5
|
+
border-left: thin solid var(--openapi-tree-line-color) !important;
|
|
6
6
|
margin-top: unset !important;
|
|
7
7
|
|
|
8
8
|
// Horizonal line styling for param attributes
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
height: 0.5rem;
|
|
16
16
|
/* vertical position of line */
|
|
17
17
|
vertical-align: top;
|
|
18
|
-
border-bottom: thin solid var(--
|
|
18
|
+
border-bottom: thin solid var(--openapi-tree-line-color);
|
|
19
19
|
content: "";
|
|
20
20
|
display: inline-block;
|
|
21
21
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
position: relative;
|
|
4
4
|
margin: 0 !important;
|
|
5
5
|
padding: 5px 0 5px 1rem;
|
|
6
|
-
border-left: thin solid var(--
|
|
6
|
+
border-left: thin solid var(--openapi-tree-line-color) !important;
|
|
7
7
|
|
|
8
8
|
// Horizontal line styling for schema properties
|
|
9
9
|
&::before {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
height: 0.5rem;
|
|
16
16
|
/* vertical position of line */
|
|
17
17
|
vertical-align: top;
|
|
18
|
-
border-bottom: thin solid var(--
|
|
18
|
+
border-bottom: thin solid var(--openapi-tree-line-color);
|
|
19
19
|
content: "";
|
|
20
20
|
display: inline-block;
|
|
21
21
|
}
|
package/lib/theme/styles.scss
CHANGED
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
--openapi-card-border-radius: var(--ifm-pre-border-radius);
|
|
44
44
|
--openapi-input-border: var(--ifm-color-primary);
|
|
45
45
|
--openapi-input-background: var(--openapi-card-background-color);
|
|
46
|
+
--openapi-tree-line-color: var(--ifm-toc-border-color);
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
[data-theme="dark"] {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
position: relative;
|
|
76
76
|
margin: 0 !important;
|
|
77
77
|
padding: 5px 0 5px 0 !important;
|
|
78
|
-
border-left: thin solid var(--
|
|
78
|
+
border-left: thin solid var(--openapi-tree-line-color) !important;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
@media screen and (max-width: 500px) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
margin: 0 0 0 1rem !important;
|
|
3
3
|
position: relative;
|
|
4
4
|
padding-left: 1rem;
|
|
5
|
-
border-left: thin solid var(--
|
|
5
|
+
border-left: thin solid var(--openapi-tree-line-color) !important;
|
|
6
6
|
margin-top: unset !important;
|
|
7
7
|
|
|
8
8
|
// Horizonal line styling for param attributes
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
height: 0.5rem;
|
|
16
16
|
/* vertical position of line */
|
|
17
17
|
vertical-align: top;
|
|
18
|
-
border-bottom: thin solid var(--
|
|
18
|
+
border-bottom: thin solid var(--openapi-tree-line-color);
|
|
19
19
|
content: "";
|
|
20
20
|
display: inline-block;
|
|
21
21
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
position: relative;
|
|
4
4
|
margin: 0 !important;
|
|
5
5
|
padding: 5px 0 5px 1rem;
|
|
6
|
-
border-left: thin solid var(--
|
|
6
|
+
border-left: thin solid var(--openapi-tree-line-color) !important;
|
|
7
7
|
|
|
8
8
|
// Horizontal line styling for schema properties
|
|
9
9
|
&::before {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
height: 0.5rem;
|
|
16
16
|
/* vertical position of line */
|
|
17
17
|
vertical-align: top;
|
|
18
|
-
border-bottom: thin solid var(--
|
|
18
|
+
border-bottom: thin solid var(--openapi-tree-line-color);
|
|
19
19
|
content: "";
|
|
20
20
|
display: inline-block;
|
|
21
21
|
}
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
--openapi-card-border-radius: var(--ifm-pre-border-radius);
|
|
44
44
|
--openapi-input-border: var(--ifm-color-primary);
|
|
45
45
|
--openapi-input-background: var(--openapi-card-background-color);
|
|
46
|
+
--openapi-tree-line-color: var(--ifm-toc-border-color);
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
[data-theme="dark"] {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docusaurus-theme-openapi-docs",
|
|
3
3
|
"description": "OpenAPI theme for Docusaurus.",
|
|
4
|
-
"version": "0.0.0-beta.
|
|
4
|
+
"version": "0.0.0-beta.620",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"openapi",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"buffer": "^6.0.3",
|
|
52
52
|
"clsx": "^1.1.1",
|
|
53
53
|
"crypto-js": "^4.1.1",
|
|
54
|
-
"docusaurus-plugin-openapi-docs": "0.0.0-beta.
|
|
54
|
+
"docusaurus-plugin-openapi-docs": "0.0.0-beta.620",
|
|
55
55
|
"docusaurus-plugin-sass": "^0.2.3",
|
|
56
56
|
"file-saver": "^2.0.5",
|
|
57
57
|
"immer": "^9.0.7",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"engines": {
|
|
77
77
|
"node": ">=14"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "6971e2e365d8bf02319431d3acfb14fe7480f6f0"
|
|
80
80
|
}
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
position: relative;
|
|
76
76
|
margin: 0 !important;
|
|
77
77
|
padding: 5px 0 5px 0 !important;
|
|
78
|
-
border-left: thin solid var(--
|
|
78
|
+
border-left: thin solid var(--openapi-tree-line-color) !important;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
@media screen and (max-width: 500px) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
margin: 0 0 0 1rem !important;
|
|
3
3
|
position: relative;
|
|
4
4
|
padding-left: 1rem;
|
|
5
|
-
border-left: thin solid var(--
|
|
5
|
+
border-left: thin solid var(--openapi-tree-line-color) !important;
|
|
6
6
|
margin-top: unset !important;
|
|
7
7
|
|
|
8
8
|
// Horizonal line styling for param attributes
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
height: 0.5rem;
|
|
16
16
|
/* vertical position of line */
|
|
17
17
|
vertical-align: top;
|
|
18
|
-
border-bottom: thin solid var(--
|
|
18
|
+
border-bottom: thin solid var(--openapi-tree-line-color);
|
|
19
19
|
content: "";
|
|
20
20
|
display: inline-block;
|
|
21
21
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
position: relative;
|
|
4
4
|
margin: 0 !important;
|
|
5
5
|
padding: 5px 0 5px 1rem;
|
|
6
|
-
border-left: thin solid var(--
|
|
6
|
+
border-left: thin solid var(--openapi-tree-line-color) !important;
|
|
7
7
|
|
|
8
8
|
// Horizontal line styling for schema properties
|
|
9
9
|
&::before {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
height: 0.5rem;
|
|
16
16
|
/* vertical position of line */
|
|
17
17
|
vertical-align: top;
|
|
18
|
-
border-bottom: thin solid var(--
|
|
18
|
+
border-bottom: thin solid var(--openapi-tree-line-color);
|
|
19
19
|
content: "";
|
|
20
20
|
display: inline-block;
|
|
21
21
|
}
|
package/src/theme/styles.scss
CHANGED
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
--openapi-card-border-radius: var(--ifm-pre-border-radius);
|
|
44
44
|
--openapi-input-border: var(--ifm-color-primary);
|
|
45
45
|
--openapi-input-background: var(--openapi-card-background-color);
|
|
46
|
+
--openapi-tree-line-color: var(--ifm-toc-border-color);
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
[data-theme="dark"] {
|