mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-23 16:30:45 +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:
@@ -38,7 +38,7 @@ describe('Tabs', () => {
|
||||
...variants.map((variant: string) => [`with neutral variant ${variant}`, { props: { ...props, variant, color: 'neutral' } }]),
|
||||
['without content', { props: { ...props, content: false } }],
|
||||
['with class', { props: { ...props, class: 'w-96' } }],
|
||||
['with ui', { props: { ...props, ui: { content: 'w-full ring ring-[--ui-border]' } } }],
|
||||
['with ui', { props: { ...props, ui: { content: 'w-full ring ring-[var(--ui-border)]' } } }],
|
||||
// Slots
|
||||
['with leading slot', { props, slots: { leading: () => 'Leading slot' } }],
|
||||
['with default slot', { props, slots: { default: () => 'Default slot' } }],
|
||||
|
||||
Reference in New Issue
Block a user