Open venelinn opened 1 year ago
I think this would be a great addition. It's something I'd wanted to do a while ago and I kind of forgot about it.
I'd be happy to take a PR for this. Perhaps we should agree what custom properties we want to define and then you can start the PR.
@venelinn @chrissainty I'd be willing to do this, I haven't looked too much into the CSS but if agree--if either of you have specific custom properties I can be sure to add them.
Otherwise, I will read through and pick out ones that make sense.
Other design considerations:
--blazored-border-color
). I think this probably should be Blazored Toast specific, not generic to all of the Blazored repos. But open to other ideas.--bt-{property-name}
is decent, but could also make it more verbose (--blazored-toasts-{property-name}
) if desired.BlazoredToasts
component and applied to the css variables (this would work too).
Hello and thank you for that great plugin ! I'm wondering what will be the effort using CSS variables. It will be so easy to overwrite some default values. For example:
border-color: var(--blazored-border-color, var(--color-info))
Thank you!
BTW, I'm willing to help 😄