C4illin / ConvertX

💾 Self-hosted online file converter. Supports 1000+ formats
GNU Affero General Public License v3.0
403 stars 9 forks source link

Feature: Enable an option to change the Pico CSS theme #53

Open ruruchiii opened 3 months ago

ruruchiii commented 3 months ago

Heya,

I manually edited the css to change the theme but an option or environment variable to set the locally saved Pico CSS stylesheet would be a nice feature.

Thanks!

C4illin commented 3 months ago

Hello! Sounds like a cool idea. What changes or type of changes did you make?

ruruchiii commented 3 months ago

I just overwrote the color variables of the pico lime stylsheet using the stylus extension. I downloaded all the pico stylesheets from their main website and I tried mounting it like this in the compose file after renaming it but that approach didn't seem to work.

volumes :
  - convertx/app/src/public/pico.lime.min.css:/app/src/public/pico.lime.min.css
ruruchiii commented 3 months ago

I just checked the mount path in the container and the pico.lime.min.css file does contain the code from the modified and renamed one on my host machine, however the webpage does not seem to be affected. I tried refreshing everything and clearing the caches.

(I have no idea what I'm doing)