Joaquín Sánchez

Results 1398 comments of Joaquín Sánchez

@kwaa you can give it a try, I cannot review pending packages today... (you can use nuxt package to fix vite and svelte-scoped packages, check postbuild entries for nuxt, should...

Animations were extracted from WindiCSS plugins: https://github.com/windicss/plugins/blob/main/packages/animations/animate/keyframes/bounceIn.js Check the original issue: https://github.com/unocss/unocss/issues/89

The rules are applied in the order you include them

~~https://github.com/iconify/iconify/pull/235~~ https://github.com/iconify/iconify/pull/236

Right now a few modules have been copied from iconify PR, later we can remove them: - the new logic is in the Preset - the integration only for Vite...

In dev, refreshing the page will return 304 for CSS SVG Sprites, unless there is a config reload: ![imagen](https://github.com/unocss/unocss/assets/6311119/afaf1873-09bc-441b-b940-5c3eec4a1764) On build: ![imagen](https://github.com/unocss/unocss/assets/6311119/d8bb6bfd-6761-4119-87f2-9986d5a2bfb5) and the index.css: ![imagen](https://github.com/unocss/unocss/assets/6311119/0739fc26-f096-469d-a7e2-a28dcc3c58b1)

> When using SVG sprites in DOM, it reduces duplication. But in CSS? I don't see any advantages, other than reducing number of requests to server, which can be solved...

@cyberalien we're removing encoded svg from the url and moving the svg content to the Sprite, we're reducing a lot the css size. The full bundle will be bigger.

I have this problem using Vitest Browser, rn we need to bypass browser cache adding a timestamp (`xxx.vue?v=`), and so this plugin just does nothing.

try importing `@iconify/svelte` in `src/app.d.ts`: check for example unplugin-icons Svelte usage in SvelteKit, [Frameworks section](https://github.com/unplugin/unplugin-icons#frameworks)