mirror of
https://github.com/fanchenio/DawnLauncher.git
synced 2025-07-14 05:12:11 +08:00
21 lines
429 B
Vue
21 lines
429 B
Vue
<template>
|
|
<span
|
|
v-if="content"
|
|
class="block text-xs"
|
|
:style="{
|
|
color: hexToRGBA(store.setting.appearance.theme.mainFontColor, 0.7),
|
|
}"
|
|
>{{ content }}</span
|
|
>
|
|
</template>
|
|
<script setup lang="ts">
|
|
import { useMainStore } from "../store";
|
|
import { hexToRGBA } from "../utils/style";
|
|
// pinia
|
|
const store = useMainStore();
|
|
// props
|
|
const props = defineProps<{
|
|
content: string | null;
|
|
}>();
|
|
</script>
|