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

feat(extras): auto-generate extras #37

Merged
merged 17 commits into from
May 4, 2024
Merged

feat(extras): auto-generate extras #37

merged 17 commits into from
May 4, 2024

Conversation

scottmckendry
Copy link
Owner

Quite a big PR!

As the number of extras in the cyberdream repo grows, I worry that if any of the colours change or if I ever decide to add another style (cough, cough light theme 😎) it's going to be a massive pain to update these.

Taking some inspiration from nightfox.nvim, I've added the functionality in Lua to automatically generate these files. I've also set it up so that additional colour variations of the theme are a single-line addition to generate all available extras for that particular variation.

This has been paired with a new GitHub action that runs on push, so any colour changes or additions are captured immediately.

Because some of these files weren't perfectly in spec with the neovim colours, I've had to make some small changes to various colours. That being said, most are unnoticeable to the eye.

@scottmckendry scottmckendry merged commit 61b2a27 into main May 4, 2024
@scottmckendry scottmckendry deleted the extra-autogen branch May 4, 2024 04:31
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.

1 participant