ITADN

[FEAT]: Global default for variation

#22Closedrandomiser 创建于 2023-08-28
enhancement
R
randomisercommented
### Description I've been looking at this upcoming PR: https://github.com/shinokada/svelte-heros-v2/pull/21 Thinking it would be useful to be able to control the solid | outline | mini defaults at a global level rather than having to apply "solid" to every image. Something like this could work: SvelteHeroes.defaultVariation = SvelteHeroes.solid; Likewise setting the size globally could also be useful. Cheers, Matt ### Additional Information _No response_
关闭于 2023-08-29 3 条评论