snaha-net / diete.design

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

CSS variable customization options #326

Open agazso opened 2 months ago

agazso commented 2 months ago

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

This could be a nice addition to a lot of components for customization (for example to change a custom button background color).

Originally posted by @agazso in https://github.com/snaha-net/diete.design/issues/323#issuecomment-2193936059