Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
204 changes: 204 additions & 0 deletions styles/16colors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,204 @@
{
"document": {
"block_prefix": "\n",
"block_suffix": "\n",
"color": "7",
"margin": 2
},
"block_quote": {
"indent": 0,
"color": "3",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd keep 3 for the headings.

"indent_token": "│ ",
"italic": true,
"margin": 1
},
"paragraph": {},
"list": {
"level_indent": 2,
"color": "7"
},
"heading": {
"block_suffix": "\n",
"color": "4",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As said earlier, with my theme, 3 looks better. I found that setting 3 to a bright color looks better in some tools (htop, eza for instance), and in turns this make it more suitable to headings in my opinion. Very subjective though :-)

"bold": true
},
"h1": {
"prefix": " ",
"suffix": " ",
"color": "7",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

color could be 0, as we invert the colors compared to other headings.

"background_color": "4",
"bold": true
},
"h2": {
"prefix": "## "
},
"h3": {
"prefix": "### "
},
"h4": {
"prefix": "#### "
},
"h5": {
"prefix": "##### "
},
"h6": {
"prefix": "###### ",
"color": "5",
"bold": false
},
"text": {},
"strikethrough": {
"crossed_out": true
},
"emph": {
"italic": true,
"color": "3"
},
"strong": {
"bold": true,
"color": "3"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For emph and strong, I'd put 4.

},
"hr": {
"color": "0",
"format": "\n―――――――――――――――――――\n"
},
"item": {
"block_prefix": "• "
},
"enumeration": {
"block_prefix": ". ",
"color": "6"
},
"task": {
"ticked": "[✓] ",
"unticked": "[ ] "
},
"link": {
"color": "6",
"underline": true
},
"link_text": {
"color": "5",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Preference to have the same color as link_text, it makes it easier to understand they are the same units.

"bold": true
},
"image": {
"color": "6",
"underline": true
},
"image_text": {
"color": "5",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, with a different color (image and image_text both 5?)

"format": "Image: {{.text}} →"
},
"code": {
"color": "7",
"prefix": " ",
"suffix": " ",
"background_color": "#44475a"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On a light background, this is way too dark:
image

I propose 254.

},
"code_block": {
"color": "3",
"margin": 2,
"chroma": {
"text": {
"color": "#ansilightgray"
},
"error": {
"color": "#ansilightgray",
"background_color": "#ansidarkred"
},
"comment": {
"color": "#ansidarkgray"
},
"comment_preproc": {
"color": "#ansipurple"
},
"keyword": {
"color": "#ansipurple"
},
"keyword_reserved": {
"color": "#ansipurple"
},
"keyword_namespace": {
"color": "#ansipurple"
},
"keyword_type": {
"color": "#ansiteal"
},
"operator": {
"color": "#ansipurple"
},
"punctuation": {
"color": "#ansilightgray"
},
"name": {
"color": "#ansiteal"
},
"name_builtin": {
"color": "#ansiteal"
},
"name_tag": {
"color": "#ansipurple"
},
"name_attribute": {
"color": "#ansidarkgreen"
},
"name_class": {
"color": "#ansiteal"
},
"name_constant": {
"color": "#ansidarkblue"
},
"name_decorator": {
"color": "#ansidarkgreen"
},
"name_exception": {},
"name_function": {
"color": "#ansidarkgreen"
},
"name_other": {},
"literal": {},
"literal_number": {
"color": "#ansiturquoise"
},
"literal_date": {},
"literal_string": {
"color": "#ansibrown"
},
"literal_string_escape": {
"color": "#ansipurple"
},
"generic_deleted": {
"color": "#ansidarkred"
},
"generic_emph": {
"color": "#ansibrown",
"italic": true
},
"generic_inserted": {
"color": "#ansidarkgreen"
},
"generic_strong": {
"color": "#ansiyellow",
"bold": true
},
"generic_subheading": {
"color": "#ansidarkblue"
},
"background": {
"background_color": "#44475"
}
}
},
"table": {
"center_separator": "┼",
"column_separator": "│",
"row_separator": "─"
},
"definition_list": {},
"definition_term": {},
"definition_description": {
"block_prefix": "\n🠶 "
},
"html_block": {},
"html_span": {}
}