mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-22 17:23:50 +01:00
add a light code syntax theme
This commit is contained in:
parent
2b60310bdf
commit
e13b437ab1
@ -71,9 +71,15 @@ module.exports = {
|
||||
// https://github.com/andrewbranch/gatsby-remark-vscode
|
||||
resolve: 'gatsby-remark-vscode',
|
||||
options: {
|
||||
theme: 'Nord',
|
||||
theme: {
|
||||
default: 'Polar',
|
||||
parentSelector: { 'body.dark': 'Nord' }
|
||||
},
|
||||
injectStyles: false,
|
||||
extensions: ['nord-visual-studio-code'],
|
||||
extensions: [
|
||||
'nord-visual-studio-code',
|
||||
`${__dirname}/vendor/polar-0.0.6.vsix`
|
||||
],
|
||||
languageAliases: {}
|
||||
}
|
||||
}
|
||||
|
@ -52,6 +52,11 @@ pre {
|
||||
background-color: $code-bg;
|
||||
}
|
||||
|
||||
// overwrite Polar theme background color
|
||||
&:global(.polar) {
|
||||
background-color: lighten($body-background-color, 3%);
|
||||
}
|
||||
|
||||
// make 'em scrollable
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
BIN
vendor/polar-0.0.6.vsix
vendored
Normal file
BIN
vendor/polar-0.0.6.vsix
vendored
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user