diff --git a/src/app/window.coffee b/src/app/window.coffee index 901c6dea8..255ba2f9b 100644 --- a/src/app/window.coffee +++ b/src/app/window.coffee @@ -124,6 +124,7 @@ requireStylesheet 'fuzzy-finder.css' requireStylesheet 'overlay.css' requireStylesheet 'popover-list.css' requireStylesheet 'notification.css' +requireStylesheet 'markdown.css' if nativeStylesheetPath = require.resolve("#{platform}.css") requireStylesheet(nativeStylesheetPath) diff --git a/src/packages/gfm.tmbundle/Syntaxes/gfm.cson b/src/packages/gfm.tmbundle/Syntaxes/gfm.cson index 066a345cc..95b3b8eb1 100644 --- a/src/packages/gfm.tmbundle/Syntaxes/gfm.cson +++ b/src/packages/gfm.tmbundle/Syntaxes/gfm.cson @@ -62,6 +62,7 @@ } { 'match': '\\!?\\[([^\\]]*)\\]\\(([^\\)]+)\\)' + 'name': 'link' 'captures': '1': 'name': 'entity.gfm' '2': 'name': 'markup.underline.gfm' diff --git a/static/markdown.css b/static/markdown.css new file mode 100644 index 000000000..b73e91bf0 --- /dev/null +++ b/static/markdown.css @@ -0,0 +1,15 @@ +.source.gfm { + -webkit-font-smoothing: antialiased; +} + +.gfm .markup.heading { + font-weight: bold; +} + +.gfm .bold { + font-weight: bold; +} + +.gfm .italic { + font-style: italic; +} \ No newline at end of file diff --git a/themes/atom-dark-ui/markdown.css b/themes/atom-dark-ui/markdown.css new file mode 100644 index 000000000..d1e0fc115 --- /dev/null +++ b/themes/atom-dark-ui/markdown.css @@ -0,0 +1,19 @@ +.source.gfm { + color: #999; +} + +.gfm .markup.heading { + color: #eee; +} + +.gfm .link { + color: #555; +} + +.gfm .variable.list { + color: #555; +} + +.gfm .link .entity { + color: #ddd; +} diff --git a/themes/atom-dark-ui/package.cson b/themes/atom-dark-ui/package.cson index 53831688d..759272a9d 100644 --- a/themes/atom-dark-ui/package.cson +++ b/themes/atom-dark-ui/package.cson @@ -8,4 +8,5 @@ 'command-panel.css' 'command-logger.css' 'blurred.css' + 'markdown.css' ] diff --git a/themes/atom-light-ui/markdown.css b/themes/atom-light-ui/markdown.css new file mode 100644 index 000000000..43ac710a5 --- /dev/null +++ b/themes/atom-light-ui/markdown.css @@ -0,0 +1,15 @@ +.source.gfm { + color: #444; +} + +.gfm .markup.heading { + color: #111; +} + +.gfm .link { + color: #888; +} + +.gfm .variable.list { + color: #888; +} \ No newline at end of file diff --git a/themes/atom-light-ui/package.cson b/themes/atom-light-ui/package.cson index 53831688d..759272a9d 100644 --- a/themes/atom-light-ui/package.cson +++ b/themes/atom-light-ui/package.cson @@ -8,4 +8,5 @@ 'command-panel.css' 'command-logger.css' 'blurred.css' + 'markdown.css' ]