so://phie

verbal

A mobile app for listening to radio stations from around the globe
git clone git://soophie.de/verbal

blob: 2961fc0e9f311045619774d8a575245fa9a11e23 (525 bytes)[doc][blame][raw]

1export 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 <div

15 :style="styles"

16 class="min-w-[50px] h-full transition-colors"

17 :class="classes"

18 ></div>

19 `

20}