Skip to content

Commit

Permalink
Adv markdown theme
Browse files Browse the repository at this point in the history
  • Loading branch information
moughxyz committed Oct 31, 2018
1 parent deda5d3 commit d1861bf
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
14 changes: 14 additions & 0 deletions dist/dist.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/dist.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sn-theme-solarized-dark",
"version": "1.1.1",
"version": "1.1.2",
"main": "dist/dist.css",
"devDependencies": {
"grunt": "^1.0.1",
Expand Down
14 changes: 14 additions & 0 deletions src/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,15 @@ body {
color: var(--content-4) !important;
}

.editor-toolbar a.active, .editor-toolbar a:hover {
border-color: transparent;
background: var(--border-color);
}

.editor-toolbar.disabled-for-preview a:not(.no-disable) {
background: inherit;
}

.editor-preview-active, .editor-preview-active-side {
background-color: var(--background-1) !important;
border: 0 !important;
Expand All @@ -311,6 +320,11 @@ body {
border: 0 !important;
}

#sn-advanced-markdown-editor .editor-preview.editor-preview-active pre, #sn-advanced-markdown-editor .editor-preview-side.editor-preview-active-side pre {
background-color: var(--border-color);
padding: 20px;
}

/* Simple Markdown Editor */

#simple-markdown {
Expand Down

0 comments on commit d1861bf

Please sign in to comment.