Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

[Feature]: Try to match terminal theme by default #75

Open
1 task done
mrjones2014 opened this issue Jan 28, 2022 · 0 comments
Open
1 task done

[Feature]: Try to match terminal theme by default #75

mrjones2014 opened this issue Jan 28, 2022 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@mrjones2014
Copy link
Owner

Similar Issues

  • Before filing, I have searched for similar issues.

Description

I made the default theme (statically) to match my terminal theme (which is https://github.com/mrjones2014/lighthaus.nvim). Of course you can customize the colors through the config, but it would be really cool to try to automatically match the color scheme.

I believe we can do this with indexed colors or something? For example, for Kitty terminal emulator, kitty.conf has several named colors such as background, selection_foreground etc. but also has a set of colors like:

# normal
color0 #373C45
color1 #FF5050
color2 #44B273
color3 #ED722E
color4 #1D918B
color5 #D16BB7
color6 #00BFA4
color7 #8E8D8D

# bright
color8 #CCCCCC
color9 #FF4D00
color10 #10B981
color11 #FFFF00
color12 #0DB9D7
color13 #D68EB2
color14 #5AD1AA
color15 #FFFADE

How do we get and use these indexed colors? I think these numbered colors are a standard terminal thing.

Use Case

It would be cool to match the user's terminal theme without them having to set it in config.

@mrjones2014 mrjones2014 added the enhancement New feature or request label Jan 28, 2022
@mrjones2014 mrjones2014 added the help wanted Extra attention is needed label Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant