@@ -104,9 +104,9 @@ $ISETheme = @{
104104```
105105
106106> [ !NOTE]
107- > You can use the ` $PSStyle. FromRGB()` method to create the ANSI escape sequences for the colors you
108- > want. For more information about ` $PSStyle ` , see [ about_ANSI_Terminals] [ 01 ] . For more information
109- > about ANSI escape sequences, see the [ ANSI escape code] [ 04 ] article in Wikipedia.
107+ > You can use the ` FromRGB() ` method to create the ANSI escape sequences for the colors you want.
108+ > For more information about ` $PSStyle ` , see [ about_ANSI_Terminals] [ 01 ] . For more information about
109+ > ANSI escape sequences, see the [ ANSI escape code] [ 04 ] article in Wikipedia.
110110
111111## Setting the color theme in your profile
112112
@@ -123,22 +123,22 @@ Set-PSReadLineOption -Colors $ISETheme
123123The following settings work better for a light background terminal.
124124
125125``` powershell
126- $PSStyle.Formatting.FormatAccent = "`e[32m"
127- $PSStyle.Formatting.TableHeader = "`e[32m"
128- $PSStyle.Formatting.ErrorAccent = "`e[36m"
129- $PSStyle.Formatting.Error = "`e[31m"
130- $PSStyle.Formatting.Warning = "`e[33m"
131- $PSStyle.Formatting.Verbose = "`e[33m"
132- $PSStyle.Formatting.Debug = "`e[33m"
133- $PSStyle.Progress.Style = "`e[33m"
126+ $PSStyle.Formatting.FormatAccent = $PSStyle.Foreground.Green
127+ $PSStyle.Formatting.TableHeader = $PSStyle.Foreground.Green
128+ $PSStyle.Formatting.ErrorAccent = $PSStyle.Foreground.Cyan
129+ $PSStyle.Formatting.Error = $PSStyle.Foreground.Red
130+ $PSStyle.Formatting.Warning = $PSStyle.Foreground.Yellow
131+ $PSStyle.Formatting.Verbose = $PSStyle.Foreground.Yellow
132+ $PSStyle.Formatting.Debug = $PSStyle.Foreground.Yellow
133+ $PSStyle.Progress.Style = $PSStyle.Foreground.Yellow
134134$PSStyle.FileInfo.Directory = $PSStyle.Background.FromRgb(0x2f6aff) +
135135 $PSStyle.Foreground.BrightWhite
136- $PSStyle.FileInfo.SymbolicLink = "`e[36m"
137- $PSStyle.FileInfo.Executable = "`e[95m"
138- $PSStyle.FileInfo.Extension['.ps1'] = "`e[36m"
139- $PSStyle.FileInfo.Extension['.ps1xml'] = "`e[36m"
140- $PSStyle.FileInfo.Extension['.psd1'] = "`e[36m"
141- $PSStyle.FileInfo.Extension['.psm1'] = "`e[36m"
136+ $PSStyle.FileInfo.SymbolicLink = $PSStyle.Foreground.Cyan
137+ $PSStyle.FileInfo.Executable = $PSStyle.Foreground.BrightMagenta
138+ $PSStyle.FileInfo.Extension['.ps1'] = $PSStyle.Foreground.Cyan
139+ $PSStyle.FileInfo.Extension['.ps1xml'] = $PSStyle.Foreground.Cyan
140+ $PSStyle.FileInfo.Extension['.psd1'] = $PSStyle.Foreground.Cyan
141+ $PSStyle.FileInfo.Extension['.psm1'] = $PSStyle.Foreground.Cyan
142142```
143143
144144## Choosing colors for accessibility
0 commit comments