2
0
mirror of https://github.com/iconify/iconify.git synced 2024-09-29 05:29: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"
></span>
</p>
<p>
Custom size:
<span class="h-12 w-12 scaled-icon-[mdi-light--forum]"></span>
</p>
</body>
</html>

View File

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