carbon-now-cli
carbon-now-cli copied to clipboard
Allow configuring "theme colors" in presets
The Carbon CLI is really awesome and I love that it's possible to store and reuse a configuration as preset. One thing I'd love to add to the config though is the actual "theme colors" (i.e. what color e.g. variables, operators, keywords, comments, ...).
Basically these options from the Carbon web UI:
Hey @nikolasburk, thanks for chiming in and the nice words, much appreciated. Big fan of your work! :)
I’ve briefly dabbled with this idea since first seeing that these things are now configurable in the web UI.
First thought it might not be possible without doing some disgusting DOM traversing through Puppeteer, but just noticed all these values are stored in localStorage
. :)
You’d likely lose the state/visuals by doing --open
, but it should fully work through the CLI. 🤔
I’ll try and get to this soon. Quite swamped with work and conf season, but I’m eager to have it as part of the CLI. :)
+1 🙇
This feature ships with the official v2
release. 🙂
Documentation 🚀 for custom theme colors can be found here. 🙂
Happy testing and using! Looking forward to your feedback! @nikolasburk @raveling
P. S: I’m almost embarrassed about how long it took me to start working on v2
, but at least once I did, I shipped it quite fast. 🙃 No more activity slumps in the future, though. 🤞