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

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

@mrjones2014

Description

@mrjones2014

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions