element-plus-vite-starter icon indicating copy to clipboard operation
element-plus-vite-starter copied to clipboard

Integrate Element Plus theming and UnoCSS theming

Open EmandM opened this issue 11 months ago • 1 comments

I am finding a large gap between UnoCSS and the var(--ep-...) theming that's available inside from css/sass. It would be great if the primary, success, warning, info and danger colors were integrated with UnoCSS from this bootstrap.

Being able to do something like the following would make this bootstrap feel very cohesive

<span class="prose prose-primary">Primary color</span>
<span class="prose prose-text-primary">Primary text color</span>
<span class="prose prose-text-regular">Regular text color</span>

EmandM avatar Mar 10 '25 04:03 EmandM

You're right. I think we should consider developing presetElementPlus for UnoCSS.

YunYouJun avatar Mar 18 '25 06:03 YunYouJun