Icons coloring didnt working on stackblitz example out of box
npdev453 opened this issue · comments
The color property of the icon works on our playground. Can you provide minimal duplicate links on stackblitz?
@wzc520pyfm
Playgroud is dirty, have hidden configuration, files app.vue
, vite.config
and uno.config
are hidden, also if it builded from repo, they have an shadow deps from parent folder.
Code on stackblitz is more looks like starter
So I make only one change, just add to footer two icons with different colors:
<o-icon o="error" name="i-carbon-moon" class="mr-1"></o-icon>
<o-icon o="warn" name="i-carbon-moon" class="mr-1"></o-icon>
URL:
https://stackblitz.com/edit/onu-starter-dzjbbx?file=src/components/Footer.vue
ps: Also I got the same error when trying to configure repo first time because use whole starter example from stackblitz
@npdev453 https://onu.zyob.top/guide/install.html#custom-unocss-config You need to inject Onu's presets, then it will works.