googlearchive / chromedeveditor

Chrome Dev Editor is a developer tool for building apps on the Chrome platform - Chrome Apps and Web Apps, in JavaScript or Dart. (NO LONGER IN ACTIVE DEVELOPMENT)
BSD 3-Clause "New" or "Revised" License
2.92k stars 413 forks source link

Add ability for custom themes (colours/fonts) #3526

Open DanTup opened 10 years ago

DanTup commented 10 years ago

I've been through all the built-in themes, and I don't really like any of them! Are there plans for user-configurable styles?

I seem to be using "Ambience" right now; and it's not too bad, except comments are soooo faded.

In Visual Studio, I have my comments LIME GREEN. Making them stand out more than the code puts a lot more emphasis on them, and has encouraged me to write better (and more) comments!

This doesn't need to be an editor/UI, just allowing a user to copy/paste an existing theme and tweak some colours would be sufficient. People get very attached to their IDE themes!

ussuri commented 10 years ago

Thanks for your request. This option is available in the underlying Ace editing component - we just need to expose it. Would one custom theme at a time be ok (meaning as an alternative a library of custom themes that one could switch between)?

As a side note, there we've enabled 11 light light themes prepackaged with Ace in the upcoming 0.17.

DanTup commented 10 years ago

Would one custom theme at a time be ok (meaning as an alternative a library of custom themes that one could switch between)?

I don't entirely understand what you mean; but the ability to create a copy of an existing theme and tweak a few colours would be ideal. It doesn't matter (to me personally) whether I can only have one, nor whether they're named, can be saved etc.; or even really how they're defined (CSS, a set of properties, whatever).

As long as I can take one of your themes and make some minor tweaks, great. If it's done in a format people can share their own; that's a nice plus (Studio Styles suggests people really like to customise their themes!).

There are just some really minor things in your shipped styles I dislike; mainly italics and really low contrast comments. I like the comments to really stand out; they're more likely to be read/maintained! I'd like to tweak this theme on the right to be more like my VS one on the left...

themes

As a side note, there we've enabled 11 light light themes prepackaged with Ace in the upcoming 0.17.

I'm afraid I'm already converted to the dark-side ;-)

ussuri commented 10 years ago

Gotcha, all clear now.