feat(web): migrate CRM screens to Ant Design Vue with central theme
Adopt ant-design-vue and a shared antdTheme for leads, pipeline, invoices, and shared form controls under strict single-page governance. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import UiButton from '@/components/ui/UiButton.vue';
|
||||
import UiIcon from '@/components/UiIcon.vue';
|
||||
import { PlusOutlined } from '@ant-design/icons-vue';
|
||||
import { Button as AButton } from 'ant-design-vue';
|
||||
import type { PipelineAccent } from '@/lib/pipeline-board';
|
||||
import { PIPELINE_ACCENT } from '@/lib/pipeline-board';
|
||||
|
||||
@@ -18,15 +18,14 @@ const emit = defineEmits<{
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UiButton
|
||||
variant="dashed"
|
||||
<a-button
|
||||
type="dashed"
|
||||
block
|
||||
class="add-deal"
|
||||
:style="{ color: PIPELINE_ACCENT[accent].text }"
|
||||
:aria-label="label"
|
||||
@click="emit('add')"
|
||||
>
|
||||
<UiIcon name="plus" :size="16" />
|
||||
<template #icon><PlusOutlined /></template>
|
||||
{{ label }}
|
||||
</UiButton>
|
||||
</a-button>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user