2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-17 10:05:09 +00:00

chore: add demo for scale option for tailwind

This commit is contained in:
Vjacheslav Trushkin 2023-11-25 19:25:59 +02:00
parent d19adc598e
commit dca1c34036
2 changed files with 9 additions and 0 deletions

View File

@ -38,5 +38,9 @@
class="icon--mdi-light icon--mdi-light--home text-3xl demo" class="icon--mdi-light icon--mdi-light--home text-3xl demo"
></span> ></span>
</p> </p>
<p>
Custom size:
<span class="h-12 w-12 scaled-icon-[mdi-light--forum]"></span>
</p>
</body> </body>
</html> </html>

View File

@ -72,5 +72,10 @@ module.exports = {
prefix: 'icon-hover', prefix: 'icon-hover',
overrideOnly: true, overrideOnly: true,
}), }),
// Icons without size
addDynamicIconSelectors({
prefix: 'scaled-icon',
scale: 0,
}),
], ],
}; };