🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

作者
drhouse
今日安裝
0
安裝總數
265
評價
2 0 0
版本
1.1
建立日期
2015-11-08
更新日期
2016-08-08
尺寸
7.3 KB
授權條款
未知
腳本執行於


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.