mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 01:40:34 +01:00
refactor(module)!: implement design system with CSS variables (#2298)
This commit is contained in:
@@ -9,7 +9,7 @@ describe('Collapsible', () => {
|
||||
// Props
|
||||
['with open', { props }],
|
||||
['with class', { props: { ...props, class: 'gap-4' } }],
|
||||
['with ui', { props: { ...props, ui: { content: 'bg-gray-50 dark:bg-gray-800' } } }],
|
||||
['with ui', { props: { ...props, ui: { content: 'bg-[--ui-bg-elevated]' } } }],
|
||||
// Slots
|
||||
['with default slot', { props, slots: { default: () => 'Default slot' } }],
|
||||
['with content slot', { props, slots: { content: () => 'Content slot' } }]
|
||||
|
||||
Reference in New Issue
Block a user