Skip to content

Doc to help users set PSReadLine colors and PowerShell colors for light themed terminal #9358

@SteveL-MSFT

Description

@SteveL-MSFT

Prerequisites

  • Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
  • Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Document new Get-Foo cmdlet" instead of "New cmdlet."

PowerShell Version

7.3

Summary

The default colors for both PowerShell and PSReadLine are built expecting a dark background. However, some users may choose to use a light background with dark text. However, most of the default colors don't set the background, so in some cases the light foreground with the light background makes that text invisible. Users may not be aware they can change their colors to make the text visible. It seems we should just have some sample PS script for setting colors appropriate for light themed terminals they can then put in their $profile.

Not sure if it makes sense to have this as part of the ANSI topic or separate as users would need to know about ANSI to find it.

Details

No response

Proposed Content Type

About Topic

Proposed Title

No response

Related Articles

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions