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

Detect OS Dark/Light Mode? #523

Open
1 of 5 tasks
riotrah opened this issue May 3, 2022 · 0 comments
Open
1 of 5 tasks

Detect OS Dark/Light Mode? #523

riotrah opened this issue May 3, 2022 · 0 comments

Comments

@riotrah
Copy link

riotrah commented May 3, 2022

Description

Hi!

I love that colorls supports and comes with themes for dark/light modes, if set by the user per-usage. I noticed an issue from some time ago #165, in which a commenter suggested using ANSI colors. The way I use my terminal mostly these days is with the integrated term in VSCode, which I've set to switch theme based on my daily OS (mac/windows) dark/light cycle. Unfortunately, I don't know how to auto set colorls to use the appropriate theme based on light/dark mode.

Would it possible to either bake-in such functionality to be configured as the user wishes, or does anyone have any easy scripts or aliases or something that can take of this?

The easiest option for me or anyone else really would be to support ANSI color names within the color.yaml files, and let the terminal themes take care of the rest

  • Relevant Issues : Use colors of the terminal theme. #165 kinda
  • Type of issue :
    • Installation
    • Font-related
    • Feature request
    • Bug in existing feature
    • Developer mode : Code quality / Tests / Documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants