mirror of
https://github.com/charmbracelet/crush.git
synced 2025-08-02 05:20:46 +03:00
chore(sidebar): remove space after periods of ellipsis; make darker
This commit is contained in:
@@ -689,7 +689,7 @@ func (m *sidebarCmp) filesBlock() string {
|
||||
if totalFilesWithChanges > maxFiles {
|
||||
remaining := totalFilesWithChanges - maxFiles
|
||||
fileList = append(fileList,
|
||||
t.S().Base.Foreground(t.FgMuted).Render(fmt.Sprintf("… and %d more", remaining)),
|
||||
t.S().Base.Foreground(t.FgSubtle).Render(fmt.Sprintf("…and %d more", remaining)),
|
||||
)
|
||||
}
|
||||
|
||||
@@ -777,7 +777,7 @@ func (m *sidebarCmp) lspBlock() string {
|
||||
if len(lsp) > maxLSPs {
|
||||
remaining := len(lsp) - maxLSPs
|
||||
lspList = append(lspList,
|
||||
t.S().Base.Foreground(t.FgMuted).Render(fmt.Sprintf("… and %d more", remaining)),
|
||||
t.S().Base.Foreground(t.FgSubtle).Render(fmt.Sprintf("…and %d more", remaining)),
|
||||
)
|
||||
}
|
||||
|
||||
@@ -834,7 +834,7 @@ func (m *sidebarCmp) mcpBlock() string {
|
||||
if len(mcps) > maxMCPs {
|
||||
remaining := len(mcps) - maxMCPs
|
||||
mcpList = append(mcpList,
|
||||
t.S().Base.Foreground(t.FgMuted).Render(fmt.Sprintf("… and %d more", remaining)),
|
||||
t.S().Base.Foreground(t.FgSubtle).Render(fmt.Sprintf("…and %d more", remaining)),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user