Skip to content

Commit

Permalink
feat: chang icons
Browse files Browse the repository at this point in the history
  • Loading branch information
mewcoder committed Sep 12, 2022
1 parent 8262075 commit 572d725
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 17 deletions.
4 changes: 2 additions & 2 deletions packages/components/dialog/src/dialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<slot name="title">
<span class="a-dialog__title">{{ title }}</span>
</slot>
<button class="a-dialog__close" @click="handleClose"><XMarkIcon /></button>
<button class="a-dialog__close" @click="handleClose"><XIcon /></button>
</div>
<div class="a-dialog__body">
<!-- 默认插槽 -->
Expand All @@ -23,7 +23,7 @@

<script setup lang="ts">
import { dialogProps } from './dialog';
import { XMarkIcon } from '@heroicons/vue/24/solid';
import { XIcon } from 'atomu-icons';
defineProps(dialogProps);
const emit = defineEmits(['update:modelValue']);
Expand Down
1 change: 1 addition & 0 deletions packages/icons/declaration.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'atomu-icons'
14 changes: 0 additions & 14 deletions packages/icons/src/a.jsx

This file was deleted.

2 changes: 1 addition & 1 deletion packages/theme/dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
.a-dialog__close {
@apply absolute top-20px right-20px;
@apply bg-transparent border-transparent cursor-pointer;
@apply text-size-16px;
@apply text-gray-500;
}

.a-dialog__body {
Expand Down

0 comments on commit 572d725

Please sign in to comment.