Skip to content

Comments

feat(palette): save toggle state to URL#297

Open
krauterbaquette wants to merge 1 commit intocatppuccin:mainfrom
krauterbaquette:query-params
Open

feat(palette): save toggle state to URL#297
krauterbaquette wants to merge 1 commit intocatppuccin:mainfrom
krauterbaquette:query-params

Conversation

@krauterbaquette
Copy link

This PR implements Issue #296 .

It will save the toggle state of the flavors inside the URL search query.
This allows to bookmark "one" flavor to be displayed by default.

Implementation

I choose to save the "closed" flavors inside the query param mainly because of simplicity,
so all flavors are still shown when entering the page without any query params.

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