@@ -5,8 +5,8 @@ import { registerColor, transparent, lighten, darken, lessProminent } from '../u
55
66import { badgeBackground , badgeForeground } from './badge' ;
77import { contrastBorder , activeContrastBorder , focusBorder , foreground } from './base' ;
8- import { backgroundColor , foregroundColor } from './basic-color' ;
98import { listInactiveSelectionBackground } from './list-tree' ;
9+
1010// TODO COLOR 此处vscode内的editor error warning info颜色都有做修改
1111export const editorErrorBackground = registerColor (
1212 'editorError.background' ,
@@ -874,3 +874,14 @@ export const editorInlayHintParameterBackground = registerColor(
874874 } ,
875875 localize ( 'editorInlayHintBackgroundParameter' , 'Background color of inline hints for parameters' ) ,
876876) ;
877+
878+ export const editorImagePreviewBackground = registerColor (
879+ 'editorImagePreview.background' ,
880+ {
881+ dark : new Color ( new RGBA ( 20 , 20 , 20 ) ) ,
882+ light : new Color ( new RGBA ( 230 , 230 , 230 ) ) ,
883+ hcLight : new Color ( new RGBA ( 230 , 230 , 230 ) ) ,
884+ hcDark : new Color ( new RGBA ( 20 , 20 , 20 ) ) ,
885+ } ,
886+ localize ( 'editorImagePreviewBackground' , 'Background color of image preview editor.' ) ,
887+ ) ;
0 commit comments