-
Notifications
You must be signed in to change notification settings - Fork 656
Editing
silverwind edited this page Jan 10, 2015
·
8 revisions
Open the GitHub-Dark.css & your desired minified syntax highlighting theme (found in the themes folder) files in your favorite editor, then:
-
Start a search in your editor for
]]*/
(it's the end of the userstyles placeholder). -
When you find
/*[[bg-choice]]*/
, replace that entire line withbackground-image: url() !important;
then insert the URL of your selected background image (please see Image wiki page for more details).
- The
/*[[bg-options]]*/
and/*[[bg-options2]]*/
can be replaced with thebackground-size
,background-repeat
,background-position
andbackground-attachment
settings, as desired. - When encountering
/*[[base-color]]*/ #4183C4
, replace that entire selection with the desired base color which is essentially applied to all links and selected panels. - Then the
/*[[tab-size]]*/ 4
placeholder can get replaced if you want to change thepre
code tab size. - Lastly, the
/*[[syntax-theme]]*/
will require you to remove everything from that placeholder to just before the closing bracket}
at the end of the file, then replace it with the style from your selected syntax highlighting theme.
A little bit more detail is provided on the Update wiki page, see steps 2 through 5. The rest of the steps are instructions for the other admins on how to update the style at userstyles.org.
GitHub Dark Wiki - © 2013-2020 StylishThemes Team