[docs.unity3d & local] Unity Black - a dark theme with JS/C# syntax highlighting

A beautiful dark theme with syntax highlighting (4 color schemes, JS & C#) that improves visual code samples and lowers screen glare.

נכון ליום 08-08-2016. ראה הגרסה האחרונה.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

יוצר
drhouse
דירוגים
0 0 0
גרסה
1.1
נוצר
08-11-2015
עודכן
08-08-2016
Size
7.27 קילו-בייט
רישיון
לא זמין
חל על


local install note - in order to use Unity Black on your local documentation files, you will need to enable 'allow access to local file urls' for Tampermonkey (or your script manager) in the Extensions tab. This image shows what it looks like: http://i.stack.imgur.com/L31BQ.png

About

(See screenshots) - A beautiful dark theme with syntax highlighting (4 color scheme choices, for JS & C#) that improves visual code samples and lowers screen glare on docs.unity3d and the local docs version installed with Unity3d.

Info

In learning Unity3d and using docs.unity3d.com or the local file copy, I've found 2 issues:
- the JS & C# code samples are flat black and white, making it difficult to comprehend or identify key information
- the large amount of all-white theme space causes eyestrain the longer its used

Unity Black is an attempt to resolve these issues. Included is highlight.js 'syntax highlighting' and a picker menu on the upper-right of code blocks, with the following themes: Bold, Grayscale, Ocean, Tomorrow. When the user clicks on a theme, the choice is stored in the script and applied to pages viewed on the site.