style: run linter

This commit is contained in:
Sebin Nyshkim 2023-04-03 00:55:28 +02:00
parent de3862bf77
commit 4853e1ec63
26 changed files with 502 additions and 631 deletions

View file

@ -1,23 +1,23 @@
<script setup lang="ts">
import { computed } from "vue";
import { computed } from 'vue'
interface Props {
modelValue: boolean;
id: string;
name?: string;
modelValue: boolean
id: string
name?: string
}
const props = defineProps<Props>();
const emit = defineEmits(["update:modelValue"]);
const props = defineProps<Props>()
const emit = defineEmits(['update:modelValue'])
const checked = computed({
get() {
return props.modelValue;
return props.modelValue
},
set(value) {
emit("update:modelValue", value);
},
});
emit('update:modelValue', value)
}
})
</script>
<template>
@ -37,9 +37,8 @@ const checked = computed({
<style lang="scss">
.toggle {
font-family: "apple color emoji", "noto color emoji", "segoe ui emoji",
"android emoji", "emojisymbols", "emojione mozilla", "twemoji mozilla",
"segoe ui symbol";
font-family: 'apple color emoji', 'noto color emoji', 'segoe ui emoji', 'android emoji',
'emojisymbols', 'emojione mozilla', 'twemoji mozilla', 'segoe ui symbol';
padding: 0.5em;
@ -84,7 +83,7 @@ const checked = computed({
&:before,
&:after {
content: "";
content: '';
position: absolute;
left: 0;
height: 1.1em;