Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 7bf658a

Browse files
committed
fix: a few more tweaks to prompt
1) use normal font size 2) opacity for context 3) for carbon themes, use plex sans condensed for context Fixes #4250
1 parent de50054 commit 7bf658a

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

plugins/plugin-carbon-themes/web/css/kui--alternate.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ body.kui--alternate .repl:not(.kui--input-stripe) .repl-block {
55
padding-right: calc(1em * 0.875);
66
}
77

8-
/*body.kui--alternate .repl-prompt-righty {
9-
color: var(--color-text-01);
10-
}*/
8+
body.kui--alternate .repl-prompt {
9+
font-family: "IBM Plex Sans Condensed";
10+
}
11+
body.kui--alternate .repl-prompt .repl-context {
12+
filter: none;
13+
color: var(--color-text-02);
14+
}

plugins/plugin-client-common/web/css/static/repl.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
.repl-prompt {
2323
font-family: var(--font-sans-serif);
2424
font-weight: 500;
25-
font-size: 0.875em;
2625
margin-right: 0.1875em;
2726
--color-prompt-text: var(--color-brand-02);
2827
--color-prompt-background: transparent;
@@ -38,7 +37,7 @@
3837
.repl-context {
3938
background-color: var(--color-prompt-background);
4039
letter-spacing: 0.16px;
41-
filter: grayscale(50%);
40+
filter: opacity(0.6875) grayscale(50%);
4241
}
4342
/*.repl-block.using-custom-prompt .repl-prompt-righty > svg,
4443
.repl-block.using-custom-prompt .repl-prompt-righty > i,

0 commit comments

Comments
 (0)