Răsfoiți Sursa

Adjust cm6 light default theme

satof3 2 ani în urmă
părinte
comite
a151245340

+ 3 - 5
packages/editor/src/services/editor-theme/original-light.ts

@@ -12,14 +12,13 @@ export const originalLight: Extension = createTheme({
     foreground: '#24292e',
     selection: '#BBDFFF',
     selectionMatch: '#BBDFFF',
-    gutterBackground: '#fff',
-    gutterForeground: '#6e7781',
+    gutterBackground: '#FAF9F8',
+    gutterForeground: '#BCBBBA',
   },
   styles: [
     { tag: [t.standard(t.tagName), t.tagName], color: '#377148' },
     { tag: [t.comment, t.bracket], color: '#6a737d' },
     { tag: [t.className, t.propertyName], color: '#6f42c1' },
-    { tag: [t.variableName, t.attributeName, t.number, t.operator], color: '#516883' },
     { tag: [t.keyword, t.typeName, t.typeOperator, t.typeName], color: '#d73a49' },
     { tag: [t.name, t.quote], color: '#22863a' },
     { tag: [t.heading], color: '#24292e', fontWeight: 'bold' },
@@ -30,9 +29,8 @@ export const originalLight: Extension = createTheme({
     { tag: [t.url, t.escape, t.regexp, t.link], color: '#032f62' },
     { tag: t.link, textDecoration: 'underline' },
     { tag: t.strikethrough, textDecoration: 'line-through' },
-    { tag: [t.character], color: '#516883' },
+    { tag: [t.variableName, t.attributeName, t.number, t.operator, t.character, t.brace, t.processingInstruction, t.inserted], color: '#516883' },
     { tag: [t.strong], color: '#744763' },
-    { tag: [t.brace, t.processingInstruction, t.inserted], color: '#516883' },
     { tag: t.invalid, color: '#cb2431' },
   ],
 });