GitHub-Dark icon indicating copy to clipboard operation
GitHub-Dark copied to clipboard

Theme Request: Base16 Ocean

Open dnut opened this issue 8 years ago • 8 comments
trafficstars

Edited to show progress:

  • [ ] GitHub: needed
  • [x] CodeMirror: Added
  • [x] Jupyter: Added

Base16 Ocean is the default color scheme in one of the most popular Sublime Text themes (Spacegray), and a similar variant of Base16 is the default in Atom editor.

I started working on this in my fork of this repo, but it's hard to get it right since GitHub's highlighting works so differently from Sublime Text. This is what I have so far but it's not great: https://github.com/dnut/GitHub-Highlighter/blob/master/themes/github/base16-ocean.css

Here is a sample of some Python using that stylesheet: 2017-01-06-235326_1920x1080_scrot

dnut avatar Jan 07 '17 04:01 dnut

Have you tried using github-syntax-theme-generator?

auscompgeek avatar Jan 07 '17 05:01 auscompgeek

I took a look at that because I saw it recommended in a different issue, but I am puzzled because it seems to do the opposite (create GitHub styled themes in a variety of formats) of what I actually want (create a different styled theme in GitHub's format).

dnut avatar Jan 07 '17 05:01 dnut

Hi @dnut!

Nice work! Don't worry, I haven't been happy with my conversions into the GitHub syntax highlighter either... the style will never exactly match the other syntax themes. Either way, shoot us a PR and I'll add the CodeMirror style I found & the Jupyter (Pygments) style we already have!

Yeah @auscompgeek, I haven't had much luck using that generator... hand picking colors seems to be about the same, time-consuming-wise, as picking colors for the generator.

Mottie avatar Jan 07 '17 23:01 Mottie

@dnut Did you want to submit a PR for this?

Mottie avatar Jan 24 '17 03:01 Mottie

Sorry I've been extremely busy recently. I posted it here as a work in progress so there are definitely some tweaks I can make to improve it. Once I do that I'll submit a pull request.

dnut avatar Feb 09 '17 07:02 dnut

I've updated userstyles to allow setting the three syntax themes (GitHub, CodeMirror & Jupyter) separately, so you can at least enjoy this style a little ;).

I will be out of town for the next 3.5 weeks or so starting Thursday, so take your time! If you do get it done, submit a PR and maybe we can convince @silverwind to merge and add it 😁

Mottie avatar Feb 13 '17 20:02 Mottie

Hi @dnut! Any progress on the theme? Is there anything we can do to help?

Mottie avatar Jul 05 '17 22:07 Mottie

ping @dnut you still around?

the-j0k3r avatar Mar 30 '19 16:03 the-j0k3r