Skip to content

Styles.Placeholder color in CLI output is not an adaptive color, causing text to be unreadable in dark theme terminals #3293

Closed
@Mainstay-Noah-Huppert

Description

@Mainstay-Noah-Huppert

image

You can't really even make out the usage headers, here is a screenshot with me highlighting the text so you can read:
image

This is due to cli/cliui/cliui.go#51 where Styles.Placeholder is set to ANSI 256 code 240 which is a light gray.

The list command (Or any command which uses cli/cliui/resources.go#WorkspaceResources) also suffers from this same visual bug with the elapsed time, as this is also styled using Styles.Placeholder:

Screen Shot 2022-07-29 at 9 14 48 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions