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

How to change the color theme? #48

Open
ronascentes opened this issue May 3, 2023 · 5 comments
Open

How to change the color theme? #48

ronascentes opened this issue May 3, 2023 · 5 comments

Comments

@ronascentes
Copy link

I'm not sure if PSEdit use the current Terminal color theme but for me it's ineligible. Is there a way to change PSEdit color theme?

Screenshot 2023-05-03 133948

@halvarsson
Copy link
Collaborator

halvarsson commented May 5, 2023

The color theme should be gray by default (we don't specify it)

Do you have any kind of color theme configured in your Terminal/Powershell session? If I could reproduce the issue we can probably explicitly set the colors on startup to fix it

@ronascentes
Copy link
Author

ronascentes commented May 9, 2023

@halvarsson - thanks for replying.

This is the color theme I use for my Terminal/ PowerShell session:

        {
            "background": "#1B1D1E",
            "black": "#222D3F",
            "blue": "#3167AC",
            "brightBlack": "#FFF688",
            "brightBlue": "#3C7DD2",
            "brightCyan": "#35B387",
            "brightGreen": "#2D9440",
            "brightPurple": "#8230A7",
            "brightRed": "#D4312E",
            "brightWhite": "#E7ECED",
            "brightYellow": "#E5BE0C",
            "cursorColor": "#E5BE0C",
            "cyan": "#2C9370",
            "foreground": "#2CC55D",
            "green": "#008000",
            "name": "Digon",
            "purple": "#781AA0",
            "red": "#A82320",
            "selectionBackground": "#792B9C",
            "white": "#B0B6BA",
            "yellow": "#E58D11"
        }

@halvarsson
Copy link
Collaborator

Thanks, it seems like the color is being overridden by the Terminal color scheme as it maps the colors that we use to different colors

I think the easiest fix to this would be to just add support for themes in psedit, and let users chose themselves if they want to use a different theme for psedit

I did a black theme on my local setup and tried it with your terminal theme, and it can look pretty good at least.. so I will have a look at adding support for changing themes in the future

image

@ronascentes
Copy link
Author

Thank you @halvarsson

@bjornasm
Copy link

@halvarsson Is adding themes on the roadmap for psedit? Thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants