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

Huez v1.0.0 Theme manager #27

Merged
merged 72 commits into from
May 26, 2024
Merged

Huez v1.0.0 Theme manager #27

merged 72 commits into from
May 26, 2024

Conversation

vague2k
Copy link
Owner

@vague2k vague2k commented May 26, 2024

Huez v1.0.0

1.0 Stands to bring new features to Huez such as...

  • A maintained registry with over 80+ packages, totaling over 400 themes.
  • First class integration with lazy for theme management with our registry, so you'll never have to google for a theme ever again
  • Preview registry themes live, even if you don't have them installed.
  • Ensure the themes YOU want are installed, no matter what
  • Add themes to a list of favorites, so you always know where to look if you're getting bored of looking at catppuccin ;)
  • Pickers are now out of the way, by default using a default layout.
  • Easier way to customize each individual picker to you're liking.

TODO

There are some stuff left to do and planned like...

  • writing tests for the lazy side of the plugin
  • Letting users configure themes from Huez, without going to their config

Very huge thank you and acknowledgement to @tris203 for helping me out with the theme manager side of things.

This PR references #14 and #23

vague2k and others added 30 commits April 22, 2024 17:18
* fix: submit with invalid name error

* refactor: define component var

---------

Co-authored-by: Alberto Hernandez <121782036+vague2k@users.noreply.github.com>
vague2k and others added 28 commits May 11, 2024 15:22
- lazy attempts to call setup function when opts is passed to the
registry init, which no all themes have.

- some theme's names (the arg passed to `:colorscheme`) do not match
repo name, so the colorscheme field was added to `ThemeRegistryEntry`
…ee comment

i also added some `TODO` comments that are worth looking at
* refactor(manager): started, fix loop

this commit is so i can keep working from my desktop you can ignore this
for the most part.

* refactor(manager): clean up file struct, add todo comments

* refactor(manager): move init to `import` due to lazy conflicts

* fix: needless `.init` infront of reqs because of LSP code actions
* feat: ensure installed themes

* refactor(pickers): prefer `<space>` instead of `<leader>`

* refactor(pickers): change prompt titles for `HuezLive` and `HuezEnsured`

* refactor(pickers): create layout and picker builder

* update TODO.md
* feat: favorites

* fix: small docstring typo

* refactor(tests): restructure tests, add favorites tests
Having generated lazy spec include an event like "UiEnter" creates a
race condition whenever huez tries to set a colorscheme managed by huez
will work on this later in the afternoon
If we force merged values from the right table, being
`api.live.installed`, the amount of themes in `api.ensured.installed`
i.e ensured(n), would not be loaded in the `:HuezLive` picker
@vague2k vague2k merged commit 0c434df into main May 26, 2024
14 checks passed
@vague2k vague2k deleted the manager branch May 28, 2024 20:57
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.

2 participants