increase REPL contrast

pull/1890/head
Rich Harris 7 years ago
parent c507e790b4
commit bacf2ccc35

@ -1,6 +1,6 @@
{ {
"name": "svelte", "name": "svelte",
"version": "3.0.0-alpha7", "version": "3.0.0-alpha8",
"description": "The magical disappearing UI framework", "description": "The magical disappearing UI framework",
"module": "index.mjs", "module": "index.mjs",
"main": "index.js", "main": "index.js",

@ -3,12 +3,12 @@
.CodeMirror { .CodeMirror {
/* copied colors over from prism */ /* copied colors over from prism */
--background: var(--back-light); --background: var(--back-light);
--base: #9b978b; --base: hsl(45, 7%, 45%);
--comment: #afbfcf; --comment: hsl(210, 25%, 60%);
--keyword: #5ba3d3; --keyword: hsl(204, 58%, 45%);
--function: #db794b; --function: hsl(19, 67%, 45%);
--string: #b69b61; --string: hsl(41, 37%, 45%);
--number: #86af75; --number: hsl(102, 27%, 50%);
--tags: var(--function); --tags: var(--function);
--important: var(--string); --important: var(--string);
@ -35,7 +35,7 @@
.CodeMirror-gutters { .CodeMirror-gutters {
border-right: 1px solid #ddd; border-right: 1px solid #ddd;
background-color: #f7f7f7; background-color: var(--back-light);
white-space: nowrap; white-space: nowrap;
} }
.CodeMirror-linenumber { .CodeMirror-linenumber {

@ -77,7 +77,7 @@ a:focus {
/* theme vars ----------------------------- */ /* theme vars ----------------------------- */
.theme-default { .theme-default {
--back: #ffffff; --back: #ffffff;
--back-light: #f6f7f8; --back-light: #fbfcfd;
--prime: #ff3e00; --prime: #ff3e00;
--second: #676778; --second: #676778;
--flash: #40b3ff; --flash: #40b3ff;

@ -7,12 +7,12 @@
/* colors --------------------------------- */ /* colors --------------------------------- */
pre[class*='language-'] { pre[class*='language-'] {
--background: var(--back-light); --background: var(--back-light);
--base: #9b978b; --base: hsl(45, 7%, 45%);
--comment: #afbfcf; --comment: hsl(210, 25%, 60%);
--keyword: #5ba3d3; --keyword: hsl(204, 58%, 45%);
--function: #db794b; --function: hsl(19, 67%, 45%);
--string: #b69b61; --string: hsl(41, 37%, 45%);
--number: #86af75; --number: hsl(102, 27%, 50%);
--tags: var(--function); --tags: var(--function);
--important: var(--string); --important: var(--string);
} }

Loading…
Cancel
Save