mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
chore: use new syntax for css variables (#3258)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
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-[var(--ui-bg-elevated)]' } }],
|
||||
['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