Skip to content

Commit 49773f5

Browse files
committed
update editor theme
1 parent a70ea9e commit 49773f5

1 file changed

Lines changed: 63 additions & 0 deletions

File tree

  • src/components/MonacoMarkdownEditor

src/components/MonacoMarkdownEditor/theme.js

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,68 @@ export default {
2222
'foreground': 'b7791f',
2323
'token': 'keyword',
2424
},
25+
{
26+
'fontStyle': 'bold',
27+
'token': 'markup.heading',
28+
},
29+
{
30+
'fontStyle': 'bold',
31+
'token': 'markup.bold',
32+
},
33+
// ie bold/italic/heading/list marks
34+
{
35+
'foreground': 'B9B9B9',
36+
'token': 'punctuation.definition.constant.markdown',
37+
},
38+
{
39+
'foreground': 'B9B9B9',
40+
'token': 'punctuation.definition.bold.markdown',
41+
},
42+
{
43+
'foreground': 'B9B9B9',
44+
'token': 'punctuation.definition.italic.markdown',
45+
},
46+
{
47+
'foreground': 'B9B9B9',
48+
'token': 'punctuation.definition.heading.markdown',
49+
},
50+
{
51+
'foreground': 'B9B9B9',
52+
'token': 'punctuation.definition.heading.begin.markdown',
53+
},
54+
{
55+
'foreground': 'B9B9B9',
56+
'token': 'punctuation.definition.heading.end.markdown',
57+
},
58+
{
59+
'foreground': 'B9B9B9',
60+
'token': 'punctuation.definition.heading.setext.markdown',
61+
},
62+
{
63+
'foreground': 'B9B9B9',
64+
'token': 'punctuation.definition.list_item.markdown',
65+
},
66+
{
67+
'foreground': 'B9B9B9',
68+
'token': 'markup.list.numbered.bullet.markdown',
69+
},
70+
{
71+
'foreground': 'B9B9B9',
72+
'token': 'punctuation.definition.bold.begin.markdown',
73+
},
74+
{
75+
'foreground': 'B9B9B9',
76+
'token': 'punctuation.definition.bold.end.markdown',
77+
},
78+
{
79+
'foreground': 'B9B9B9',
80+
'token': 'punctuation.definition.italic.begin.markdown',
81+
},
82+
{
83+
'foreground': 'B9B9B9',
84+
'token': 'punctuation.definition.italic.end.markdown',
85+
},
86+
2587
{
2688
'foreground': 'b7791f',
2789
'token': 'support.constant.property-value',
@@ -114,5 +176,6 @@ export default {
114176
'editor.lineHighlightBackground': '#FFFBD1',
115177
'editorCursor.foreground': '#000000',
116178
'editorWhitespace.foreground': '#BFBFBF',
179+
'textLink.foreground': '#666',
117180
},
118181
}

0 commit comments

Comments
 (0)