All Projects → mpchadwick → pygments-high-contrast-stylesheets

mpchadwick / pygments-high-contrast-stylesheets

Licence: Unlicense license
WCAG AA passing Pygments stylesheets

Programming Languages

CSS
56736 projects
HTML
75241 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to pygments-high-contrast-stylesheets

Uncss
Remove unused styles from CSS
Stars: ✭ 9,170 (+21733.33%)
Mutual labels:  stylesheets
React Native Responsive Styles
React Native styles that respond to orientation change
Stars: ✭ 173 (+311.9%)
Mutual labels:  stylesheets
Cssobj
Runtime CSS manager, Turn CSS into dynamic JS module, Stylesheet CRUD (Create, Read, Update, Delete) in CSSOM, name space (local) class names
Stars: ✭ 253 (+502.38%)
Mutual labels:  stylesheets
Flexibility
Xamarin.Forms FlexLayout samples styled in a variety of ways: directly, XAML Styles, XAML Styles in a Resource Dictionary, CSS inline, and CSS loaded from a StyleSheet.
Stars: ✭ 94 (+123.81%)
Mutual labels:  stylesheets
Qdarkstylesheet
A dark style sheet for QtWidgets application
Stars: ✭ 1,952 (+4547.62%)
Mutual labels:  stylesheets
Styled Jss
Styled Components on top of JSS.
Stars: ✭ 217 (+416.67%)
Mutual labels:  stylesheets
Osmm Topography Layer Stylesheets
SQL scripts & cartographic stylesheets for OS MasterMap Topography Layer
Stars: ✭ 32 (-23.81%)
Mutual labels:  stylesheets
forthehorde
My Grunt being setup for frontend development
Stars: ✭ 16 (-61.9%)
Mutual labels:  stylesheets
Cssjanus
↔️ Convert CSS stylesheets between left-to-right and right-to-left.              Made by Wikimedia.
Stars: ✭ 168 (+300%)
Mutual labels:  stylesheets
Elementary X
Elementary OS system theme with custom OS X window controls. (light/dark)
Stars: ✭ 248 (+490.48%)
Mutual labels:  stylesheets
Web Client
Generic Linked Data browser and UX component framework. Apache license.
Stars: ✭ 105 (+150%)
Mutual labels:  stylesheets
Skin
Pure CSS framework designed & developed by eBay for a branded, e-commerce marketplace.
Stars: ✭ 126 (+200%)
Mutual labels:  stylesheets
React Native Extended Stylesheet
Extended StyleSheets for React Native
Stars: ✭ 2,732 (+6404.76%)
Mutual labels:  stylesheets
Interfacss
The CSS-inspired styling and layout framework for iOS
Stars: ✭ 92 (+119.05%)
Mutual labels:  stylesheets
Animate.css
🍿 A cross-browser library of CSS animations. As easy to use as an easy thing.
Stars: ✭ 73,073 (+173883.33%)
Mutual labels:  stylesheets
Bss
🎨 Better Style Sheets
Stars: ✭ 72 (+71.43%)
Mutual labels:  stylesheets
Antd Scss Theme Plugin
A Webpack plugin for customizing Ant Design with an SCSS theme file and using Ant Design's compiled variables in SCSS files throughout your project.
Stars: ✭ 176 (+319.05%)
Mutual labels:  stylesheets
pygments-pytest
A pygments lexer for pytest output
Stars: ✭ 23 (-45.24%)
Mutual labels:  pygments
OS-OpenMap-Local-stylesheets
Cartographic stylesheets for OS Open Map - Local
Stars: ✭ 17 (-59.52%)
Mutual labels:  stylesheets
Prejss
Get the power of PostCSS with plugins in your JSS styles. 🎨 Just put CSS into JS and get it as JSS object.
Stars: ✭ 238 (+466.67%)
Mutual labels:  stylesheets

pygments-high-contrast-stylesheets

A hard fork of pygments-css with WCAG AA passing stylesheets.

Why?

When you're choosing a theme for your personal IDE feel free to choose whatever you'd like. But when you're publishing to the web, keep in mind that you're not the only one reading the code using the selected theme.

These high contrast themes pass WCAG AA's standards, making them more friendly to the large segment of the population with color vision deficiency.

Examples

vim.css

Before

After

View demos for all stylesheets here

Contributing

Converting a stylesheet

Original pygments stylesheets are automatically converted by the tools/make-stylesheet Ruby script.

In order to convert a new stylesheet, first add the original to the original-stylesheets directory.

Next you'll need to install the gems make-stylesheet uses to convert the original. Do this from within the tools directory:

bundle install

Then invoke make-stylesheet, first passing it the path to the original stylesheet, followed by the destination location. Converted stylesheets should be placed in the root directory of the project.

./make-stylesheet ../original-stylesheets/new-stylesheet.css ../new-stylesheet.css

Updating the demos

After you've converted a stylesheet, you should update the demos on index.html. This page is dynamically generated by the tools/make-demos script.

At the top of the file, there's an array of stylesheet file names that are added to the demos...

demos = [
  "autumn",
  "colorful",
  "fruity",
...

Add your stylesheet to the list.

Then invoke make-demos.

./make-demos

Now you can commit your changes and submit a pull request!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].