mpetrovich / stylemark

Generate interactive style guides from Markdown.
MIT License
218 stars 35 forks source link

code blocks contrast is very low #48

Open tlhuillier opened 6 years ago

tlhuillier commented 6 years ago

Hello,

I find that the code blocks are very hard to read, having a very low contrast. It can be quite disturbing especially for documentation with a lot of code examples.

inline code from the Bootstrap example screen shot 2018-08-08 at 17 51 24

bigger code block, from a project of mine, even harder to read IMO screen shot 2018-08-08 at 17 55 28


I know we can provide our own CSS rules on a per project basis, but I think default style should promote readability and comfort.

How do you feel about it ?

mpetrovich commented 6 years ago

Now that you bring it up, I agree—the default styles should be more accessible. We’re using one of the default highlight.js themes I believe, so it’s just a matter of us replacing that with a more accessible one.

Would be nice to make that theme configurable via config too.

Thanks for raising this issue!