VChet / StyleBase

UserCSS theme sharing site
https://stylebase.cc
MIT License
20 stars 1 forks source link

[Feature Request] Allow manually setting details #2

Closed MulverineX closed 4 years ago

MulverineX commented 4 years ago

When adding a theme, you should be able to manually set the theme title & the path to the preview image.

MulverineX commented 4 years ago

Also if you add this please remove my settings icons theme from the site so I can readd it

VChet commented 4 years ago

Thanks for your feedback! Initially, I didn't plan to add such functionality to keep the interface and interaction as simple as possible. After some thoughts, I came up with some ideas on how to implement it, but it will take more time than it seems. Also, it will be necessary to add GitHub authentication, so only the repository owner had the ability to edit the style. I guess sooner or later I'll add this feature. For now, the algorithm collects all images from the repository, the file containing "preview" in the name or with the largest size is being selected as a preview.

MulverineX commented 4 years ago

Thanks for the speedy reply, excited for improvements to the system. Also thank you for the info on how it looks for the preview image. The biggest part for me is the title since I don't want discord in the repo name but that's important for a generic styles site.

VChet commented 4 years ago

Implemented.

  1. Login with your GitHub account (login button in the header).
  2. Open the style popup, enter preferable title/link to the preview, or both, and click the edit button.
VChet commented 4 years ago

724dce320dba05742acc212653c9a3f6c4dd9b79