Skip to content

CLI tool to convert Atom syntax theme to CSS for code highlighted with atom/highlights

License

Notifications You must be signed in to change notification settings

abradifcode/atom-syntax-theme-to-highlights-css

 
 

Repository files navigation

atom-syntax-theme-to-highlights-css

Build Status

Repo on GitHub Repo on GitLab Repo on BitBucket

This CLI tool allows you to transform an Atom theme to CSS ready to be used by code highlighted with atom/highlights.

Atom themes are less files so a compilation is required when you want to use those directly.

This simple command clone, compile and adjust CSS for you.

Preview

Install

⚠️ No need to install this package globally as you will probably not use it often. You can rely on npx which is provided by default in latest version of npm.

Bu in case you want to...

npm install -g atom-syntax-theme-to-highlights-css

Usage

To output the CSS

npx atom-syntax-theme-to-highlights-css https://github.com/simurai/duotone-dark-sea-syntax

To copy directly into your clipboard

npx atom-syntax-theme-to-highlights-css --clipboard https://github.com/simurai/duotone-dark-sea-syntax

Note: an alias is also available if you have installed the package globally: atomst2hlcss

Related

About

CLI tool to convert Atom syntax theme to CSS for code highlighted with atom/highlights

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%