Skip to content

Query terminal for lightmode#477

Open
liff wants to merge 1 commit into
cantino:masterfrom
liff:resolve-theme
Open

Query terminal for lightmode#477
liff wants to merge 1 commit into
cantino:masterfrom
liff:resolve-theme

Conversation

@liff
Copy link
Copy Markdown

@liff liff commented Feb 19, 2026

If MCFLY_LIGHT is unset, use terminal-colorsaurus to figure out whether to use light mode.

May surprise existing users that have not set MCFLY_LIGHT and rely on the colors not changing with the terminal background.

Comes at the cost of an additional dependency to terminal-colorsaurus.

Resolves #150.

If `MCFLY_LIGHT` is unset, use terminal-colorsaurus to figure out
whether to use light mode.
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

Successfully merging this pull request may close these issues.

Implement way to automatically detect dark/light terminal

1 participant