@@ -16,7 +16,7 @@ import { Disposable, dispose, IDisposable } from 'vs/base/common/lifecycle';
1616import 'vs/css!./media/settingsWidgets' ;
1717import { localize } from 'vs/nls' ;
1818import { IContextViewService } from 'vs/platform/contextview/browser/contextView' ;
19- import { foreground , inputBackground , inputBorder , inputForeground , listActiveSelectionBackground , listActiveSelectionForeground , listHoverBackground , listHoverForeground , listInactiveSelectionBackground , listInactiveSelectionForeground , registerColor , selectBackground , selectBorder , selectForeground , textLinkForeground , textPreformatForeground , editorWidgetBorder } from 'vs/platform/theme/common/colorRegistry' ;
19+ import { foreground , inputBackground , inputBorder , inputForeground , listActiveSelectionBackground , listActiveSelectionForeground , listHoverBackground , listHoverForeground , listInactiveSelectionBackground , listInactiveSelectionForeground , registerColor , selectBackground , selectBorder , selectForeground , textLinkForeground , textPreformatForeground , editorWidgetBorder , textLinkActiveForeground } from 'vs/platform/theme/common/colorRegistry' ;
2020import { attachButtonStyler , attachInputBoxStyler } from 'vs/platform/theme/common/styler' ;
2121import { ICssStyleCollector , ITheme , IThemeService , registerThemingParticipant } from 'vs/platform/theme/common/themeService' ;
2222import { disposableTimeout } from 'vs/base/common/async' ;
@@ -69,6 +69,14 @@ registerThemingParticipant((theme: ITheme, collector: ICssStyleCollector) => {
6969 collector . addRule ( `.monaco-select-box-dropdown-container > .select-box-details-pane > .select-box-description-markdown a > code { color: ${ link } ; }` ) ;
7070 }
7171
72+ const activeLink = theme . getColor ( textLinkActiveForeground ) ;
73+ if ( activeLink ) {
74+ collector . addRule ( `.settings-editor > .settings-body > .settings-tree-container .setting-item .setting-item-description-markdown a:hover, .settings-editor > .settings-body > .settings-tree-container .setting-item .setting-item-description-markdown a:active { color: ${ activeLink } ; }` ) ;
75+ collector . addRule ( `.settings-editor > .settings-body > .settings-tree-container .setting-item .setting-item-description-markdown a:hover > code, .settings-editor > .settings-body > .settings-tree-container .setting-item .setting-item-description-markdown a:active > code { color: ${ activeLink } ; }` ) ;
76+ collector . addRule ( `.monaco-select-box-dropdown-container > .select-box-details-pane > .select-box-description-markdown a:hover, .monaco-select-box-dropdown-container > .select-box-details-pane > .select-box-description-markdown a:active { color: ${ activeLink } ; }` ) ;
77+ collector . addRule ( `.monaco-select-box-dropdown-container > .select-box-details-pane > .select-box-description-markdown a:hover > code, .monaco-select-box-dropdown-container > .select-box-details-pane > .select-box-description-markdown a:active > code { color: ${ activeLink } ; }` ) ;
78+ }
79+
7280 const headerForegroundColor = theme . getColor ( settingsHeaderForeground ) ;
7381 if ( headerForegroundColor ) {
7482 collector . addRule ( `.settings-editor > .settings-header > .settings-header-controls .settings-tabs-widget .action-label.checked { color: ${ headerForegroundColor } ; border-bottom-color: ${ headerForegroundColor } ; }` ) ;
0 commit comments