@@ -116,4 +116,50 @@ export const materialInit = (options?: CreateThemeOptions) => {
116
116
} ) ;
117
117
} ;
118
118
119
+ export const materialDarkInit = materialInit ;
120
+ export const materialDark = materialInit ( ) ;
119
121
export const material = materialInit ( ) ;
122
+
123
+ export const materialLightInit = ( options ?: CreateThemeOptions ) => {
124
+ const { theme = 'light' , settings = { } , styles = [ ] } = options || { } ;
125
+ return createTheme ( {
126
+ theme : theme ,
127
+ settings : {
128
+ background : '#FAFAFA' ,
129
+ foreground : '#90A4AE' ,
130
+ caret : '#272727' ,
131
+ selection : '#80CBC440' ,
132
+ selectionMatch : '#FAFAFA' ,
133
+ gutterBackground : '#FAFAFA' ,
134
+ gutterForeground : '#90A4AE' ,
135
+ gutterBorder : 'transparent' ,
136
+ lineHighlight : '#CCD7DA50' ,
137
+ ...settings ,
138
+ } ,
139
+ styles : [
140
+ { tag : t . keyword , color : '#39ADB5' } ,
141
+ { tag : [ t . name , t . deleted , t . character , t . macroName ] , color : '#90A4AE' } ,
142
+ { tag : [ t . propertyName ] , color : '#6182B8' } ,
143
+ { tag : [ t . processingInstruction , t . string , t . inserted , t . special ( t . string ) ] , color : '#91B859' } ,
144
+ { tag : [ t . function ( t . variableName ) , t . labelName ] , color : '#6182B8' } ,
145
+ { tag : [ t . color , t . constant ( t . name ) , t . standard ( t . name ) ] , color : '#39ADB5' } ,
146
+ { tag : [ t . definition ( t . name ) , t . separator ] , color : '#90A4AE' } ,
147
+ { tag : [ t . className ] , color : '#E2931D' } ,
148
+ { tag : [ t . number , t . changed , t . annotation , t . modifier , t . self , t . namespace ] , color : '#F76D47' } ,
149
+ { tag : [ t . typeName ] , color : '#E2931D' , fontStyle : '#E2931D' } ,
150
+ { tag : [ t . operator , t . operatorKeyword ] , color : '#39ADB5' } ,
151
+ { tag : [ t . url , t . escape , t . regexp , t . link ] , color : '#91B859' } ,
152
+ { tag : [ t . meta , t . comment ] , color : '#90A4AE' } ,
153
+ { tag : t . strong , fontWeight : 'bold' } ,
154
+ { tag : t . emphasis , fontStyle : 'italic' } ,
155
+ { tag : t . link , textDecoration : 'underline' } ,
156
+ { tag : t . heading , fontWeight : 'bold' , color : '#39ADB5' } ,
157
+ { tag : [ t . atom , t . bool , t . special ( t . variableName ) ] , color : '#90A4AE' } ,
158
+ { tag : t . invalid , color : '#E5393570' } ,
159
+ { tag : t . strikethrough , textDecoration : 'line-through' } ,
160
+ ...styles ,
161
+ ] ,
162
+ } ) ;
163
+ } ;
164
+
165
+ export const materialLight = materialLightInit ( ) ;
0 commit comments