@@ -27,8 +27,7 @@ import { ViewContext } from 'vs/editor/common/viewModel/viewContext';
2727import { EditorTheme } from 'vs/editor/common/editorTheme' ;
2828import * as viewEvents from 'vs/editor/common/viewEvents' ;
2929import { ViewLineData , ViewModelDecoration } from 'vs/editor/common/viewModel' ;
30- import { minimapSelection , scrollbarShadow , minimapBackground , minimapSliderBackground , minimapSliderHoverBackground , minimapSliderActiveBackground , minimapForegroundOpacity } from 'vs/platform/theme/common/colorRegistry' ;
31- import { registerThemingParticipant } from 'vs/platform/theme/common/themeService' ;
30+ import { minimapSelection , minimapBackground , minimapForegroundOpacity } from 'vs/platform/theme/common/colorRegistry' ;
3231import { ModelDecorationMinimapOptions } from 'vs/editor/common/model/textModel' ;
3332import { Selection } from 'vs/editor/common/core/selection' ;
3433import { Color } from 'vs/base/common/color' ;
@@ -2000,21 +1999,3 @@ class ContiguousLineMap<T> {
20001999 }
20012000}
20022001
2003- registerThemingParticipant ( ( theme , collector ) => {
2004- const sliderBackground = theme . getColor ( minimapSliderBackground ) ;
2005- if ( sliderBackground ) {
2006- collector . addRule ( `.monaco-editor .minimap-slider .minimap-slider-horizontal { background: ${ sliderBackground } ; }` ) ;
2007- }
2008- const sliderHoverBackground = theme . getColor ( minimapSliderHoverBackground ) ;
2009- if ( sliderHoverBackground ) {
2010- collector . addRule ( `.monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: ${ sliderHoverBackground } ; }` ) ;
2011- }
2012- const sliderActiveBackground = theme . getColor ( minimapSliderActiveBackground ) ;
2013- if ( sliderActiveBackground ) {
2014- collector . addRule ( `.monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: ${ sliderActiveBackground } ; }` ) ;
2015- }
2016- const shadow = theme . getColor ( scrollbarShadow ) ;
2017- if ( shadow ) {
2018- collector . addRule ( `.monaco-editor .minimap-shadow-visible { box-shadow: ${ shadow } -6px 0 6px -6px inset; }` ) ;
2019- }
2020- } ) ;
0 commit comments