fix: remove wrong file name
This commit is contained in:
parent
ae249a9d38
commit
2e509ec422
1 changed files with 0 additions and 47 deletions
|
|
@ -1,47 +0,0 @@
|
|||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
label?: string;
|
||||
cyanOn?: boolean;
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="column items-center box" :class="{ dark: $q.dark.isActive }">
|
||||
<div class="row">
|
||||
<q-btn
|
||||
unelevated
|
||||
@click="$emit('trigger')"
|
||||
size="lg"
|
||||
class="color-btn"
|
||||
icon="mdi-plus"
|
||||
round
|
||||
/>
|
||||
</div>
|
||||
<div v-if="label" class="row q-mt-sm color-text" :class="{ cyan: cyanOn }">
|
||||
{{ $t(label) }}
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.box {
|
||||
--_btn-add-color: var(--cyan-6-hsl);
|
||||
|
||||
.color-btn {
|
||||
color: hsl(var(--_btn-add-color));
|
||||
background: hsla(var(--_btn-add-color) / 0.1) !important;
|
||||
}
|
||||
|
||||
.color-text {
|
||||
color: var(--stone-6);
|
||||
|
||||
&.cyan {
|
||||
color: hsl(var(--cyan-5-hsl));
|
||||
}
|
||||
}
|
||||
|
||||
&.dark {
|
||||
--_btn-add-color: var(--cyan-5-hsl);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue