mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 16:00: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:
@@ -38,7 +38,7 @@ describe('Toast', () => {
|
||||
['with closeIcon', { props: { ...props, closeIcon: 'i-heroicons-trash' } }],
|
||||
['with type', { props: { ...props, type: 'background' as const } }],
|
||||
['with color neutral', { props: { ...props, color: 'neutral' as const } }],
|
||||
['with class', { props: { ...props, class: 'bg-[--ui-bg-elevated]/50' } }],
|
||||
['with class', { props: { ...props, class: 'bg-[var(--ui-bg-elevated)]/50' } }],
|
||||
['with ui', { props: { ...props, ui: { title: 'font-bold' } } }],
|
||||
// Slots
|
||||
['with leading slot', { props, slots: { leading: () => 'Leading slot' } }],
|
||||
|
||||
Reference in New Issue
Block a user