ttscoff/mdless

Standard Theme Presets

lamyergeier opened this issue · 6 comments

It will be great to have standard theme presents for popular colour schemes like Solarized Dark, Solarized Light.

It will be good to have this as a part of the repositories so that it will be easier for users to switch to standard themes.

@ttscoff I am experimenting with the theme colour for white background. Could you please clear one doubt? This is how I modified it:

---
metadata:
  border: d blue on_black
  marker: d black on_black
  color: d black on_white
emphasis:
  bold: b
  italic: u i
  bold-italic: b u i
h1:
  color: b intense_black on_white
  pad: d black on_white
  pad_char: "="
h2:
  color: b black on_intense_white
  pad: d black on_intense_white
  pad_char: "-"
h3:
  color: u b yellow
h4:
  color: u yellow
h5:
  color: b black
h6:
  color: b black
link:
  brackets: b black
  text: u b blue
  url: cyan
image:
  bang: red
  brackets: b black
  title: cyan
  url: u yellow
list:
  bullet: b intense_red
  number: b intense_blue
  color: intense_black
footnote:
  brackets: b black on_black
  caret: b yellow on_black
  title: x yellow on_black
  note: u white on_black
code_span:
  marker: b white
  color: b black on_intense_white
code_block:
  marker: intense_white
  bg: on_white
  color: black
  border: blue
  title: magenta
  eol: intense_black on_black
  pygments_theme: solarized-light
dd:
  marker: d red
  color: b intense_black
hr:
  color: d intense_black
table:
  border: d black
  header: yellow
  divider: b black
  color: black
  bg: on_black
html:
  brackets: d yellow on_black
  color: yellow on_black

Everything is fine expect the normal text appears light:

image
image


Doubt

Could you please suggest how to change the text colour from light to dark? Also could you please tell what is meant by dd?

I am using Solarized Light theme in Gnome terminal:

image

Also this is the default colour for foreground text:

image

You can see that in the following image the top half is a result of terminal command ls -la; while the bottom half prints markdown file using mdless with the command Backintime -h.

Thus default foreground colour is darker than what mdless is assuming.

image

image

In this image the colour mentioned in Default Colour and Text is the foreground colour. Which is this: #657B83

image