A mobile app for listening to radio stations from around the globe
git clone git://soophie.de/verbal
blob: 57180ee6b14e44faef226ba4ddf3eeb35f0b5557 (549 bytes)[doc][blame][raw]
1
export default {2
props: ['id', 'size', 'classes'],3
computed: {4
styles() {5
return {6
'-webkit-mask': `url(https://cdn.typable.dev/tabler/${this.id})`,7
'mask-repeat': 'no-repeat',8
'mask-position': 'center',9
'mask-size': this.size ?? ''10
};11
}12
},13
template: `14
<div15
:style="styles"16
class="min-w-[50px] h-full group-hover:bg-gray-700 transition-colors"17
:class="classes"18
></div>19
`20
}