docs: Make code blocks dark themed

This commit is contained in:
Matan Kushner 2020-02-11 15:54:16 -05:00
parent 0e8b1c659d
commit 21003df0f5
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4
2 changed files with 7 additions and 1 deletions

View File

@ -61,6 +61,11 @@ module.exports = {
apiKey: "107bdc34b894d5d1dd0824b420184c2d",
indexName: "starship"
},
postcss: {
plugins: [
require('css-prefers-color-scheme/postcss'),
]
},
locales: {
"/": {
// text for the language dropdown

View File

@ -2,4 +2,5 @@ $accentColor = #DD0B78
$accentDarkColor = #ff33b8
$textColor = #2c3e50
$borderColor = #eaecef
$codeBgColor = #282c34
$codeBgLightColor = #282c34
$preTextLightColor = #fff