[PR #400] Back and forground index export #24116

Open
opened 2026-01-31 09:01:28 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/400

State: closed
Merged: Yes


This is an proposal to store background and foreground color index.

I've added two section screen and popup. Both sections contain two keys FORGROUND and BACKGROUND. The assignable values are keys of the table section.

sample

[table]
DARK_BLACK = 12,12,12
DARK_BLUE = 0,55,218
DARK_GREEN = 19,161,14
DARK_CYAN = 58,150,221
DARK_RED = 197,15,31
DARK_MAGENTA = 1,36,86
DARK_YELLOW = 238,237,240
DARK_WHITE = 204,204,204
BRIGHT_BLACK = 118,118,118
BRIGHT_BLUE = 59,120,255
BRIGHT_GREEN = 22,198,12
BRIGHT_CYAN = 97,214,214
BRIGHT_RED = 231,72,86
BRIGHT_MAGENTA = 180,0,158
BRIGHT_YELLOW = 249,241,165
BRIGHT_WHITE = 242,242,242

[screen]
FOREGROUND = DARK_YELLOW
BACKGROUND = DARK_MAGENTA

[popup]
FOREGROUND = DARK_CYAN
BACKGROUND = BRIGHT_WHITE

[info]
name = powershell-default
**Original Pull Request:** https://github.com/microsoft/terminal/pull/400 **State:** closed **Merged:** Yes --- This is an proposal to store background and foreground color index. I've added two section `screen` and `popup`. Both sections contain two keys `FORGROUND` and `BACKGROUND`. The assignable values are keys of the `table` section. **sample** ```ini [table] DARK_BLACK = 12,12,12 DARK_BLUE = 0,55,218 DARK_GREEN = 19,161,14 DARK_CYAN = 58,150,221 DARK_RED = 197,15,31 DARK_MAGENTA = 1,36,86 DARK_YELLOW = 238,237,240 DARK_WHITE = 204,204,204 BRIGHT_BLACK = 118,118,118 BRIGHT_BLUE = 59,120,255 BRIGHT_GREEN = 22,198,12 BRIGHT_CYAN = 97,214,214 BRIGHT_RED = 231,72,86 BRIGHT_MAGENTA = 180,0,158 BRIGHT_YELLOW = 249,241,165 BRIGHT_WHITE = 242,242,242 [screen] FOREGROUND = DARK_YELLOW BACKGROUND = DARK_MAGENTA [popup] FOREGROUND = DARK_CYAN BACKGROUND = BRIGHT_WHITE [info] name = powershell-default ```
claunia added the pull-request label 2026-01-31 09:01:28 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24116