mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-23 08:20:39 +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:
@@ -9,7 +9,7 @@ describe('Collapsible', () => {
|
||||
// Props
|
||||
['with open', { props }],
|
||||
['with class', { props: { ...props, class: 'gap-4' } }],
|
||||
['with ui', { props: { ...props, ui: { content: 'bg-[--ui-bg-elevated]' } } }],
|
||||
['with ui', { props: { ...props, ui: { content: 'bg-[var(--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