mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
refactor(module)!: implement design system with CSS variables (#2298)
This commit is contained in:
@@ -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' } }],
|
||||
|
||||
Reference in New Issue
Block a user