Add default dark & light styles (#89)

This commit is contained in:
Christian Rocha
2019-12-10 15:45:19 +01:00
committed by Christian Muehlhaeuser
parent 81d39f19bc
commit 31ed1e73db
3 changed files with 172 additions and 96 deletions
+1 -1
View File
@@ -7,6 +7,6 @@ import (
)
func init() {
data := "PK\x03\x04\x14\x00\x08\x00\x08\x00Ta\x89O\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00 \x00dark.jsonUT\x05\x00\x01\xc19\xee]\x94T]\x8e\xd30\x10~\xcf)F\xc3K+mV\xbb\xe9v\x81\x88\xe5\x00\xbc\xf2HP\xe5\xc4nb\xc5?\x91\xe3H\x15Q$\xee\xc0\x01\x90\xb8\x04\xf7\xe1\x04\x1c\x01\x85\xa6q\xda\x98\xb4<\xfa\xf3\xf7\xcd\xf7yf\xe46\x00@\xaa\xb3F2e1\x86\xfe\x0c\x80\\\xd1\xe39\xba;\x02)\xc9\xca\xdc\xe8F\xd1]\xa6\x856\x18\x03F\x9b'\x1c\xae+\xc3\xf6\xfc\xd0\x83\x89:au\xb3\x1f\xb1Da\x00\xd0\xf57(\xb8*\x9d\xd3X\xed1\xda\x9c\x94\x8d\xa2\xcc\x08\xae\x18\xc6`M\xc3f&\xab\xb9\xc7\xfa\xdc`g\xd9\xc1.\xbb\xa4Z\xd0\xc1`\x94rIr\xb6,s)>\xfd\xfe\xfe\xed'\xcc\xa3|\xc6\xf3z\xff\xca\xf2\xc6\xf1\nF(W\xb9#]k\xe8 \x93\xc4\xe4\\a\x0cOw\x97\x91\xb7\xb80\xbb\xed\xeb\x89\xf9\xa3\xf3\xddk#I\x1f\x16_\xdeC\xdb\xae>h\xae`\xf5\xb1\x12\xdc\xc2}\xff\x0eH0\xc15$\x08 \xae\xbb\x0e\xde\xbd\xcc\xa2D\xf3\x06/$y~;I\x12\xf9\x92\xbc\x82\xb6\xfd\xeb\xddu\x8ejI*&\x93r}\x18\x19\x151$7\xa4*|\xac\xff\xebV\xb4\xd9:\xe7LS\xdf\x8aD\x0f\x0f\xe7\x9c]*tV\xdeb\xdeK\x07\xcc\x16L\xf6\xd5\xb1\xd6\x82\x18\xfe\x85\xd1\x90\x12S\xba\xcaLN\x1f\xc4-\x11<\xbb\xdc\xe2\xda\x1a=]&\xdf\xa6\x0b^\xdb[\xb2]k\xcc\xf3d\xd9-\x93\xbe\xf9\xfd\xfa\xfa\xc37A\xa6\x1a\xc9\x0c\xb1\\+\x9f\xea\xde\xa7)\x8c\x8f\x9a\xa80\x0c\x87/&\xe8\x82?\x01\x00\x00\xff\xffPK\x07\x088\xdeqx\x8f\x01\x00\x00\xd4\x04\x00\x00PK\x03\x04\x14\x00\x08\x00\x08\x00\x13x\x82O\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\n\x00 \x00light.jsonUT\x05\x00\x01\x16'\xe5]\x84\x91MN\xc40\x0c\x85\xf7s\n\xcb+\x90\xca\x82\xbfMo\xc0\x19\x10\x1au\x1aOc\xe1$\xa3\xd4\x95F $\xce\xc2\xd18 \n\x14\x920-,\xba\xa8\xf3\xfc\xbeg\xfby\x03\x00\x80\xc2\xfe\x11[\xf8\xfa\x03\xc0>H\x88\xd8\x02^\xdd\xdcb\xf3]\x9d\xbc\xa1(\xec [\xd08\xd1\xcf\xc3!\xd2\x9e\x8fI\x7f\x96\xd5\xe3\xb4\x9f\x8b\xe7\xf8Y{i2l\xabt\xd4e\xe2uA\xdc\x0513\xac\xb2`\xd7\x0d\xf4\x7f\xe0\x9c\xeb\xfe.u\xb4\xb0\x14\xef\x01O\xbd\xff\xceW\xe9-u\x86\xfdP\x8a\x8b\xd8\xcd\x89\xc1e\xdd\xde\x07\xb32\xc9oPRnw\x12\xfa\x95S\x95\x8bSK.\xd9\xe2\x18\xa4\x8b\xfcD\xe6Bx\xb0Z;\x92;\xd8\xd2\x8b\xb5\x13\xee\x97\x16>j\x0c\xab3\xd6\xebSr\xa5.\xdf\xe0\xfd\xf5\x0df\xfe&}\x1f\x01\x00\x00\xff\xffPK\x07\x08\xac\xc6\xad\xf0\xdf\x00\x00\x00|\x02\x00\x00PK\x03\x04\x14\x00\x08\x00\x08\x00\xe5\x95\x87O\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\n\x00 \x00notty.jsonUT\x05\x00\x01\xaf\xf3\xeb]|\x92QJ\xc40\x10\x86\xdf{\x8a!\xbeh\xd9\x8a\xeecq}\xf7\x0c\xae\xb8\xd9v\xda\x86m&%MA\x90\x05\xcf\xe2\xd1<\x89\x94\xadL\xdc\x0c},\xfd\xbf/\x7f2\xf3\x99\x01\xa8\xdaU\x93E\n\xaa\x84\xf9\x1b@\x8dS\xd3\x98\x0fU\x82\xda\x93\xca\x00\xce\x9b9\xd7\x1b:qf\xf0\xb8dn\xd5\xe6\x1a\xbbc\xcaX\xdd\xa2\x84\xbd\xbe\xcc\x7fJH\xe97\xa6;\xd4\xb5\xa1V\xe2\xf7\xf4G\x1a\xaa/\xf5\xb7\xcc=\xca\xc8\xeeY8\x0f\x9ev\x89\xea\x81U[Yu\x03\\3\xe8c\x1f]R(4h\xaf[\xaf\x87n5U\xb9Z|\xabCZ\xfa\xa0\xfeQ\xef\xc7\xdeU\xa7U9\xda\xf8t\x96\xe7\xa9<g\xf9\x18\xbc\x93\x07\x90K`\x1e\xef\xcb\x18V\x0b\x99\x80V\x12\xff|}Go\x8b4Y\xf4:\x18GR\xf8>\x8av\x9e\x13\x8d\xf3V\x87\xcb\xa8\x8a\xa2X\x169;g\xbf\x01\x00\x00\xff\xffPK\x07\x08}\x96v\xe0\xee\x00\x00\x00\xf4\x02\x00\x00PK\x01\x02\x14\x03\x14\x00\x08\x00\x08\x00Ta\x89O8\xdeqx\x8f\x01\x00\x00\xd4\x04\x00\x00 \x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\xa4\x81\x00\x00\x00\x00dark.jsonUT\x05\x00\x01\xc19\xee]PK\x01\x02\x14\x03\x14\x00\x08\x00\x08\x00\x13x\x82O\xac\xc6\xad\xf0\xdf\x00\x00\x00|\x02\x00\x00\n\x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\xa4\x81\xcf\x01\x00\x00light.jsonUT\x05\x00\x01\x16'\xe5]PK\x01\x02\x14\x03\x14\x00\x08\x00\x08\x00\xe5\x95\x87O}\x96v\xe0\xee\x00\x00\x00\xf4\x02\x00\x00\n\x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\xa4\x81\xef\x02\x00\x00notty.jsonUT\x05\x00\x01\xaf\xf3\xeb]PK\x05\x06\x00\x00\x00\x00\x03\x00\x03\x00\xc2\x00\x00\x00\x1e\x04\x00\x00\x00\x00"
data := "PK\x03\x04\x14\x00\x08\x00\x08\x00Z\x18\x8aO\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00 \x00dark.jsonUT\x05\x00\x01\xdc\n\xef]\xacT[\xae\x9b0\x10\xfdg\x15\x96\xf3\xdb{\x95\x00\x89Z>\xfa\xdf=DB\x06\x0f\xc4\x8a\x1f\xa91R\xa4\x08\xa9k\xe9\xd2\xba\x92\xcay\x8d\x03\xce\xe3J\xe1o\x0e\x9es\xce\x8c\xc7sH\x08\xa1\xdc\xd4\xbd\x02\xedhA|L\x08\x15\x9a\x9f\xe2\xfc\xdb \xd8Yh\xc4\x9e\x16\x84\xae\xf5Z\xd33\xda\xf5M\x04\xad\x8d4\xd6\x83\xe92\xa5 !\x83\xc7\xe9f\x81\xf4\x8d\xb1\x8ayzJ\x0e\x87O\x07{7\x0c\xe41i\xc5\xeamkM\xafyy\xe5_eS\xc9\xf4\xfb5\xc3HN\x0b\xe2l\x0fh\"E\x13aI1\xed\x0b\x86fg3\xb4;Q\xce~<\x14\xceb\xd5\xcfb\x8c1\x0f\xaf\xaa\xe4wT\xde,\xb3\xbc'\xf3f\x9d\xd5]\x9d/\x0b-GB\x0d\x93\x1d*y&\xafu\x8a\xa4\xe8\x82H8P\xb1\xa9\xf9\xf7\xe7/\xc1\xf1\x06\xdd+\xb0\xcc \xa3c\x87?\x83\xa3R\xe8myQ|\xe6\xf3\xa6!>3\xd6\x92I/z\xcd\xc1J\xa1\xe1\xcc0i\xc7\x1c\xed\x08\xc5Z\x18\xf9A\xea_\xfeo\x11<\xd3\x8f\x9f\xd3G\x97g#:dz\xe6$]\x04;\xa26\x1c^\xdc\x12\xb1}\x90f\xab\xa9\xb7yv\xcb_V\xd2\xd4A\x17\x15\xb3\xad\xd0\xc1\xaa\x0b\xca\xca1\xd5\xb1J\x02\x0e\x05\xa8\xdd\xe6\xcaq\x1c\x12&E=\xbe\xaf\xceY\xa3\xdb\xf0\\t\xccm\xac\xe6\xb5\xfe8\x7f\xb1\xcd\x9a\x07\x17x,\xa8\xfc\xdd\x1b\x17\x18\xe4 1\xe8L\xe3*\x0bl\x8b\xd0\x86Y>\x86\x9c\x92\xd8\x9d\x00\xebv\xec8\xd4C2$\xff\x03\x00\x00\xff\xffPK\x07\x08cC\x86\xae\x8f\x01\x00\x001\x06\x00\x00PK\x03\x04\x14\x00\x08\x00\x08\x00\xe6\x16\x8aO\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\n\x00 \x00light.jsonUT\x05\x00\x01\x10 \xef]\xacT[\xae\x9b0\x10\xfdg\x15\x96\xf3\xdbD)\x90\xb4\xe5\xa3\xff\xddC$d\xf0@\xac\xf8\x91\x1a#E\x8a\x90\xba\x96.\xed\xae\xe4\xcay\x8d/8\xb9\x91n\xf8\x9b\x83\xe7\x9c3\xc3\xc1\xc7\x84\x10\xcaM\xdd+\xd0\x8e\x16\xc4\xd7\x84P\xa1\xf9\xb9\xce\xbf\x9d\x81\xbd\x85F\x1chA\xe8Fo4\xbd\xa0]\xdfD\xd0\xdaHc=\x98f9M\x08\x19<N\xb7\xdf\x91\xbe1V1OO\xc9\xf1\xb8ppp\xc3@\x1e\x93V\xac\xde\xb5\xd6\xf4\x9a\x977\xfeu6\x95L\x7f\xde:\x8c\xe4\xb4 \xce\xf6\x80&R4\x11\x8e\x14\xd3\xbebhv6C\xbbS\xe5\x1f\x0f\x85\xb3\xd8\xf4\xb3\x18c\xcc\xc3\xb3*\xf9\x1d\x95\x17\xcb\xac\xee\xc9\xbcXg}W\xe7\xcbB\x0d\x93\x1d*y&\xafu\xae\xa4\xe8\x82J8P\xb1\xd4\xbc\xfd\xfbO0\xde\xa0{\x05\x969at\xec\xf0\"8*\x85\xde\x95W\xc5\xb1\xcf_\x8f\x16\xe2;c+\x99\xec\xa2\xd7\x1c\xac\x14\x1a.\x0c\xe3udk\xb4#\x14ka\xe4\x07\xa9\xff\xf8\xb7E\xf0\x9b\xce\x7fO\x97\x9bg#:d\xfa\xccI\xba\\aom8<yK\xc4\xee\x83t\x95O\xbd-\xb3\x8f\xfce%M\x1dlQ1\xdb\n\x1d\\u\xc1XKlu\xac\x92\x80\xa1\x00\xb5\xdf\xde8N!aR\xd4\xe3\xef\xd59kt\x1b\x9e\x8b\xc6\xdc\xc6f\xde\xe8\xf9\xe5\x89\xc59\xb4v\x1a\xa8\xfc\xdb\x1b\x17\x18\xe4 \xb1\xe8L\xe3*\x0bl\x87\xd0\x96Y>\x86\x9c\x92\xb8\x9d\x00\xeb\xf6\xec\x14\xea!\x19\x92\xf7\x00\x00\x00\xff\xffPK\x07\x08\xbd\xb7My\x8c\x01\x00\x001\x06\x00\x00PK\x03\x04\x14\x00\x08\x00\x08\x00<\x9c\x88O\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\n\x00 \x00notty.jsonUT\x05\x00\x01%P\xed]|\x92QJ\xc40\x10\x86\xdf{\x8a!\xbeh\xd9\x8a\xeecq}\xf7\x0c\xae\xb8\xd9v\xda\x86m&%MA\x90\x05\xcf\xe2\xd1<\x89\x94\xadL\xdc\x0c},\xfd\xbf/\x7f2\xf3\x99\x01\xa8\xdaU\x93E\n\xaa\x84\xf9\x1b@\x8dS\xd3\x98\x0fU\x82\xda\x93\xca\x00\xce\x9b9\xd7\x1b:qf\xf0\xb8dn\xd5\xe6\x1a\xbbc\xcaX\xdd\xa2\x84\xbd\xbe\xcc\x7fJH\xe97\xa6;\xd4\xb5\xa1V\xe2\xf7\xf4G\x1a\xaa/\xf5\xb7\xcc=\xca\xc8\xeeY8\x0f\x9ev\x89\xea\x81U[Yu\x03\\3\xe8c\x1f]R(4h\xaf[\xaf\x87n5U\xb9Z|\xabCZ\xfa\xa0\xfeQ\xef\xc7\xdeU\xa7U9\xda\xf8t\x96\xe7\xa9<g\xf9\x18\xbc\x93\x07\x90K`\x1e\xef\xcb\x18V\x0b\x99\x80V\x12\xff|}Go\x8b4Y\xf4:\x18GR\xf8>\x8av\x9e\x13\x8d\xf3V\x87\xcb\xa8\x8a\xa2X\x169;g\xbf\x01\x00\x00\xff\xffPK\x07\x08}\x96v\xe0\xee\x00\x00\x00\xf4\x02\x00\x00PK\x01\x02\x14\x03\x14\x00\x08\x00\x08\x00Z\x18\x8aOcC\x86\xae\x8f\x01\x00\x001\x06\x00\x00 \x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\xa4\x81\x00\x00\x00\x00dark.jsonUT\x05\x00\x01\xdc\n\xef]PK\x01\x02\x14\x03\x14\x00\x08\x00\x08\x00\xe6\x16\x8aO\xbd\xb7My\x8c\x01\x00\x001\x06\x00\x00\n\x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\xa4\x81\xcf\x01\x00\x00light.jsonUT\x05\x00\x01\x10 \xef]PK\x01\x02\x14\x03\x14\x00\x08\x00\x08\x00<\x9c\x88O}\x96v\xe0\xee\x00\x00\x00\xf4\x02\x00\x00\n\x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\xa4\x81\x9c\x03\x00\x00notty.jsonUT\x05\x00\x01%P\xed]PK\x05\x06\x00\x00\x00\x00\x03\x00\x03\x00\xc2\x00\x00\x00\xcb\x04\x00\x00\x00\x00"
fs.Register(data)
}
+77 -58
View File
@@ -1,78 +1,97 @@
{
"document": {
"indent": 2,
"background_color": "234",
"prefix": "\n",
"suffix": "\n\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",
"suffix": "\n",
"margin": 4,
"color": "15",
"background_color": "57"
"indent": 4,
"prefix": "\n\n",
"suffix": "\n\n",
"color": "252"
},
"h1": {
"format": "=> {{(Join (Split .text \"\") \" \")}} <=",
"margin": 2,
"bold": true,
"background_color": "69"
"format": " {{.text}} ",
"suffix": "\n\n",
"background_color": "63",
"color": "228",
"bold": true
},
"h2": {
"format": "# {{.text}}"
"prefix": "\n",
"suffix": "\n",
"format": "## {{.text}}",
"color": "39",
"bold": true
},
"table": {
"margin": 4
"h3": {
"format": "### {{.text}}",
"suffix": "\n",
"color": "39",
"bold": true
},
"paragraph": {
"margin": 4,
"color": "15",
"background_color": "235"
"h4": {
"format": "#### {{.text}}",
"suffix": "\n",
"color": "39",
"bold": true
},
"h5": {
"format": "##### {{.text}}",
"suffix": "\n",
"color": "39",
"bold": true
},
"h6": {
"format": "###### {{.text}}",
"suffix": "\n",
"color": "35",
"bold": false
},
"text": {},
"list": {},
"item": {
"prefix": "• "
},
"enumeration": {
"prefix": ". "
},
"link_text": {
"color": "35",
"bold": true
},
"link": {
"format": "{{.text}}",
"underline": true,
"color": "30"
},
"image_text": {
"format": "Image: {{.text}} ->",
"color": "243"
},
"image": {
"underline": true,
"color": "212"
},
"code": {
"color": "200"
"format": " {{.text}} ",
"background_color": "236",
"color": "203"
},
"code_block": {
"margin": 4,
"color": "200",
"theme": "solarized-dark"
"color": "244"
},
"table": {},
"emph": {
"italic": true
"italic": true
},
"strong": {
"bold": true
},
"list": {
"margin": 4,
"color": "15",
"background_color": "236"
},
"item": {
"format": "• {{.text}}"
},
"enumeration": {
"format": ". {{.text}}"
"bold": true
},
"hr": {
"format": "\n---\n"
}
"format": "\n--------\n",
"color": "240"
},
"block_quote": {},
"del": {},
"softbreak": {},
"hardbreak": {},
"html_block": {},
"html_span": {}
}
+94 -37
View File
@@ -1,40 +1,97 @@
{
"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": {
"document": {
"indent": 4,
"prefix": "\n\n",
"suffix": "\n\n",
"color": "234"
},
"h1": {
"format": " {{.text}} ",
"suffix": "\n\n",
"background_color": "63",
"color": "228",
"bold": true
},
"h2": {
"prefix": "\n",
"suffix": "\n",
"format": "## {{.text}}",
"color": "27",
"bold": true
},
"h3": {
"format": "### {{.text}}",
"suffix": "\n",
"color": "27",
"bold": true
},
"h4": {
"format": "#### {{.text}}",
"suffix": "\n",
"color": "27",
"bold": true
},
"h5": {
"format": "##### {{.text}}",
"suffix": "\n",
"color": "27",
"bold": true
},
"h6": {
"format": "###### {{.text}}",
"suffix": "\n",
"color": "27",
"bold": false
},
"text": {},
"list": {},
"item": {
"prefix": "• "
},
"enumeration": {
"prefix": ". "
},
"link_text": {
"color": "29",
"bold": true
},
"link": {
"format": "{{.text}}",
"underline": true,
"color": "36"
},
"image_text": {
"format": "Image: {{.text}} ->",
"color": "243"
},
"image": {
"underline": true,
"color": "205"
},
"code": {
"format": " {{.text}} ",
"background_color": "254",
"color": "203"
},
"code_block": {
"margin": 4,
"color": "240"
},
"table": {},
"emph": {
"italic": true
},
"strong": {
},
"strong": {
"bold": true
},
"item": {
"prefix": "• "
}
}
},
"hr": {
"format": "\n--------\n",
"color": "240"
},
"block_quote": {},
"del": {},
"softbreak": {},
"hardbreak": {},
"html_block": {},
"html_span": {}
}