@thienvu18/designable-react-settings-form 2.0.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/esm/SchemaField.d.ts +5115 -1578
  2. package/esm/SchemaField.js +76 -41
  3. package/esm/SettingsForm.d.ts +4 -4
  4. package/esm/SettingsForm.js +99 -49
  5. package/esm/components/BackgroundStyleSetter/index.d.ts +4 -4
  6. package/esm/components/BackgroundStyleSetter/index.js +95 -42
  7. package/esm/components/BorderRadiusStyleSetter/index.d.ts +4 -4
  8. package/esm/components/BorderRadiusStyleSetter/index.js +13 -10
  9. package/esm/components/BorderStyleSetter/index.d.ts +5 -5
  10. package/esm/components/BorderStyleSetter/index.js +121 -68
  11. package/esm/components/BoxShadowStyleSetter/index.d.ts +6 -6
  12. package/esm/components/BoxShadowStyleSetter/index.js +72 -24
  13. package/esm/components/BoxStyleSetter/index.d.ts +7 -7
  14. package/esm/components/BoxStyleSetter/index.js +98 -46
  15. package/esm/components/CollapseItem/index.d.ts +6 -6
  16. package/esm/components/CollapseItem/index.js +35 -15
  17. package/esm/components/ColorInput/index.d.ts +5 -5
  18. package/esm/components/ColorInput/index.js +35 -17
  19. package/esm/components/ColorInput/styles.less +0 -5
  20. package/esm/components/CornerInput/index.d.ts +7 -7
  21. package/esm/components/CornerInput/index.js +50 -21
  22. package/esm/components/DisplayStyleSetter/index.d.ts +7 -7
  23. package/esm/components/DisplayStyleSetter/index.js +62 -33
  24. package/esm/components/DrawerSetter/index.d.ts +6 -6
  25. package/esm/components/DrawerSetter/index.js +82 -42
  26. package/esm/components/DrawerSetter/styles.less +2 -2
  27. package/esm/components/FlexStyleSetter/index.d.ts +5 -5
  28. package/esm/components/FlexStyleSetter/index.js +160 -110
  29. package/esm/components/FoldItem/index.d.ts +9 -7
  30. package/esm/components/FoldItem/index.js +80 -46
  31. package/esm/components/FontStyleSetter/index.d.ts +4 -4
  32. package/esm/components/FontStyleSetter/index.js +169 -85
  33. package/esm/components/ImageInput/index.d.ts +7 -7
  34. package/esm/components/ImageInput/index.js +59 -39
  35. package/esm/components/InputItems/index.d.ts +19 -17
  36. package/esm/components/InputItems/index.js +42 -16
  37. package/esm/components/MonacoInput/config.d.ts +1 -1
  38. package/esm/components/MonacoInput/config.js +40 -38
  39. package/esm/components/MonacoInput/format.d.ts +4 -1
  40. package/esm/components/MonacoInput/format.js +33 -29
  41. package/esm/components/MonacoInput/index.d.ts +13 -13
  42. package/esm/components/MonacoInput/index.js +298 -212
  43. package/esm/components/MonacoInput/themes/chrome.d.ts +44 -38
  44. package/esm/components/MonacoInput/themes/chrome.js +105 -105
  45. package/esm/components/MonacoInput/themes/monokai.d.ts +34 -30
  46. package/esm/components/MonacoInput/themes/monokai.js +139 -139
  47. package/esm/components/PolyInput/index.d.ts +17 -17
  48. package/esm/components/PolyInput/index.js +96 -66
  49. package/esm/components/PositionInput/index.d.ts +7 -7
  50. package/esm/components/PositionInput/index.js +48 -21
  51. package/esm/components/PositionInput/styles.less +0 -1
  52. package/esm/components/SizeInput/index.d.ts +6 -2
  53. package/esm/components/SizeInput/index.js +44 -46
  54. package/esm/components/SizeInput/styles.less +0 -1
  55. package/esm/components/ValueInput/index.d.ts +2 -2
  56. package/esm/components/ValueInput/index.js +89 -72
  57. package/esm/components/index.d.ts +20 -20
  58. package/esm/components/index.js +20 -20
  59. package/esm/effects/index.d.ts +2 -2
  60. package/esm/effects/index.js +2 -2
  61. package/esm/effects/useLocales.d.ts +2 -2
  62. package/esm/effects/useLocales.js +57 -59
  63. package/esm/effects/useSnapshot.d.ts +2 -2
  64. package/esm/effects/useSnapshot.js +9 -9
  65. package/esm/index.d.ts +5 -5
  66. package/esm/index.js +5 -5
  67. package/esm/locales/en-US.d.ts +12 -12
  68. package/esm/locales/en-US.js +10 -10
  69. package/esm/locales/index.d.ts +1 -1
  70. package/esm/locales/index.js +5 -5
  71. package/esm/locales/ko-KR.d.ts +12 -12
  72. package/esm/locales/ko-KR.js +10 -10
  73. package/esm/locales/zh-CN.d.ts +12 -12
  74. package/esm/locales/zh-CN.js +10 -10
  75. package/esm/registry.d.ts +2 -2
  76. package/esm/registry.js +11 -11
  77. package/esm/shared/context.d.ts +2 -2
  78. package/esm/shared/context.js +2 -2
  79. package/esm/shared/loadScript.d.ts +5 -5
  80. package/esm/shared/loadScript.js +27 -28
  81. package/esm/styles.less +5 -4
  82. package/esm/types.d.ts +8 -8
  83. package/esm/types.js +1 -1
  84. package/lib/SchemaField.d.ts +5115 -1578
  85. package/lib/SchemaField.js +44 -44
  86. package/lib/SettingsForm.d.ts +4 -4
  87. package/lib/SettingsForm.js +108 -55
  88. package/lib/components/BackgroundStyleSetter/index.d.ts +4 -4
  89. package/lib/components/BackgroundStyleSetter/index.js +106 -48
  90. package/lib/components/BorderRadiusStyleSetter/index.d.ts +4 -4
  91. package/lib/components/BorderRadiusStyleSetter/index.js +33 -14
  92. package/lib/components/BorderStyleSetter/index.d.ts +5 -5
  93. package/lib/components/BorderStyleSetter/index.js +138 -74
  94. package/lib/components/BoxShadowStyleSetter/index.d.ts +6 -6
  95. package/lib/components/BoxShadowStyleSetter/index.js +82 -30
  96. package/lib/components/BoxStyleSetter/index.d.ts +7 -7
  97. package/lib/components/BoxStyleSetter/index.js +122 -52
  98. package/lib/components/CollapseItem/index.d.ts +6 -6
  99. package/lib/components/CollapseItem/index.js +49 -21
  100. package/lib/components/ColorInput/index.d.ts +5 -5
  101. package/lib/components/ColorInput/index.js +39 -21
  102. package/lib/components/ColorInput/styles.less +0 -5
  103. package/lib/components/CornerInput/index.d.ts +7 -7
  104. package/lib/components/CornerInput/index.js +70 -28
  105. package/lib/components/DisplayStyleSetter/index.d.ts +7 -7
  106. package/lib/components/DisplayStyleSetter/index.js +75 -39
  107. package/lib/components/DrawerSetter/index.d.ts +6 -6
  108. package/lib/components/DrawerSetter/index.js +99 -48
  109. package/lib/components/DrawerSetter/styles.less +2 -2
  110. package/lib/components/FlexStyleSetter/index.d.ts +5 -5
  111. package/lib/components/FlexStyleSetter/index.js +208 -116
  112. package/lib/components/FoldItem/index.d.ts +9 -7
  113. package/lib/components/FoldItem/index.js +140 -72
  114. package/lib/components/FontStyleSetter/index.d.ts +4 -4
  115. package/lib/components/FontStyleSetter/index.js +216 -91
  116. package/lib/components/ImageInput/index.d.ts +7 -7
  117. package/lib/components/ImageInput/index.js +69 -47
  118. package/lib/components/InputItems/index.d.ts +19 -17
  119. package/lib/components/InputItems/index.js +101 -46
  120. package/lib/components/MonacoInput/config.d.ts +1 -1
  121. package/lib/components/MonacoInput/config.js +49 -45
  122. package/lib/components/MonacoInput/format.d.ts +4 -1
  123. package/lib/components/MonacoInput/format.js +38 -33
  124. package/lib/components/MonacoInput/index.d.ts +13 -13
  125. package/lib/components/MonacoInput/index.js +347 -241
  126. package/lib/components/MonacoInput/themes/chrome.d.ts +44 -38
  127. package/lib/components/MonacoInput/themes/chrome.js +107 -107
  128. package/lib/components/MonacoInput/themes/monokai.d.ts +34 -30
  129. package/lib/components/MonacoInput/themes/monokai.js +141 -141
  130. package/lib/components/PolyInput/index.d.ts +17 -17
  131. package/lib/components/PolyInput/index.js +151 -96
  132. package/lib/components/PositionInput/index.d.ts +7 -7
  133. package/lib/components/PositionInput/index.js +68 -28
  134. package/lib/components/PositionInput/styles.less +0 -1
  135. package/lib/components/SizeInput/index.d.ts +6 -2
  136. package/lib/components/SizeInput/index.js +47 -49
  137. package/lib/components/SizeInput/styles.less +0 -1
  138. package/lib/components/ValueInput/index.d.ts +2 -2
  139. package/lib/components/ValueInput/index.js +92 -75
  140. package/lib/components/index.d.ts +20 -20
  141. package/lib/components/index.js +52 -36
  142. package/lib/effects/index.d.ts +2 -2
  143. package/lib/effects/index.js +34 -18
  144. package/lib/effects/useLocales.d.ts +2 -2
  145. package/lib/effects/useLocales.js +67 -63
  146. package/lib/effects/useSnapshot.d.ts +2 -2
  147. package/lib/effects/useSnapshot.js +13 -13
  148. package/lib/index.d.ts +5 -5
  149. package/lib/index.js +37 -21
  150. package/lib/locales/en-US.d.ts +12 -12
  151. package/lib/locales/en-US.js +12 -12
  152. package/lib/locales/index.d.ts +1 -1
  153. package/lib/locales/index.js +16 -10
  154. package/lib/locales/ko-KR.d.ts +12 -12
  155. package/lib/locales/ko-KR.js +12 -12
  156. package/lib/locales/zh-CN.d.ts +12 -12
  157. package/lib/locales/zh-CN.js +12 -12
  158. package/lib/registry.d.ts +2 -2
  159. package/lib/registry.js +21 -19
  160. package/lib/shared/context.d.ts +2 -2
  161. package/lib/shared/context.js +5 -5
  162. package/lib/shared/loadScript.d.ts +5 -5
  163. package/lib/shared/loadScript.js +32 -32
  164. package/lib/styles.less +5 -4
  165. package/lib/types.d.ts +8 -8
  166. package/lib/types.js +2 -2
  167. package/package.json +26 -27
@@ -1,39 +1,45 @@
1
1
  declare const _default: {
2
- base: string;
3
- inherit: boolean;
4
- rules: ({
5
- foreground: string;
6
- token: string;
7
- fontStyle?: undefined;
8
- background?: undefined;
9
- } | {
10
- fontStyle: string;
11
- token: string;
12
- foreground?: undefined;
13
- background?: undefined;
14
- } | {
15
- background: string;
16
- token: string;
17
- foreground?: undefined;
18
- fontStyle?: undefined;
19
- } | {
20
- foreground: string;
21
- background: string;
22
- token: string;
23
- fontStyle?: undefined;
24
- } | {
25
- foreground: string;
26
- fontStyle: string;
27
- token: string;
28
- background?: undefined;
29
- })[];
30
- colors: {
31
- 'editor.foreground': string;
32
- 'editor.background': string;
33
- 'editor.selectionBackground': string;
34
- 'editor.lineHighlightBackground': string;
35
- 'editorCursor.foreground': string;
36
- 'editorWhitespace.foreground': string;
37
- };
38
- };
39
- export default _default;
2
+ base: string
3
+ inherit: boolean
4
+ rules: (
5
+ | {
6
+ foreground: string
7
+ token: string
8
+ fontStyle?: undefined
9
+ background?: undefined
10
+ }
11
+ | {
12
+ fontStyle: string
13
+ token: string
14
+ foreground?: undefined
15
+ background?: undefined
16
+ }
17
+ | {
18
+ background: string
19
+ token: string
20
+ foreground?: undefined
21
+ fontStyle?: undefined
22
+ }
23
+ | {
24
+ foreground: string
25
+ background: string
26
+ token: string
27
+ fontStyle?: undefined
28
+ }
29
+ | {
30
+ foreground: string
31
+ fontStyle: string
32
+ token: string
33
+ background?: undefined
34
+ }
35
+ )[]
36
+ colors: {
37
+ 'editor.foreground': string
38
+ 'editor.background': string
39
+ 'editor.selectionBackground': string
40
+ 'editor.lineHighlightBackground': string
41
+ 'editorCursor.foreground': string
42
+ 'editorWhitespace.foreground': string
43
+ }
44
+ }
45
+ export default _default
@@ -1,108 +1,108 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ 'use strict'
2
+ Object.defineProperty(exports, '__esModule', { value: true })
3
3
  exports.default = {
4
- base: 'vs',
5
- inherit: true,
6
- rules: [
7
- {
8
- foreground: 'c41a16',
9
- token: 'string',
10
- },
11
- {
12
- foreground: '1c00cf',
13
- token: 'constant.numeric',
14
- },
15
- {
16
- foreground: 'aa0d91',
17
- token: 'keyword',
18
- },
19
- {
20
- foreground: '000000',
21
- token: 'keyword.operator',
22
- },
23
- {
24
- foreground: 'aa0d91',
25
- token: 'constant.language',
26
- },
27
- {
28
- foreground: '990000',
29
- token: 'support.class.exception',
30
- },
31
- {
32
- foreground: '000000',
33
- token: 'entity.name.function',
34
- },
35
- {
36
- fontStyle: 'bold underline',
37
- token: 'entity.name.type',
38
- },
39
- {
40
- fontStyle: 'italic',
41
- token: 'variable.parameter',
42
- },
43
- {
44
- foreground: '007400',
45
- token: 'comment',
46
- },
47
- {
48
- foreground: 'ff0000',
49
- token: 'invalid',
50
- },
51
- {
52
- background: 'e71a1100',
53
- token: 'invalid.deprecated.trailing-whitespace',
54
- },
55
- {
56
- foreground: '000000',
57
- background: 'fafafafc',
58
- token: 'text source',
59
- },
60
- {
61
- foreground: 'aa0d91',
62
- token: 'meta.tag',
63
- },
64
- {
65
- foreground: 'aa0d91',
66
- token: 'declaration.tag',
67
- },
68
- {
69
- foreground: '000000',
70
- fontStyle: 'bold',
71
- token: 'support',
72
- },
73
- {
74
- foreground: 'aa0d91',
75
- token: 'storage',
76
- },
77
- {
78
- fontStyle: 'bold underline',
79
- token: 'entity.name.section',
80
- },
81
- {
82
- foreground: '000000',
83
- fontStyle: 'bold',
84
- token: 'entity.name.function.frame',
85
- },
86
- {
87
- foreground: '333333',
88
- token: 'meta.tag.preprocessor.xml',
89
- },
90
- {
91
- foreground: '994500',
92
- fontStyle: 'italic',
93
- token: 'entity.other.attribute-name',
94
- },
95
- {
96
- foreground: '881280',
97
- token: 'entity.name.tag',
98
- },
99
- ],
100
- colors: {
101
- 'editor.foreground': '#000000',
102
- 'editor.background': '#FFFFFF',
103
- 'editor.selectionBackground': '#BAD6FD',
104
- 'editor.lineHighlightBackground': '#EFEFFF',
105
- 'editorCursor.foreground': '#000000',
106
- 'editorWhitespace.foreground': '#B3B3B3F4',
107
- },
108
- };
4
+ base: 'vs',
5
+ inherit: true,
6
+ rules: [
7
+ {
8
+ foreground: 'c41a16',
9
+ token: 'string',
10
+ },
11
+ {
12
+ foreground: '1c00cf',
13
+ token: 'constant.numeric',
14
+ },
15
+ {
16
+ foreground: 'aa0d91',
17
+ token: 'keyword',
18
+ },
19
+ {
20
+ foreground: '000000',
21
+ token: 'keyword.operator',
22
+ },
23
+ {
24
+ foreground: 'aa0d91',
25
+ token: 'constant.language',
26
+ },
27
+ {
28
+ foreground: '990000',
29
+ token: 'support.class.exception',
30
+ },
31
+ {
32
+ foreground: '000000',
33
+ token: 'entity.name.function',
34
+ },
35
+ {
36
+ fontStyle: 'bold underline',
37
+ token: 'entity.name.type',
38
+ },
39
+ {
40
+ fontStyle: 'italic',
41
+ token: 'variable.parameter',
42
+ },
43
+ {
44
+ foreground: '007400',
45
+ token: 'comment',
46
+ },
47
+ {
48
+ foreground: 'ff0000',
49
+ token: 'invalid',
50
+ },
51
+ {
52
+ background: 'e71a1100',
53
+ token: 'invalid.deprecated.trailing-whitespace',
54
+ },
55
+ {
56
+ foreground: '000000',
57
+ background: 'fafafafc',
58
+ token: 'text source',
59
+ },
60
+ {
61
+ foreground: 'aa0d91',
62
+ token: 'meta.tag',
63
+ },
64
+ {
65
+ foreground: 'aa0d91',
66
+ token: 'declaration.tag',
67
+ },
68
+ {
69
+ foreground: '000000',
70
+ fontStyle: 'bold',
71
+ token: 'support',
72
+ },
73
+ {
74
+ foreground: 'aa0d91',
75
+ token: 'storage',
76
+ },
77
+ {
78
+ fontStyle: 'bold underline',
79
+ token: 'entity.name.section',
80
+ },
81
+ {
82
+ foreground: '000000',
83
+ fontStyle: 'bold',
84
+ token: 'entity.name.function.frame',
85
+ },
86
+ {
87
+ foreground: '333333',
88
+ token: 'meta.tag.preprocessor.xml',
89
+ },
90
+ {
91
+ foreground: '994500',
92
+ fontStyle: 'italic',
93
+ token: 'entity.other.attribute-name',
94
+ },
95
+ {
96
+ foreground: '881280',
97
+ token: 'entity.name.tag',
98
+ },
99
+ ],
100
+ colors: {
101
+ 'editor.foreground': '#000000',
102
+ 'editor.background': '#FFFFFF',
103
+ 'editor.selectionBackground': '#BAD6FD',
104
+ 'editor.lineHighlightBackground': '#EFEFFF',
105
+ 'editorCursor.foreground': '#000000',
106
+ 'editorWhitespace.foreground': '#B3B3B3F4',
107
+ },
108
+ }
@@ -1,31 +1,35 @@
1
1
  declare const _default: {
2
- base: string;
3
- inherit: boolean;
4
- rules: ({
5
- foreground: string;
6
- token: string;
7
- fontStyle?: undefined;
8
- background?: undefined;
9
- } | {
10
- foreground: string;
11
- fontStyle: string;
12
- token: string;
13
- background?: undefined;
14
- } | {
15
- foreground: string;
16
- background: string;
17
- token: string;
18
- fontStyle?: undefined;
19
- })[];
20
- colors: {
21
- 'editor.foreground': string;
22
- 'editor.background': string;
23
- 'editor.selectionBackground': string;
24
- 'editor.lineHighlightBackground': string;
25
- 'editorCursor.foreground': string;
26
- 'editorWhitespace.foreground': string;
27
- 'editorIndentGuide.activeBackground': string;
28
- 'editor.selectionHighlightBorder': string;
29
- };
30
- };
31
- export default _default;
2
+ base: string
3
+ inherit: boolean
4
+ rules: (
5
+ | {
6
+ foreground: string
7
+ token: string
8
+ fontStyle?: undefined
9
+ background?: undefined
10
+ }
11
+ | {
12
+ foreground: string
13
+ fontStyle: string
14
+ token: string
15
+ background?: undefined
16
+ }
17
+ | {
18
+ foreground: string
19
+ background: string
20
+ token: string
21
+ fontStyle?: undefined
22
+ }
23
+ )[]
24
+ colors: {
25
+ 'editor.foreground': string
26
+ 'editor.background': string
27
+ 'editor.selectionBackground': string
28
+ 'editor.lineHighlightBackground': string
29
+ 'editorCursor.foreground': string
30
+ 'editorWhitespace.foreground': string
31
+ 'editorIndentGuide.activeBackground': string
32
+ 'editor.selectionHighlightBorder': string
33
+ }
34
+ }
35
+ export default _default
@@ -1,142 +1,142 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ 'use strict'
2
+ Object.defineProperty(exports, '__esModule', { value: true })
3
3
  exports.default = {
4
- base: 'vs-dark',
5
- inherit: true,
6
- rules: [
7
- {
8
- foreground: '75715e',
9
- token: 'comment',
10
- },
11
- {
12
- foreground: 'e6db74',
13
- token: 'string',
14
- },
15
- {
16
- foreground: 'ae81ff',
17
- token: 'constant.numeric',
18
- },
19
- {
20
- foreground: 'ae81ff',
21
- token: 'constant.language',
22
- },
23
- {
24
- foreground: 'ae81ff',
25
- token: 'constant.character',
26
- },
27
- {
28
- foreground: 'ae81ff',
29
- token: 'constant.other',
30
- },
31
- {
32
- foreground: 'f92672',
33
- token: 'keyword',
34
- },
35
- {
36
- foreground: 'f92672',
37
- token: 'storage',
38
- },
39
- {
40
- foreground: '66d9ef',
41
- fontStyle: 'italic',
42
- token: 'storage.type',
43
- },
44
- {
45
- foreground: 'a6e22e',
46
- fontStyle: 'underline',
47
- token: 'entity.name.class',
48
- },
49
- {
50
- foreground: 'a6e22e',
51
- fontStyle: 'italic underline',
52
- token: 'entity.other.inherited-class',
53
- },
54
- {
55
- foreground: 'a6e22e',
56
- token: 'entity.name.function',
57
- },
58
- {
59
- foreground: 'fd971f',
60
- fontStyle: 'italic',
61
- token: 'variable.parameter',
62
- },
63
- {
64
- foreground: 'f92672',
65
- token: 'entity.name.tag',
66
- },
67
- {
68
- foreground: 'a6e22e',
69
- token: 'entity.other.attribute-name',
70
- },
71
- {
72
- foreground: '66d9ef',
73
- token: 'support.function',
74
- },
75
- {
76
- foreground: '66d9ef',
77
- token: 'support.constant',
78
- },
79
- {
80
- foreground: '66d9ef',
81
- fontStyle: 'italic',
82
- token: 'support.type',
83
- },
84
- {
85
- foreground: '66d9ef',
86
- fontStyle: 'italic',
87
- token: 'support.class',
88
- },
89
- {
90
- foreground: 'f8f8f0',
91
- background: 'f92672',
92
- token: 'invalid',
93
- },
94
- {
95
- foreground: 'f8f8f0',
96
- background: 'ae81ff',
97
- token: 'invalid.deprecated',
98
- },
99
- {
100
- foreground: 'cfcfc2',
101
- token: 'meta.structure.dictionary.json string.quoted.double.json',
102
- },
103
- {
104
- foreground: '75715e',
105
- token: 'meta.diff',
106
- },
107
- {
108
- foreground: '75715e',
109
- token: 'meta.diff.header',
110
- },
111
- {
112
- foreground: 'f92672',
113
- token: 'markup.deleted',
114
- },
115
- {
116
- foreground: 'a6e22e',
117
- token: 'markup.inserted',
118
- },
119
- {
120
- foreground: 'e6db74',
121
- token: 'markup.changed',
122
- },
123
- {
124
- foreground: 'ae81ffa0',
125
- token: 'constant.numeric.line-number.find-in-files - match',
126
- },
127
- {
128
- foreground: 'e6db74',
129
- token: 'entity.name.filename.find-in-files',
130
- },
131
- ],
132
- colors: {
133
- 'editor.foreground': '#F8F8F2',
134
- 'editor.background': '#222222',
135
- 'editor.selectionBackground': '#49483E',
136
- 'editor.lineHighlightBackground': '#3E3D32',
137
- 'editorCursor.foreground': '#F8F8F0',
138
- 'editorWhitespace.foreground': '#3B3A32',
139
- 'editorIndentGuide.activeBackground': '#9D550FB0',
140
- 'editor.selectionHighlightBorder': '#222218',
141
- },
142
- };
4
+ base: 'vs-dark',
5
+ inherit: true,
6
+ rules: [
7
+ {
8
+ foreground: '75715e',
9
+ token: 'comment',
10
+ },
11
+ {
12
+ foreground: 'e6db74',
13
+ token: 'string',
14
+ },
15
+ {
16
+ foreground: 'ae81ff',
17
+ token: 'constant.numeric',
18
+ },
19
+ {
20
+ foreground: 'ae81ff',
21
+ token: 'constant.language',
22
+ },
23
+ {
24
+ foreground: 'ae81ff',
25
+ token: 'constant.character',
26
+ },
27
+ {
28
+ foreground: 'ae81ff',
29
+ token: 'constant.other',
30
+ },
31
+ {
32
+ foreground: 'f92672',
33
+ token: 'keyword',
34
+ },
35
+ {
36
+ foreground: 'f92672',
37
+ token: 'storage',
38
+ },
39
+ {
40
+ foreground: '66d9ef',
41
+ fontStyle: 'italic',
42
+ token: 'storage.type',
43
+ },
44
+ {
45
+ foreground: 'a6e22e',
46
+ fontStyle: 'underline',
47
+ token: 'entity.name.class',
48
+ },
49
+ {
50
+ foreground: 'a6e22e',
51
+ fontStyle: 'italic underline',
52
+ token: 'entity.other.inherited-class',
53
+ },
54
+ {
55
+ foreground: 'a6e22e',
56
+ token: 'entity.name.function',
57
+ },
58
+ {
59
+ foreground: 'fd971f',
60
+ fontStyle: 'italic',
61
+ token: 'variable.parameter',
62
+ },
63
+ {
64
+ foreground: 'f92672',
65
+ token: 'entity.name.tag',
66
+ },
67
+ {
68
+ foreground: 'a6e22e',
69
+ token: 'entity.other.attribute-name',
70
+ },
71
+ {
72
+ foreground: '66d9ef',
73
+ token: 'support.function',
74
+ },
75
+ {
76
+ foreground: '66d9ef',
77
+ token: 'support.constant',
78
+ },
79
+ {
80
+ foreground: '66d9ef',
81
+ fontStyle: 'italic',
82
+ token: 'support.type',
83
+ },
84
+ {
85
+ foreground: '66d9ef',
86
+ fontStyle: 'italic',
87
+ token: 'support.class',
88
+ },
89
+ {
90
+ foreground: 'f8f8f0',
91
+ background: 'f92672',
92
+ token: 'invalid',
93
+ },
94
+ {
95
+ foreground: 'f8f8f0',
96
+ background: 'ae81ff',
97
+ token: 'invalid.deprecated',
98
+ },
99
+ {
100
+ foreground: 'cfcfc2',
101
+ token: 'meta.structure.dictionary.json string.quoted.double.json',
102
+ },
103
+ {
104
+ foreground: '75715e',
105
+ token: 'meta.diff',
106
+ },
107
+ {
108
+ foreground: '75715e',
109
+ token: 'meta.diff.header',
110
+ },
111
+ {
112
+ foreground: 'f92672',
113
+ token: 'markup.deleted',
114
+ },
115
+ {
116
+ foreground: 'a6e22e',
117
+ token: 'markup.inserted',
118
+ },
119
+ {
120
+ foreground: 'e6db74',
121
+ token: 'markup.changed',
122
+ },
123
+ {
124
+ foreground: 'ae81ffa0',
125
+ token: 'constant.numeric.line-number.find-in-files - match',
126
+ },
127
+ {
128
+ foreground: 'e6db74',
129
+ token: 'entity.name.filename.find-in-files',
130
+ },
131
+ ],
132
+ colors: {
133
+ 'editor.foreground': '#F8F8F2',
134
+ 'editor.background': '#222222',
135
+ 'editor.selectionBackground': '#49483E',
136
+ 'editor.lineHighlightBackground': '#3E3D32',
137
+ 'editorCursor.foreground': '#F8F8F0',
138
+ 'editorWhitespace.foreground': '#3B3A32',
139
+ 'editorIndentGuide.activeBackground': '#9D550FB0',
140
+ 'editor.selectionHighlightBorder': '#222218',
141
+ },
142
+ }