diff --git a/src/vs/editor/contrib/inspectTokens/browser/inspectTokens.css b/src/vs/editor/contrib/inspectTokens/browser/inspectTokens.css index 33d668042e5ac380b19b9813988dfa464d830478..78b1b178c84cd00f77ea16b88a355d1debb808c9 100644 --- a/src/vs/editor/contrib/inspectTokens/browser/inspectTokens.css +++ b/src/vs/editor/contrib/inspectTokens/browser/inspectTokens.css @@ -4,8 +4,6 @@ *--------------------------------------------------------------------------------------------*/ .monaco-editor .tokens-inspect-widget { - background-color: #F3F3F3; - border: 1px solid #CCC; z-index: 50; -webkit-user-select: text; -ms-user-select: text; @@ -16,9 +14,10 @@ padding: 10px; } -.monaco-editor.vs-dark .tokens-inspect-widget { background-color: #2D2D30; border-color: #555; } - -.monaco-editor.hc-black .tokens-inspect-widget { background-color: #0C141F; } +.tokens-inspect-separator { + height: 1px; + border: 0; +} .monaco-editor .tokens-inspect-widget .tm-token { font-family: monospace; diff --git a/src/vs/editor/contrib/inspectTokens/browser/inspectTokens.ts b/src/vs/editor/contrib/inspectTokens/browser/inspectTokens.ts index 66647f525cdf45188a6e244652ddb1b2e473df9a..b84e899b1378ebfae4f9f6bf70395db02be2dca9 100644 --- a/src/vs/editor/contrib/inspectTokens/browser/inspectTokens.ts +++ b/src/vs/editor/contrib/inspectTokens/browser/inspectTokens.ts @@ -21,6 +21,9 @@ import { IStandaloneThemeService } from 'vs/editor/common/services/standaloneThe import { NULL_STATE, nullTokenize, nullTokenize2 } from 'vs/editor/common/modes/nullMode'; import { Token } from 'vs/editor/common/core/token'; import { Color } from 'vs/base/common/color'; +import { registerThemingParticipant, HIGH_CONTRAST } from 'vs/platform/theme/common/themeService'; +import { editorHoverBackground, editorHoverBorder } from 'vs/platform/theme/common/colorRegistry'; + @editorContribution class InspectTokensController extends Disposable implements IEditorContribution { @@ -230,7 +233,7 @@ class InspectTokensWidget extends Disposable implements IContentWidget { } result += `
background | ${metadata.background.toRGBHex()} | `; result += `