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

Rework repo for managing multiple themes #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

BeardedBear
Copy link

@BeardedBear BeardedBear commented Dec 10, 2023

Hi Strealos!

I've reworked the repo to allow several things:

  • I've fixed the typing problems
  • I've restructured the whole thing to allow each theme to be well separated so as not to overwrite everything when you want to make a new one, each theme becoming a sort of miniature React app. (there's still a lot I'd like to share, but step by step haha)
  • I've created a little script in node that creates a folder with the name selected in the themes folder, editing the package.json to add the script command. Don't bite me, I did it with my meager knowledge of Node!
  • I added a little toggle for the dark theme, that's handy! (Although I did it on the fly with a custom event, but it works haha)

Edit: if you want to test, just follow the Readme, with npm install then npm run create-theme then npm run dev:<name of theme created>

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