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:
@@ -37,8 +37,8 @@ describe('Toast', () => {
|
||||
['without close', { props: { ...props, close: false } }],
|
||||
['with closeIcon', { props: { ...props, closeIcon: 'i-heroicons-trash' } }],
|
||||
['with type', { props: { ...props, type: 'background' as const } }],
|
||||
['with color gray', { props: { ...props, color: 'gray' as const } }],
|
||||
['with class', { props: { ...props, class: 'bg-gray-50 dark:bg-gray-800/50' } }],
|
||||
['with color neutral', { props: { ...props, color: 'neutral' as const } }],
|
||||
['with class', { props: { ...props, class: 'bg-[--ui-bg-elevated]/50' } }],
|
||||
['with ui', { props: { ...props, ui: { title: 'font-bold' } } }],
|
||||
// Slots
|
||||
['with leading slot', { props, slots: { leading: () => 'Leading slot' } }],
|
||||
|
||||
Reference in New Issue
Block a user