Caprine: Improve the look of code blocks

Created on 3 Jun 2016  路  7Comments  路  Source: sindresorhus/caprine

They look pretty ugly by default, and would be nice to have a different style in dark mode.

Follow-up to https://github.com/sindresorhus/caprine/issues/105.

enhancement help wanted

Most helpful comment

So, I use code blocks a lot, and seeing that I'm not the only one finding those very ugly, I made a thing :

code-blocks-choice

But this seems a bit overkill for an app that isn't really targeted at developers, so I also made this :

code-blocks-toggle

Of course I can do this with any other color scheme

All 7 comments

It's messed up for me (unreadable)

image

Without dark mode:
image

They probably changed some CSS selectors.

screen shot 2016-08-18 at 17 10 47 馃槈

looks like the lightest color is the only broken one.

I'll poke around at this in a few hours when I'm off work :)

I'm curious that why css class name look unreadable
I think I could help but it's kinda hard to guess what is it.

So, I use code blocks a lot, and seeing that I'm not the only one finding those very ugly, I made a thing :

code-blocks-choice

But this seems a bit overkill for an app that isn't really targeted at developers, so I also made this :

code-blocks-toggle

Of course I can do this with any other color scheme

The second one looks amazing. Would you be interested in doing a pull request?

Of course, I'll do it when I get home

Was this page helpful?
0 / 5 - 0 ratings

Related issues

willashley23 picture willashley23  路  3Comments

vogu66 picture vogu66  路  3Comments

bsucker98 picture bsucker98  路  3Comments

petersng picture petersng  路  3Comments

Vexorify picture Vexorify  路  3Comments