Skip to content

Commit

Permalink
Make rest of terminal initial hint italic
Browse files Browse the repository at this point in the history
Part of #213647
  • Loading branch information
Tyriar committed May 29, 2024
1 parent d4b07e1 commit 81fef7b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,10 @@
color: var(--vscode-input-placeholderForeground);
}
.monaco-workbench .pane-body.integrated-terminal .terminal-initial-hint a {
color: var(--vscode-textLink-foreground)
color: var(--vscode-textLink-foreground);
}

.monaco-workbench .pane-body.integrated-terminal .terminal-initial-hint a,
.monaco-workbench .pane-body.integrated-terminal .terminal-initial-hint .detail {
font-style: italic;
}
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ class TerminalInitialHintWidget extends Disposable {
hintElement.appendChild(after);

const typeToDismiss = localize('hintTextDismiss', 'Start typing to dismiss.');
const textHint2 = $('span', undefined, typeToDismiss);
textHint2.style.fontStyle = 'italic';
const textHint2 = $('span.detail', undefined, typeToDismiss);
hintElement.appendChild(textHint2);

ariaLabel = actionPart.concat(typeToDismiss);
Expand Down

0 comments on commit 81fef7b

Please sign in to comment.