sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.11k stars 1.29k forks source link

Custom syntax highlighting themes for Sourcegraph #4640

Open christinaforney opened 5 years ago

christinaforney commented 5 years ago

Request from a user:

It'd be nice to have some kind of configurable/custom syntax highlighting. For example, the first thing that came to my mind for whatever reason was this: https://github.com/ciembor/4bit

As with the Light and Dark themes we will want to set this at a user level.

/cc @felixfbecker

Joelkw commented 4 years ago

from #14549 merge –

per @slimsag

it would be pretty easy to allow people to provide their own tmTheme file and use it in Sourcegraph if they wanted (though I've heard strong opposition to this in the past from some prior designers here due to it seeming 'off-brand' or something)

from https://sourcegraph.slack.com/archives/C0HMGV90V/p1602203526133200?thread_ts=1602173122.127700&cid=C0HMGV90V.

I'm not against this so logging here for discussion and/or someday release.

felixfbecker commented 4 years ago

Note we need to distinguish syntax highlighting themes and general themability of the webapp here (they are very different from an implementation perspective).

Joelkw commented 4 years ago

off ^, I'm keeping this the syntax highlighting issue since that's how this one began, and creating a separate issue for general themability at #14964