From b8b721c74bcb92bcfb837337856906c403487f05 Mon Sep 17 00:00:00 2001 From: Mo Bitar Date: Fri, 9 Feb 2018 14:48:33 -0600 Subject: [PATCH] Editor stlyes --- dist/dist.css | 22 +++++++++++++++++++--- dist/dist.css.map | 2 +- package.json | 2 +- src/main.scss | 23 ++++++++++++++++++++--- 4 files changed, 41 insertions(+), 8 deletions(-) diff --git a/dist/dist.css b/dist/dist.css index 5680bb7..6938c4b 100644 --- a/dist/dist.css +++ b/dist/dist.css @@ -43,17 +43,18 @@ --heading-text-color: var(--foreground-color); --bar-bg-color: var(--background-color); --link-color: #73b725; + --text-highlight-color: #A7A7C8; } /* General */ ::selection { - background: #A7A7C8 !important; + background: var(--text-highlight-color) !important; /* WebKit/Blink Browsers */ color: white; } ::-moz-selection { - background: #A7A7C8 !important; + background: var(--text-highlight-color) !important; /* Gecko Browsers */ color: white; } @@ -219,7 +220,11 @@ body { } .CodeMirror-selected { - background: var(--ui-component-bg-color) !important; + background: var(--text-highlight-color) !important; +} + +.CodeMirror-selectedtext { + color: white !important; } .CodeMirror-gutters { @@ -268,6 +273,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 { background-color: var(--editor-bg-color) !important; diff --git a/dist/dist.css.map b/dist/dist.css.map index a5ce2bc..5748757 100644 --- a/dist/dist.css.map +++ b/dist/dist.css.map @@ -1,6 +1,6 @@ { "version": 3, -"mappings": "AAAA,KAAM;EAEJ,kBAAkB,CAAC,QAAQ;EAC3B,kBAAkB,CAAC,QAAQ;EAC3B,iBAAiB,CAAC,QAAQ;EAE1B,UAAU;EACV,iBAAiB,CAAC,wBAAwB;EAC1C,0BAA0B,CAAC,wBAAwB;EAEnD,wBAAwB,CAAC,uBAAuB;EAEhD,eAAe,CAAC,wBAAwB;EACxC,w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C;EACvC,gBAAgB,EAAE,+BAA+B;;;AAGlD,oCAAqC;EACpC,gBAAgB,EAAE,4BAA4B;;;AAG/C,iCAAkC;EACjC,KAAK,EAAE,yBAAyB;;;AAGjC,8BAA+B;EAC9B,KAAK,EAAE,sBAAsB;;;AAG9B,2BAA4B;EAC1B,YAAY,EAAE,8BAA8B", "sources": ["../src/main.scss"], "names": [], "file": "dist.css" diff --git a/package.json b/package.json index 3e1a5a8..98c6e90 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/main.scss b/src/main.scss index a1f6cc3..3210fb7 100644 --- a/src/main.scss +++ b/src/main.scss @@ -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; } @@ -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 { @@ -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 {