Greasy Fork is available in English.

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

Autor
drhouse
Instalações hoje
0
Total de instalações
190
Avaliações
2 0 0
Versão
1.1
Criado
08/11/2015
Atualizado
08/08/2016
Licença
N/A
Aplicável a


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 at bottom) - 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.