mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 07:50:36 +01:00
fix(module): stop using tailwind's shorthand arbitrary variable syntax (#2366)
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-[--ui-bg-elevated]' } }],
|
||||
['with class', { props: { ...props, class: 'bg-[var(--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