Atom One syntax highlighting for Chroma https://www.npmjs.com/package/atom-one-chroma
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Josh Habdas da82d68841
docs(readme): add commit style badge
3 months ago
.gitignore feat(package): one-dot-oh 1 year ago
.npmignore build($npm): release with dist files, rename project 3 months ago
CHANGELOG.md chore(release): 2.0.0 3 months ago
COPYING refactor($package): udpate dev deps, license 3 months ago
README.md docs(readme): add commit style badge 3 months ago
package-lock.json chore(release): 2.0.0 3 months ago
package.json build($npm): release with dist files, rename project 3 months ago
styles.less build($npm): release with dist files, rename project 3 months ago

README.md

Atom One Chroma

Chroma compatible stylesheets using Atom’s lovely One Dark and One Light syntax themes.

NPM downloads per month Latest NPM version Commit methodology WTFPL licensed

Usage

Get the stylesheets on jsDelivr or consume the NPM package and access built stylesheets from dist.

How it works

NPM build script copies LESS stylesheet files from GitHub repositories for One Dark Syntax and One Light Syntax into a temp directory, at which point each of them are converted to vanilla CSS using LESS compiler, minified with clean-css and output to the dist directory.

Development

  1. Clone this repository with git clone.
  2. Install NPM dependencies with npm install.
  3. Run npm run build to generate stylesheets.

See dist folder for light and dark Atom One stylesheets.

Note: By default, generated stylesheets assume your highlighted code sits in a container with class highlight, e.g.

<div class="highlight">
  <pre>
    <code>...</code>
  </pre>
</div>

If you are not using highlight as your wrapper class change the wrapper class name in styles.less before building.

Pygments support

Supports code snippets generated with Pygments 2.2.0 and earlier though future versions may be supported.

Credits

This tool was inspired by Richard Leland, Mihály Gyöngyösi and Alex Wood from their following creative works:

License

Copyright © 2017–2018 Josh Habdas jhabdas@protonmail.com

This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the COPYING file for more details.