Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

terminal: fix color theming #7325

Merged
merged 1 commit into from
Mar 12, 2020
Merged

terminal: fix color theming #7325

merged 1 commit into from
Mar 12, 2020

Conversation

vince-fugnitto
Copy link
Member

What it does

Fixes #7280

This commit fixes the issue where VS Code terminal theming was not applied correctly. Since the VS Code theming options for terminals and the xterm ITheme differed (lower-case), the terminal themes were not applied properly.

How to test

  1. start the application
  2. create a new terminal and produce some output (ex: ls -al)
  3. change color theme (the terminal foreground colors should be properly themed)
Examples:

Dark+

image


Tomorrow Night Blue

image

Abyss

image


Light+

image

Review checklist

Reminder for reviewers

Signed-off-by: Vincent Fugnitto vincent.fugnitto@ericsson.com

@vince-fugnitto vince-fugnitto added terminal issues related to the terminal theming issues related to theming labels Mar 12, 2020
@vince-fugnitto vince-fugnitto self-assigned this Mar 12, 2020
@vince-fugnitto
Copy link
Member Author

@varmanishant would you like to review? :)

Fixes #7280

This commit fixes the issue where VS Code terminal theming was not
applied correctly. Since the VS Code theming options for terminals
and the `xterm` ITheme differed (lower-case first letter), the terminal themes
were not applied properly.

Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
@ghost
Copy link

ghost commented Mar 12, 2020

@vince-fugnitto This looks good!

Copy link
Member

@akosyakov akosyakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested that colors are applied properly

Copy link
Contributor

@lmcbout lmcbout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works nicely
Tested on Chrome, Firefox and electron on Ubuntu 18.04
Thanks @vince-fugnitto

@vince-fugnitto vince-fugnitto merged commit ab5ad43 into master Mar 12, 2020
@vince-fugnitto vince-fugnitto deleted the vf/GH-7280 branch March 12, 2020 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
terminal issues related to the terminal theming issues related to theming
Projects
None yet
Development

Successfully merging this pull request may close these issues.

terminal: fix terminal theming
3 participants