Embed styles in gold library

This commit is contained in:
Christian Muehlhaeuser
2019-12-06 01:34:27 +01:00
parent 6f31dbf5ec
commit 6fe32ed145
10 changed files with 200 additions and 5 deletions
+13
View File
@@ -0,0 +1,13 @@
# Gold Styles Gallery
## Dark
`gold -s dark`
![Gold Dark Style](https://github.com/charmbracelet/gold/raw/master/styles/dark.png)
## Light
`gold -s light`
![Gold Light Style](https://github.com/charmbracelet/gold/raw/master/styles/light.png)
+75
View File
@@ -0,0 +1,75 @@
{
"document": {
"indent": 4,
"background_color": "234",
"prefix": "\n",
"suffix": "\n"
},
"link": {
"color": "123",
"underline": true,
"prefix": "(",
"suffix": ")"
},
"link_text": {
"color": "123",
"bold": true
},
"image": {
"color": "123",
"prefix": "[📷 ",
"suffix": "]"
},
"image_text": {
"color": "8"
},
"heading": {
"prefix": "\n",
"margin": 4,
"color": "15",
"background_color": "57"
},
"h1": {
"prefix": "\n=> ",
"suffix": " <=",
"margin": 2,
"bold": true,
"background_color": "69"
},
"h2": {
"prefix": "\n# "
},
"table": {
"margin": 4
},
"paragraph": {
"margin": 4,
"color": "15",
"background_color": "235"
},
"code": {
"color": "200"
},
"code_block": {
"margin": 4,
"color": "200",
"theme": "solarized-dark"
},
"emph": {
"italic": true
},
"strong": {
"bold": true
},
"list": {
"margin": 4,
"color": "15",
"background_color": "52"
},
"item": {
"prefix": "• "
},
"enumeration": {
"prefix": ". "
}
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

+40
View File
@@ -0,0 +1,40 @@
{
"link": {
"color": "245",
"underline": true,
"prefix": "(",
"suffix": ")"
},
"link_text": {
"color": "235",
"bold": true
},
"image": {
"color": "245",
"prefix": "[Image: ",
"suffix": "]"
},
"image_text": {
"color": "235"
},
"heading": {
"bold": true,
"color": "1"
},
"code": {
"color": "235"
},
"code_block": {
"color": "235",
"theme": "solarized-light"
},
"emph": {
"italic": true
},
"strong": {
"bold": true
},
"item": {
"prefix": "• "
}
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB