Tresjs / leches

🍰 Tasty GUI for Vue controls
https://tresleches.tresjs.org/
MIT License
27 stars 5 forks source link

Dark mode #75

Open alvarosabu opened 9 months ago

alvarosabu commented 9 months ago

Inevitable 😂

Readpato commented 9 months ago

Hey @alvarosabu, if it's possibile, I would like to help with this issue =]

I assume that when we are talking about dark mode we are talking directly about the Leches GUI, right? Because I have noticed that on the Leches website the dark mode doesn't work correctly

image Screenshot 2023-11-27 at 19 12 03

I could open a different issue for this specific case if needed so we don't mix things up, let me know. Glad to help!

alvarosabu commented 9 months ago

Hi @Readpato thanks for steping in, yes I mean the actual GUI interface, I will fix the docs dark mode in another PR

Readpato commented 9 months ago

Perfect then, I'll proceed with adding dark mode to the GUI!

Readpato commented 9 months ago

Hey @alvarosabu would you know why this error appears? Can't seem to fix it

GET http://localhost:5173/src/main.ts net::ERR_ABORTED 500 (Internal Server Error)

image

I have tried:

I have also seen the answer you gave to Marcin Dekier in discord about the same issue and solving it by importing the styles globally on his Nuxt project maybe it's something related to it?

alvarosabu commented 9 months ago

Try building the lib, if you change the source on the viteconf to src instead of dist the alias wouldn't work and you would need to import the styles from complete the .css path

Readpato commented 9 months ago

Perfect, it worked after running pnpm run build, thanks!

alvarosabu commented 8 months ago

Yo buddy @Readpato I fixed some css issues and updated the deps on the latest release, make sure you merge latest main into your branch

Readpato commented 8 months ago

Purrfect, will do it! Thanks <3