Added styling for github syntax highlighting.

pull/2/head
Daniel Scalzi 2018-06-30 14:23:42 -04:00
parent 13a6dcea63
commit 52d90276bf
No known key found for this signature in database
GPG Key ID: 5CA2F145B63535F9
3 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,6 @@
/* Github Code Highlighting. */
@import "../../../node_modules/github-syntax-dark/lib/github-dark.css";
/*******************************************************************************
* *
* Fonts *
@ -1768,6 +1771,14 @@ input:checked + .toggleSwitchSlider:before {
color: black;
font-weight: bold;
}
#settingsChangelogText .highlight {
background: rgba(0, 0, 0, 0.30);
user-select: initial;
padding: 5px 10px;
}
#settingsChangelogText .highlight pre {
margin: 0px;
}
/* Container for the changelog button. */
#settingsChangelogActions {

5
package-lock.json generated
View File

@ -1183,6 +1183,11 @@
"assert-plus": "^1.0.0"
}
},
"github-syntax-dark": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/github-syntax-dark/-/github-syntax-dark-0.5.0.tgz",
"integrity": "sha1-FwRlRf+qBB5YJFgAHflot+yRwuo="
},
"glob": {
"version": "7.1.2",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz",

View File

@ -35,6 +35,7 @@
"ejs-electron": "^2.0.3",
"electron-is-dev": "^0.3.0",
"electron-updater": "^2.23.3",
"github-syntax-dark": "^0.5.0",
"jquery": "^3.3.1",
"mkdirp": "^0.5.1",
"request": "^2.87.0",