refactor(ui): replace middle-dot separators with clearer hierarchy (#6087)
* refactor(ui): replace middle-dot separators with clearer hierarchy * refactor(ui): use layout instead of punctuation separators
This commit is contained in:
1 parent
d6ddceed99
commit
7cb396788c
82 files changed
+433
-462
No files matched your search
@@ -60,7 +60,7 @@ export function footerTelemetry(
|
||||
export function footerHints(hints: readonly FooterHint[], theme: FooterHintTheme): StyledText {
|
||||
const chunks: TextChunk[] = []
|
||||
hints.forEach((hint, index) => {
|
||||
if (index) chunks.push(chunk(" · ", theme.separator))
|
||||
if (index) chunks.push(chunk(" ", theme.muted))
|
||||
const color = hint.tone === "danger" ? theme.danger : theme.accent
|
||||
chunks.push(chunk(hint.key, color, true))
|
||||
chunks.push(chunk(` ${hint.label}`, theme.muted))
|
||||
|
||||
Reference in new issue
Block a user