mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
refactor(module)!: implement design system with CSS variables (#2298)
This commit is contained in:
@@ -14,7 +14,7 @@ describe('Drawer', () => {
|
||||
['with right direction', { props: { ...props, direction: 'right' as const, title: 'Title', description: 'Description' } }],
|
||||
['without handle', { props: { ...props, handle: false, title: 'Title', description: 'Description' } }],
|
||||
['without overlay', { props: { ...props, overlay: false, title: 'Title', description: 'Description' } }],
|
||||
['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: { handle: 'w-20' } } }],
|
||||
// Slots
|
||||
['with default slot', { props, slots: { default: () => 'Default slot' } }],
|
||||
|
||||
Reference in New Issue
Block a user