jejacks0n/apitome

code_theme?

mrbrdo opened this issue · 4 comments

Is code_theme configuration option really implemented? It doesn't seem to work, and looking at the code I don't see where it's really used.

Thanks

Not sure how to get Monokai Sublime theme to work. Putting in 'monokai_sublime' doesn't seem to do the trick

Good question, not working for me either.

Same here with various themes.
Looks like the CSS files are included in the wrong order, and the highlight.js theme's CSS properties are getting overridden by Bootstrap's CSS...

Here's one thing I did, that "kinda works":

  • copy Apitome's layout template in your app's app/views/layouts/apitome folder
  • invert lines 6 and 7, in order to place the code_theme_url CSS after apitome's CSS
  • remember to restart your Rails server after changing the theme in apitome's initializer.

image
"Solarized Dark" illustrated here

Should be fixed in master! Thanks. =)