Skip to content

Commit

Permalink
Added styling for github syntax highlighting.
Browse files Browse the repository at this point in the history
  • Loading branch information
dscalzi committed Jun 30, 2018
1 parent 13a6dce commit 52d9027
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/assets/css/launcher.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Github Code Highlighting. */
@import "../../../node_modules/github-syntax-dark/lib/github-dark.css";

/*******************************************************************************
* *
* Fonts *
Expand Down Expand Up @@ -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 {
Expand Down
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 52d9027

Please sign in to comment.