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

@@ -15,7 +15,7 @@ describe('Modal', () => {
['without transition', { props: { ...props, transition: false, title: 'Title', description: 'Description' } }],
['without close', { props: { ...props, close: false, title: 'Title', description: 'Description' } }],
['with closeIcon', { props: { ...props, closeIcon: 'i-heroicons-trash' } }],
['with class', { props: { ...props, class: 'bg-gray-50 dark:bg-gray-800' } }],
['with class', { props: { ...props, class: 'bg-[--ui-bg-elevated]' } }],
['with ui', { props: { ...props, ui: { close: 'right-2' } } }],
// Slots
['with default slot', { props, slots: { default: () => 'Default slot' } }],