Open agazso opened 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
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