Merge pull request #257 from github/gfm-styles

Simple styles for GFM
This commit is contained in:
Justin Palmer
2013-02-12 13:59:01 -08:00
7 changed files with 53 additions and 0 deletions

View File

@@ -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)

View File

@@ -62,6 +62,7 @@
}
{
'match': '\\!?\\[([^\\]]*)\\]\\(([^\\)]+)\\)'
'name': 'link'
'captures':
'1': 'name': 'entity.gfm'
'2': 'name': 'markup.underline.gfm'

15
static/markdown.css Normal file
View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -8,4 +8,5 @@
'command-panel.css'
'command-logger.css'
'blurred.css'
'markdown.css'
]

View File

@@ -0,0 +1,15 @@
.source.gfm {
color: #444;
}
.gfm .markup.heading {
color: #111;
}
.gfm .link {
color: #888;
}
.gfm .variable.list {
color: #888;
}

View File

@@ -8,4 +8,5 @@
'command-panel.css'
'command-logger.css'
'blurred.css'
'markdown.css'
]