Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

Creation of Server Side Theme #2

Open
Temmie19 opened this issue May 9, 2022 · 5 comments
Open

Creation of Server Side Theme #2

Temmie19 opened this issue May 9, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@Temmie19
Copy link

Temmie19 commented May 9, 2022

Hi! I run my own instance of SearX and I'd love to offer this theme server side for my users. I'd even be willing to pay you for your time to convert it (since I tried doing it on my own and I had absolutely no luck getting my instance to even recognize it, much less use it). Just pick your price and I'd be more than happy to fund that for you!

Thanks!

@reeseovine
Copy link
Owner

Omg, that's really kind of you! You can use GH sponsors at the $3 a month tier for however long you would like (one time is fine too!)

Making it a native theme is something that I've been wanting to do as well. The difficult part is that Searx themes have to do all the work on the client side. I will most likely start with SearXNG's simple theme and write my theme code over that.

@reeseovine reeseovine self-assigned this May 9, 2022
@reeseovine reeseovine added the enhancement New feature or request label May 9, 2022
@Temmie19
Copy link
Author

There you are!

@reeseovine
Copy link
Owner

Started on the searxng branch! I'd like to eventually have this included by default with the SearXNG fork (they're on board with it), but I will try to make it compatible with both!

@reeseovine
Copy link
Owner

Hope you don't mind if I use this thread to post progress updates since it's a bit hard to see it from just the commit log.

Here is how the home page looks so far:

light dark
Screen Shot 2022-05-19 at 22 02 36 Screen Shot 2022-05-19 at 22 02 44

It took me a bit to figure out how I'm going to support dark and light mode. I couldn't use CSS variables because it uses a lot of color mixing and RGBA functions and CSS doesn't have wide support for doing that easily. One downside is that users can't easily swap in their own color palette but I think down the road it wouldn't be too hard to add a few palettes for the user to pick from.

@Temmie19
Copy link
Author

That looks great! Nice work!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants