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

how to override background color? #8

Open
sherloach opened this issue Nov 21, 2023 · 6 comments
Open

how to override background color? #8

sherloach opened this issue Nov 21, 2023 · 6 comments

Comments

@sherloach
Copy link

Hi, how can I override background color to black like the VS Code version?

@2nthony
Copy link
Owner

2nthony commented Nov 21, 2023

I can provide an option to override themes:

setup({
  themes = {
    background = hex
  }
})

@sherloach
Copy link
Author

I can provide an option to override themes:

setup({
  themes = {
    background = hex
  }
})

how can I apply it?

@2nthony
Copy link
Owner

2nthony commented Nov 21, 2023

I didn't get it.

themes is a way to override the vitesse theme colours.

The code should be:

require('vitesse').setup({
  themes = {
    background = '#000000', -- override background
    -- ...
  }
})

if you feel OK with above, i can add this option.

@sherloach
Copy link
Author

let's implement it, please! appreciated!

@2nthony
Copy link
Owner

2nthony commented Nov 21, 2023

added

@sherloach
Copy link
Author

It's working flawlessly! Sweet!
Thank you for completing it so quickly.

@sherloach sherloach reopened this Nov 21, 2023
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

No branches or pull requests

2 participants