so://phie

verbal

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

blob: 7bf5bf768eb3d01bd180ed8fb081ad402029b19e (554 bytes)[doc][blame][raw]

1export default {

2 props: ['id', 'size'],

3 computed: {

4 classes() {

5 return [

6 `ti-${this.id}`,

7 ];

8 },

9 styles() {

10 return {

11 'font-size': `${this.size ?? '24px'}`

12 };

13 }

14 },

15 template: `

16 <div

17 class="ti h-full transition-colors relative before:absolute before:top-[50%] before:left-[50%] before:-translate-x-1/2 before:-translate-y-[55%]"

18 :class="classes"

19 :style="styles"

20 ></div>

21 `

22}