mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +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:
@@ -22,7 +22,7 @@ describe('Progress', () => {
|
||||
...animations.map((animation: string) => [`with animation ${animation}`, { props: { animation } }]),
|
||||
['with color neutral', { props: { color: 'neutral', modelValue: 50 } }],
|
||||
['with class', { props: { class: 'w-48' } }],
|
||||
['with ui', { props: { ui: { base: 'bg-[--ui-bg]' } } }],
|
||||
['with ui', { props: { ui: { base: 'bg-[var(--ui-bg)]' } } }],
|
||||
// Slots
|
||||
['with status slot', { slots: { status: () => 'Status slot' } }]
|
||||
])('renders %s correctly', async (nameOrHtml: string, options: { props?: ProgressProps, slots?: Partial<ProgressSlots> }) => {
|
||||
|
||||
Reference in New Issue
Block a user