fix: add esdoc css theme placeholder

This commit is contained in:
Michael Vines 2018-12-03 09:17:55 -08:00
parent 2bab37a34d
commit 97f5ef0b7e
3 changed files with 30 additions and 0 deletions

View File

@ -38,6 +38,10 @@
"option": {
"all": true
}
},
{
"name": "esdoc-inject-style-plugin",
"option": {"styles": ["css/theme.css"]}
}
]
}

25
web3.js/css/theme.css Normal file
View 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;
}

View File

@ -71,6 +71,7 @@
"bn.js": "^4.11.8",
"bs58": "^4.0.1",
"buffer-layout": "^1.2.0",
"esdoc-inject-style-plugin": "^1.0.0",
"jayson": "^2.0.6",
"mz": "^2.7.0",
"node-fetch": "^2.2.0",