Skip to content

Commit 6941bcb

Browse files
committed
add @iconify: safelist using @source inline()
1 parent 73aede7 commit 6941bcb

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

demo/src/assets/main.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
@import 'tailwindcss';
44
@import './hanok.css';
55

6+
@source inline('icon-[ph--wave-{sine,sawtooth,square,triangle}{-duotone,}]');
7+
68
body {
79
font-family: 'Roboto Mono', monospace;
810
margin: 0;

demo/src/components/PlayNote.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@
3939
</select>
4040
</label>
4141
</div>
42-
43-
<!-- load icons workaround:
44-
icon-[ph--wave-sine] icon-[ph--wave-sine-duotone] icon-[ph--wave-sawtooth] icon-[ph--wave-sawtooth-duotone] icon-[ph--wave-square] icon-[ph--wave-square-duotone] icon-[ph--wave-triangle] icon-[ph--wave-triangle-duotone]
45-
-->
4642
</template>
4743

4844
<script setup lang="ts">

0 commit comments

Comments
 (0)