text
stringlengths
0
3.02k
[3/13/2024 3:54 PM] g30
The modification part I could agree with. More of that stuff would be great in the future for additional themes, maybe custom user made themes, etc.
[3/13/2024 3:57 PM] timbk
This is the low hanging fruit with high impact
[3/13/2024 3:57 PM] timbk
labeling core elements with custom css class
[3/13/2024 3:57 PM] timbk
so that it can be themed by anyone
[3/13/2024 3:58 PM] wildtang3nt
Ya, @G:30b I think you'd have a much easier time after some work done to prepare for it better
[3/13/2024 3:59 PM] wildtang3nt
as @gpt:1m says it would be fairly simple (separate) PR to start putting in better supports for this
[3/13/2024 4:01 PM] g30
Sorry yall, this fruit still might be out of reach for me. Unless you believe I could be guided to help in something like this; but also know that I don't have the necessary coding knowledge to really nail things down like other contributors would if they attempted to take a swing at it.
[3/13/2024 4:03 PM] g30
Would it be as simple as giving HTML elements that don't have a CSS class, a custom CSS Class for the themes?
[3/13/2024 4:03 PM] wildtang3nt
you got the ball rolling though
[3/13/2024 4:04 PM] wildtang3nt
yes basically just putting class names on everything that doesn't already have them. You'd want to cover your bases by having some classes that apply broadly, and others that are more specific
[3/13/2024 4:05 PM] wildtang3nt
books have been written on this subject, I'm unfortunately not well versed in this, I just know a good implementation when I see it lol
[3/13/2024 4:49 PM] joe.young.security
There are a million YouTube videos on the topic as well. Since it's Svelte, this may help you guys. https://dev.to/josef/theming-in-svelte-with-css-variables-53kd
{Embed}
https://dev.to/josef/theming-in-svelte-with-css-variables-53kd
Theming in Svelte with CSS Variables
In React there are numerous theming solutions to choose from; styled-components, Emotion, styled-syst...
https://images-ext-1.dis…ro9tft6y7shq.jpg
[3/13/2024 4:51 PM] joe.young.security
The comments in that article also contain valuable bits of wisdom.
[3/13/2024 4:53 PM] timbk
yeah no need to complicate things, literally just adding custom css classnames to elements
[3/13/2024 4:54 PM] joe.young.security
Here is amore basic article that explains how to add those custom CSS classes. Hope it helps: https://www.okupter.com/blog/svelte-and-css
{Embed}
https://www.okupter.com/blog/svelte-and-css
Svelte and CSS
Learn how Svelte handles CSS and styles, and how you can take advantage of that for your Svelte and SvelteKit applications.
https://images-ext-1.discordapp.net/external/jJ8wkUjjmc0E7Zpc2R6a_D9M0wKvjVqwacQzxSC983c/%3Ftitle%3DSvelte%2520and%2520CSS%26ogColor%3DcosmicCobalt/https/www.okupter.com/og/
[3/13/2024 5:34 PM] timbk
https://github.com/open-webui/open-webui/pull/1099
{Embed}
https://github.com/open-webui/open-webui/pull/1099
feat(helm): adding lb class and labels for using it with Cilium CNI...
…2 annoncements mode
Pull Request Checklist
Description: Briefly describe the changes in this pull request.
Changelog: Ensure a changelog entry following the format of Keep a Changelog is added ...
https://images-ext-1.discordapp.net/external/FXZIqM5NUey5nZQ2n7r-rfYHLvL6oyDv5t45A0WBMsQ/https/opengraph.githubassets.com/cf43167b081a6e3941f360feeee5317fae4d39a6b021cb1cd96691899311291d/open-webui/open-webui/pull/1099
[3/13/2024 5:34 PM] timbk
anyone willing to review? it looks good to me but again I don't use helm
[3/13/2024 5:35 PM] wildtang3nt
I can give that a try tomorrow
{Reactions}
❤️
[3/13/2024 5:35 PM] wildtang3nt
though I'd need to reconfigure our dev cluster for cillium