mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-27 02:10:40 +01:00
chore: use new syntax for css variables (#3258)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -12,7 +12,7 @@ describe('Collapsible', () => {
|
||||
['with unmountOnHide', { props: { ...props, unmountOnHide: false } }],
|
||||
['with disabled', { props: { ...props, disabled: true } }],
|
||||
['with class', { props: { ...props, class: 'flex flex-col gap-2 w-48' } }],
|
||||
['with ui', { props: { ...props, ui: { content: 'bg-[var(--ui-bg-elevated)]' } } }],
|
||||
['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