snaha-net / diete.design

https://diete.design
MIT License
0 stars 0 forks source link

feat: overwritten colors in the loader #323

Closed hlavkat closed 2 months ago

hlavkat commented 2 months ago

resolve #285

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
diete-design ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2024 6:27am
vojtechsimetka commented 2 months ago

By the way, CSS variables can be easily overwritten by passing them into the svelte component - see https://sveltebyexample.com/css-custom-properties/

agazso commented 2 months ago

By the way, CSS variables can be easily overwritten by passing them into the svelte component - see https://sveltebyexample.com/css-custom-properties/

Interesting, I did not know about this and looks useful. I think this would be a nice addition to a lot of components for customization (for example to change a custom button background color). I opened an issue about this: #326

Still for the loader I think the simplest solution is the one that is currently implemented.