Skip to content

Commit

Permalink
Editor stlyes
Browse files Browse the repository at this point in the history
  • Loading branch information
moughxyz committed Feb 9, 2018
1 parent 7eb4ee0 commit b8b721c
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 8 deletions.
22 changes: 19 additions & 3 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-futura-titanium",
"version": "1.0.11",
"version": "1.0.111",
"main": "dist/dist.css",
"devDependencies": {
"grunt": "^1.0.1",
Expand Down
23 changes: 20 additions & 3 deletions src/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,19 @@
--heading-text-color: var(--foreground-color);
--bar-bg-color: var(--background-color);
--link-color: #73b725;

--text-highlight-color: #A7A7C8;
}

/* General */

::selection {
background: #A7A7C8 !important; /* WebKit/Blink Browsers */
background: var(--text-highlight-color) !important; /* WebKit/Blink Browsers */
color: white;
}

::-moz-selection {
background: #A7A7C8 !important; /* Gecko Browsers */
background: var(--text-highlight-color) !important; /* Gecko Browsers */
color: white;
}

Expand Down Expand Up @@ -239,7 +241,11 @@ body {
}

.CodeMirror-selected {
background: var(--ui-component-bg-color) !important;
background: var(--text-highlight-color) !important;
}

.CodeMirror-selectedtext {
color: white !important;
}

.CodeMirror-gutters {
Expand Down Expand Up @@ -277,6 +283,17 @@ body {
color: var(--editor-text-color) !important;
}

.editor-preview-active, .editor-preview-active-side {
background-color: var(--background-color) !important;
border: 0 !important;
border-left: 1px solid white !important;
color: var(--editor-text-color) !important;
}

.editor-preview-active {
border: 0 !important;
}

/* Simple Markdown Editor */

#simple-markdown {
Expand Down

0 comments on commit b8b721c

Please sign in to comment.