[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.

Stan na 08-08-2016. Zobacz najnowsza wersja.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Autor
drhouse
Oceny
0 0 0
Wersja
1.1
Utworzono
08-11-2015
Zaktualizowano
08-08-2016
Rozmiar
7,27 KB
Licencja
Brak licencji
Dotyczy


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.