refactor(module)!: implement design system with CSS variables (#2298)

This commit is contained in:
Benjamin Canac
2024-10-07 14:48:02 +02:00
committed by GitHub
parent 3cf5535b2f
commit 9368c6a639
279 changed files with 6533 additions and 6994 deletions

View File

@@ -37,7 +37,7 @@ export interface ModalProps extends DialogRootProps {
portal?: boolean
/**
* Display a close button to dismiss the modal.
* `{ size: 'md', color: 'gray', variant: 'ghost' }`{lang="ts-type"}
* `{ size: 'md', color: 'neutral', variant: 'ghost' }`{lang="ts-type"}
* @defaultValue true
*/
close?: ButtonProps | boolean
@@ -138,7 +138,7 @@ const ui = computed(() => modal({
v-if="close"
:icon="closeIcon || appConfig.ui.icons.close"
size="md"
color="gray"
color="neutral"
variant="ghost"
aria-label="Close"
v-bind="typeof close === 'object' ? close : undefined"