@@ -8,8 +8,8 @@ import * as DOM from 'vs/base/browser/dom';
8
8
import { createFastDomNode , FastDomNode } from 'vs/base/browser/fastDomNode' ;
9
9
import { Color } from 'vs/base/common/color' ;
10
10
import { DisposableStore , IDisposable } from 'vs/base/common/lifecycle' ;
11
- import { defaultInsertColor , defaultRemoveColor , diffInserted , diffOverviewRulerInserted , diffOverviewRulerRemoved , diffRemoved , scrollbarSliderActiveBackground , scrollbarSliderBackground , scrollbarSliderHoverBackground } from 'vs/platform/theme/common/colorRegistry' ;
12
- import { IColorTheme , IThemeService , registerThemingParticipant , Themable } from 'vs/platform/theme/common/themeService' ;
11
+ import { defaultInsertColor , defaultRemoveColor , diffInserted , diffOverviewRulerInserted , diffOverviewRulerRemoved , diffRemoved } from 'vs/platform/theme/common/colorRegistry' ;
12
+ import { IColorTheme , IThemeService , Themable } from 'vs/platform/theme/common/themeService' ;
13
13
import { DiffElementViewModelBase } from 'vs/workbench/contrib/notebook/browser/diff/diffElementViewModel' ;
14
14
import { NotebookDiffEditorEventDispatcher } from 'vs/workbench/contrib/notebook/browser/diff/eventDispatcher' ;
15
15
import { INotebookTextDiffEditor } from 'vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser' ;
@@ -214,32 +214,3 @@ export class NotebookDiffOverviewRuler extends Themable {
214
214
super . dispose ( ) ;
215
215
}
216
216
}
217
-
218
- registerThemingParticipant ( ( theme , collector ) => {
219
- const scrollbarSliderBackgroundColor = theme . getColor ( scrollbarSliderBackground ) ;
220
- if ( scrollbarSliderBackgroundColor ) {
221
- collector . addRule ( `
222
- .notebook-text-diff-editor .diffViewport {
223
- background: ${ scrollbarSliderBackgroundColor } ;
224
- }
225
- ` ) ;
226
- }
227
-
228
- const scrollbarSliderHoverBackgroundColor = theme . getColor ( scrollbarSliderHoverBackground ) ;
229
- if ( scrollbarSliderHoverBackgroundColor ) {
230
- collector . addRule ( `
231
- .notebook-text-diff-editor .diffViewport:hover {
232
- background: ${ scrollbarSliderHoverBackgroundColor } ;
233
- }
234
- ` ) ;
235
- }
236
-
237
- const scrollbarSliderActiveBackgroundColor = theme . getColor ( scrollbarSliderActiveBackground ) ;
238
- if ( scrollbarSliderActiveBackgroundColor ) {
239
- collector . addRule ( `
240
- .notebook-text-diff-editor .diffViewport:active {
241
- background: ${ scrollbarSliderActiveBackgroundColor } ;
242
- }
243
- ` ) ;
244
- }
245
- } ) ;
0 commit comments