mirror of
https://github.com/iconify/iconify.git
synced 2025-01-06 07:20:40 +00:00
chore: add demo for scale option for tailwind
This commit is contained in:
parent
d19adc598e
commit
dca1c34036
@ -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>
|
||||
|
@ -72,5 +72,10 @@ module.exports = {
|
||||
prefix: 'icon-hover',
|
||||
overrideOnly: true,
|
||||
}),
|
||||
// Icons without size
|
||||
addDynamicIconSelectors({
|
||||
prefix: 'scaled-icon',
|
||||
scale: 0,
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user