fix: add esdoc css theme placeholder
This commit is contained in:
@ -38,6 +38,10 @@
|
|||||||
"option": {
|
"option": {
|
||||||
"all": true
|
"all": true
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "esdoc-inject-style-plugin",
|
||||||
|
"option": {"styles": ["css/theme.css"]}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
25
web3.js/css/theme.css
Normal file
25
web3.js/css/theme.css
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
html {
|
||||||
|
font-family: Lato, 'Helvetica Neue', 'Arial', sans-serif;
|
||||||
|
color: var(--fg);
|
||||||
|
background-color: var(--bg);
|
||||||
|
text-size-adjust: none;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 1rem;
|
||||||
|
overflow-x: hidden;
|
||||||
|
font-family: Lato, 'Helvetica Neue', 'Arial', sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 300;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, serif;
|
||||||
|
font-size: 13px; /* please adjust the ace font size accordingly in editor.js */
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
@ -71,6 +71,7 @@
|
|||||||
"bn.js": "^4.11.8",
|
"bn.js": "^4.11.8",
|
||||||
"bs58": "^4.0.1",
|
"bs58": "^4.0.1",
|
||||||
"buffer-layout": "^1.2.0",
|
"buffer-layout": "^1.2.0",
|
||||||
|
"esdoc-inject-style-plugin": "^1.0.0",
|
||||||
"jayson": "^2.0.6",
|
"jayson": "^2.0.6",
|
||||||
"mz": "^2.7.0",
|
"mz": "^2.7.0",
|
||||||
"node-fetch": "^2.2.0",
|
"node-fetch": "^2.2.0",
|
||||||
|
Reference in New Issue
Block a user