Files
Noel Sabia 8d687ad05b
ci / check (push) Successful in 1m17s
ci / check (pull_request) Successful in 1m13s
feat: add operational use cases console
2026-11-14 21:39:15 +01:00

30 lines
693 B
Vue

<script setup lang="ts">
withDefaults(
defineProps<{
label: string
value: string
hint?: string
tone?: 'default' | 'accent'
mono?: boolean
}>(),
{
hint: '',
tone: 'default',
mono: true,
},
)
</script>
<template>
<div class="flex flex-col rounded-lg border border-[#1e3a52] bg-[#0e2233] p-2.5">
<span class="text-[11px] text-[#94A3B8]">{{ label }}</span>
<span
class="mt-0.5 text-lg font-bold leading-tight"
:class="[tone === 'accent' ? 'text-[#00C3CD]' : 'text-[#FFFFFF]', mono ? 'font-mono' : '']"
>
{{ value }}
</span>
<span v-if="hint" class="text-[10px] text-[#64748B]">{{ hint }}</span>
</div>
</template>