mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-04 04:30:04 +00:00
* temp: move tailwind calls out of the layer * temp: ts tailwind config * upgrade: Tailwind v4 This got a little out of hand. Had to add a relative reference to the stylesheet in any component that uses @apply instead of the utility classes directly. * upgrade: bg-opacity is now a modifier * fix: Classic menu buttons assume a border * Update test expectations [skip ci] * fix: New preflight removal pattern * fix: Skeletons don't have skin * Update test expectations [skip ci] * fix: Missing @reference * [auto-fix] Apply ESLint and Prettier fixes --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: GitHub Action <action@github.com>
14 lines
355 B
Vue
14 lines
355 B
Vue
<template>
|
|
<div
|
|
class="inline-flex justify-center items-center gap-1 shrink-0 py-1 px-2 text-xs bg-[#D9D9D966]/40 rounded font-bold text-white/90"
|
|
>
|
|
<slot name="icon" class="text-xs text-white/90"></slot>
|
|
<span>{{ label }}</span>
|
|
</div>
|
|
</template>
|
|
<script setup lang="ts">
|
|
const { label } = defineProps<{
|
|
label: string
|
|
}>()
|
|
</script>
|