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:
parent
d19adc598e
commit
dca1c34036
@ -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>
|
||||||
|
@ -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,
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user