atom-syntax-theme-to-highlights-css
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.
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