Open jgornick opened 10 years ago
Can you give an example of where this will help?
Notice the formatting of the "quote" section:
... compared to:
http://sindresorhus.com/github-markdown-css/
The difference in font size and weight are much easier to read in the GitHub style versus the default flat theme style.
Maybe this should turn into a "Create GitHub theme" instead of using different CSS to render the markdown markup.
I'm not opposed to either a GitHub theme or specific individual changes to the existing themes. I think the quote looks nicer in gray than in a strong black, for example. Maybe if we could enumerate the changes we could discuss which ones makes sense to apply to the default theme.
@danielgtaylor I've messed around with the theme slightly and by removing the custom fonts, I feel the theme is much cleaner and easier to read. FWIW, the GitHub theme uses: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif
Also, yes, by sizing down the blockquote and changing them to be the same size as a paragraph would help too.
Here's a screenshot where I removed the custom fonts in the default theme and resized the blockquote:
Bump, I saw that aglio now allows us to use custom less variables with the default theme (--theme-variables
). I wanted to use it to create a github-like theme with the default layout.
However the fonts aren't overridable which makes it impossible.
I think you should move the @base-font
, @title-font
and @code-font
variables into the variables-xxx.less file.
@Owumaro thanks I meant to move these into the variables files. This will be in the next beta release!
@Owumaro this is now in the latest beta. I've also tweaked the default blockquote style a little.
Thanks, I'll check this out asap
Since some of the markdown styles can get a little whacky, it would be nice if there was a clean template style using the GitHub Markdown CSS from the project: https://github.com/sindresorhus/github-markdown-css.