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

New feature to change theme in slcli like dark, light o maintain in default #1775

Merged
merged 4 commits into from
Oct 28, 2022

Conversation

edsonarios
Copy link
Contributor

@edsonarios edsonarios commented Oct 21, 2022

Issue link: #1652
New feature to change theme in slcli like dark, light o maintain in default

With this new feature you can choose the theme for slcli like "dark, light" or if you not set theme, will use default theme
You can see the theme with the command slcli config show
image

I'ts possible change to theme with the follow command slcli config setup
image

Also, it's possible to set the env variable with export SL_THEME

Example
image
image

For now the color changes are small because they only adapt to see better according to the background, but now you can add new themes, for more drastic color changes

@edsonarios edsonarios self-assigned this Oct 21, 2022
SoftLayer/utils.py Outdated Show resolved Hide resolved
SoftLayer/utils.py Outdated Show resolved Hide resolved
SoftLayer/utils.py Show resolved Hide resolved
@allmightyspiff
Copy link
Member

@caberos do you mind testing this out since I think you mostly use a light theme.

Copy link
Contributor

@caberos caberos left a comment

Choose a reason for hiding this comment

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

LGTM

@allmightyspiff allmightyspiff merged commit 44773e6 into softlayer:master Oct 28, 2022
@allmightyspiff allmightyspiff mentioned this pull request Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add a 'light' theme to the slcli
3 participants