so://phie

verbal

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

blob: cc46ca462f57a7daa111f8d8d5e5f2917a94be73 (567 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 min-w-[50px] 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}