Skip to content

Commit 1ebaa4f

Browse files
committed
Consistency in JS/TS light and dark themes (microsoft#796, microsoft#148)
1 parent 3d93cc4 commit 1ebaa4f

1 file changed

Lines changed: 35 additions & 14 deletions

File tree

src/vs/editor/browser/widget/media/tokens.css

Lines changed: 35 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@
351351
.monaco-editor.vs .token.entity { color: #A31515; }
352352
.monaco-editor.vs .token.entity.name { color: #800000; }
353353
.monaco-editor.vs .token.entity.name.tag { color: #800000; }
354-
.monaco-editor.vs .token.entity.name.function { color: #444444; }
354+
.monaco-editor.vs .token.entity.name.function { color: #000000; }
355355
.monaco-editor.vs .token.entity.name.class { color: #2B91AF; }
356356
.monaco-editor.vs .token.entity.name.selector { color: #800000; }
357357
.monaco-editor.vs .token.entity.other.selector { color: #800000; }
@@ -387,9 +387,14 @@
387387
.monaco-editor.vs .token.meta { color: #000000; }
388388
.monaco-editor.vs .token.meta.selector { color: #800000; }
389389
.monaco-editor.vs .token.meta.tag { color: #800000; }
390-
391-
.monaco-editor.vs .token.storage { color: gray };
392-
.monaco-editor.vs .token.storage.content { color: red };
390+
.monaco-editor.vs .token.meta.preprocessor { color: #0000FF; }
391+
.monaco-editor.vs .token.meta.preprocessor.string { color: #A31515; }
392+
.monaco-editor.vs .token.meta.preprocessor.numeric { color: #09885A; }
393+
.monaco-editor.vs .token.meta.object.type { color: #2B91AF; }
394+
.monaco-editor.vs .token.meta.object.type.variable { color: #000000; }
395+
396+
.monaco-editor.vs .token.storage { color: #0000FF; }
397+
.monaco-editor.vs .token.storage.content { color: red; }
393398
.monaco-editor.vs .token.storage.type { color: #0000FF; }
394399
.monaco-editor.vs .token.storage.modifier { color: #0000FF; }
395400
.monaco-editor.vs .token.cast.storage.type,
@@ -410,7 +415,9 @@
410415
.monaco-editor.vs .token.string.regexp { color: #811f3f; }
411416
/*.monaco-editor.vs .token.string.other*/
412417

413-
.monaco-editor.vs .token.support { color: #800000; }
418+
.monaco-editor.vs .token.support { color: #0000FF; }
419+
.monaco-editor.vs .token.support.function { color: #000000; }
420+
.monaco-editor.vs .token.support.method { color: #000000; }
414421
.monaco-editor.vs .token.support.type { color: red; }
415422
.monaco-editor.vs .token.support.type.json { color: #A31515; }
416423
.monaco-editor.vs .token.support.property-value { color: #0451A5; }
@@ -515,9 +522,14 @@
515522
.monaco-editor.vs-dark .token.meta { color: #D4D4D4; }
516523
.monaco-editor.vs-dark .token.meta.selector { color: #569CD6; }
517524
.monaco-editor.vs-dark .token.meta.tag { color: #CE9178; }
518-
519-
.monaco-editor.vs-dark .token.storage { color: #569CD6 };
520-
.monaco-editor.vs-dark .token.storage.content { color: #9CDCFE };
525+
.monaco-editor.vs-dark .token.meta.preprocessor { color: #569CD6; }
526+
.monaco-editor.vs-dark .token.meta.preprocessor.string { color: #CE9178; }
527+
.monaco-editor.vs-dark .token.meta.preprocessor.numeric { color: #B5CEA8; }
528+
.monaco-editor.vs-dark .token.meta.object.type { color: #569CD6; }
529+
.monaco-editor.vs-dark .token.meta.object.type.variable { color: #9CDCFE; }
530+
531+
.monaco-editor.vs-dark .token.storage { color: #569CD6; }
532+
.monaco-editor.vs-dark .token.storage.content { color: #9CDCFE; }
521533
.monaco-editor.vs-dark .token.storage.type { color: #569CD6; }
522534
.monaco-editor.vs-dark .token.storage.modifier { color: #569CD6; }
523535
.monaco-editor.vs-dark .token.annotation.storage.type,
@@ -540,7 +552,9 @@
540552
.monaco-editor.vs-dark .token.string.regexp { color: #D16969; }
541553
/*.monaco-editor.vs-dark .token.string.other*/
542554

543-
.monaco-editor.vs-dark .token.support { color: #A79873; }
555+
.monaco-editor.vs-dark .token.support { color: #569CD6; }
556+
.monaco-editor.vs-dark .token.support.function { color: #D4D4D4; }
557+
.monaco-editor.vs-dark .token.support.method { color: #D4D4D4; }
544558
.monaco-editor.vs-dark .token.support.type { color: #9CDCFE; }
545559
.monaco-editor.vs-dark .token.support.property-value { color: #CE9178; }
546560
/*.monaco-editor.vs-dark .token.support.function
@@ -635,7 +649,7 @@
635649
/*.monaco-editor.hc-black .token.markup.underline.link*/
636650
.monaco-editor.hc-black .token.markup.bold { font-weight: bold; }
637651
.monaco-editor.hc-black .token.markup.heading { color: #6796e6; }
638-
.monaco-editor.hc-black .token.markup.italic { font-style: italic;}
652+
.monaco-editor.hc-black .token.markup.italic { font-style: italic; }
639653
/*.monaco-editor.hc-black .token.markup.list
640654
.monaco-editor.hc-black .token.markup.list.numbered
641655
.monaco-editor.hc-black .token.markup.list.unnumbered
@@ -646,9 +660,14 @@
646660
.monaco-editor.hc-black .token.meta { color: #D4D4D4; }
647661
.monaco-editor.hc-black .token.meta.selector { color: #569CD6; }
648662
.monaco-editor.hc-black .token.meta.tag { color: #CE9178; }
649-
650-
.monaco-editor.hc-black .token.storage { color: #569CD6 };
651-
.monaco-editor.hc-black .token.storage.content { color: #9CDCFE };
663+
.monaco-editor.hc-black .token.meta.preprocessor { color: #569CD6; }
664+
.monaco-editor.hc-black .token.meta.preprocessor.string { color: #CE9178; }
665+
.monaco-editor.hc-black .token.meta.preprocessor.numeric { color: #B5CEA8; }
666+
.monaco-editor.hc-black .token.meta.object.type { color: #569CD6; }
667+
.monaco-editor.hc-black .token.meta.object.type.variable { color: #D4D4D4; }
668+
669+
.monaco-editor.hc-black .token.storage { color: #569CD6; }
670+
.monaco-editor.hc-black .token.storage.content { color: #9CDCFE; }
652671
.monaco-editor.hc-black .token.storage.type { color: #569CD6; }
653672
.monaco-editor.hc-black .token.storage.modifier { color: #569CD6; }
654673
.monaco-editor.hc-black .token.annotation.storage.type,
@@ -671,7 +690,9 @@
671690
.monaco-editor.hc-black .token.string.regexp { color: #D16969; }
672691
/*.monaco-editor.hc-black .token.string.other*/
673692

674-
.monaco-editor.hc-black .token.support { color: #800000; }
693+
.monaco-editor.hc-black .token.support { color: #569CD6; }
694+
.monaco-editor.hc-black .token.support.function { color: #D4D4D4; }
695+
.monaco-editor.hc-black .token.support.method { color: #D4D4D4; }
675696
.monaco-editor.hc-black .token.support.type { color: #9CDCFE; }
676697
.monaco-editor.hc-black .token.support.property-value { color: #CE9178; }
677698
/*.monaco-editor.hc-black .token.support.function

0 commit comments

Comments
 (0)