Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/einenlum/symfony-doc-style

A Stylish theme changing the syntax highlighting in Symfony Documentation.
https://github.com/einenlum/symfony-doc-style

Last synced: about 12 hours ago
JSON representation

A Stylish theme changing the syntax highlighting in Symfony Documentation.

Awesome Lists containing this project

README

        

Symfony Doc: Enhanced Syntax Highlighting Anytime
=================

A [Stylish](https://addons.mozilla.org/firefox/addon/stylish/) theme for Symfony Documentation.

This style has two purposes:

First, it changes most of the colors to make the it all look better and be more accessible (comments are by default in a difficult to read color). It also highlights some parts of the code (some internal PHP functions for example) which are not highlighted by default.

Second and more important, it allows to keep the syntax highlighting on the website even when using a global stylish theme (like [Solarized Dark Everywhere](http://userstyles.org/styles/98305/solarized-dark-everywhere)) that removes by default all these colors.

The code is commented, so you can easily change the color values you don’t like.

Preview
-------
Preview of the style:

![Preview of the style](http://i.imgur.com/9Uzpvly.png)

With [Solarized Dark Everywhere](http://userstyles.org/styles/98305/solarized-dark-everywhere) before activating the style:

![With Solarized Dark Everywhere, before](http://i.imgur.com/xUzB3Qu.png)

After activating the style:

![With Solarized Dark Everywhere, before](http://i.imgur.com/JasqaxW.png)

Installation
------------

You can create a new style in Stylish and paste the entire css sheet. You can also preview and install it directly on [Userstyles.org](http://userstyles.org/styles/99771/symfony-doc-enhanced-syntax-highlighting-anytime) (recommended).