<script setup lang="ts">
interface Prop
{
    icon: string;
    width: number;
    height: number;
}
defineProps<Prop>();
</script>

<template>
    <img :src="`/icons/${icon}.light.svg`" class="dark-hidden light-block" :width="width" :height="height" />
    <img :src="`/icons/${icon}.dark.svg`" class="dark-block light-hidden" :width="width" :height="height" />
</template>