fkling / astexplorer

A web tool to explore the ASTs generated by various parsers.
https://astexplorer.net/
MIT License
6.05k stars 711 forks source link

Feature request: dark mode #495

Open burtek opened 4 years ago

burtek commented 4 years ago

Not a big deal, but definitely something that would make our eyes less tired. Would that be possible?

fkling commented 4 years ago

I guess it would be possible. Codemirror has a couple of dark themes (https://codemirror.net/demo/theme.html#solarized%20dark) . I wonder if it would already suffice to just toggle the codemirror theme. I suspect the other colors need to be made darker as well.

theo-staizen commented 4 years ago

@fkling I have a related issue (https://github.com/fkling/astexplorer/issues/368) where I have posted a dark theme css file that I use with chrome local overrides

I'm using Darcula theme for CodeMirror and I made changes to toolbar, treeview, dividers, scrollbars, using the same colors. Hope this helps as a starting point :)

tjx666 commented 1 year ago

any progress?