Skip to content

Commit 3e81b8f

Browse files
committed
update theme
1 parent 49773f5 commit 3e81b8f

1 file changed

Lines changed: 55 additions & 15 deletions

File tree

  • src/components/MonacoMarkdownEditor

src/components/MonacoMarkdownEditor/theme.js

Lines changed: 55 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,33 @@ export default {
33
'inherit': true,
44
'rules': [
55
{
6-
'foreground': '888888',
6+
'foreground': '999999',
77
'token': 'comment',
88
},
99
{
10-
'foreground': '5d90cd',
10+
'foreground': 'e88501',
1111
'token': 'string',
1212
},
13+
{
14+
'foreground': '999999',
15+
'token': 'string.link',
16+
},
17+
{
18+
'foreground': '999999',
19+
'token': 'variable.source',
20+
},
21+
{
22+
'foreground': '4C51BF',
23+
'token': 'variable',
24+
},
25+
{
26+
'foreground': '2B6CB0',
27+
'token': 'markup.list',
28+
},
29+
{
30+
'foreground': '2B6CB0',
31+
'token': 'markup.underline.link',
32+
},
1333
{
1434
'foreground': '46a609',
1535
'token': 'constant.numeric',
@@ -30,59 +50,79 @@ export default {
3050
'fontStyle': 'bold',
3151
'token': 'markup.bold',
3252
},
53+
{
54+
'fontStyle': 'italic',
55+
'token': 'markup.italic',
56+
},
3357
// ie bold/italic/heading/list marks
3458
{
35-
'foreground': 'B9B9B9',
59+
'foreground': '999999',
3660
'token': 'punctuation.definition.constant.markdown',
3761
},
3862
{
39-
'foreground': 'B9B9B9',
63+
'foreground': '999999',
4064
'token': 'punctuation.definition.bold.markdown',
4165
},
4266
{
43-
'foreground': 'B9B9B9',
67+
'foreground': '999999',
4468
'token': 'punctuation.definition.italic.markdown',
4569
},
4670
{
47-
'foreground': 'B9B9B9',
71+
'foreground': '999999',
4872
'token': 'punctuation.definition.heading.markdown',
4973
},
5074
{
51-
'foreground': 'B9B9B9',
75+
'foreground': '999999',
5276
'token': 'punctuation.definition.heading.begin.markdown',
5377
},
5478
{
55-
'foreground': 'B9B9B9',
79+
'foreground': '999999',
5680
'token': 'punctuation.definition.heading.end.markdown',
5781
},
5882
{
59-
'foreground': 'B9B9B9',
83+
'foreground': '999999',
6084
'token': 'punctuation.definition.heading.setext.markdown',
6185
},
6286
{
63-
'foreground': 'B9B9B9',
87+
'foreground': '999999',
6488
'token': 'punctuation.definition.list_item.markdown',
6589
},
6690
{
67-
'foreground': 'B9B9B9',
91+
'foreground': '999999',
6892
'token': 'markup.list.numbered.bullet.markdown',
6993
},
7094
{
71-
'foreground': 'B9B9B9',
95+
'foreground': '999999',
7296
'token': 'punctuation.definition.bold.begin.markdown',
7397
},
7498
{
75-
'foreground': 'B9B9B9',
99+
'foreground': '999999',
76100
'token': 'punctuation.definition.bold.end.markdown',
77101
},
78102
{
79-
'foreground': 'B9B9B9',
103+
'foreground': '999999',
80104
'token': 'punctuation.definition.italic.begin.markdown',
81105
},
82106
{
83-
'foreground': 'B9B9B9',
107+
'foreground': '999999',
84108
'token': 'punctuation.definition.italic.end.markdown',
85109
},
110+
{
111+
'foreground': '999999',
112+
'token': 'punctuation.definition.variable.begin.markdown',
113+
},
114+
{
115+
'foreground': '999999',
116+
'token': 'punctuation.definition.variable.end.markdown',
117+
},
118+
{
119+
'foreground': '999999',
120+
'token': 'punctuation.definition.link.begin.markdown',
121+
},
122+
{
123+
'foreground': '999999',
124+
'token': 'punctuation.definition.link.end.markdown',
125+
},
86126

87127
{
88128
'foreground': 'b7791f',

0 commit comments

Comments
 (0)