mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
refactor(module)!: implement design system with CSS variables (#2298)
This commit is contained in:
@@ -20,9 +20,9 @@ describe('Progress', () => {
|
||||
...sizes.map((size: string) => [`with size ${size}`, { props: { size } }]),
|
||||
...orientations.map((orientation: string) => [`with orientation ${orientation}`, { props: { orientation } }]),
|
||||
...animations.map((animation: string) => [`with animation ${animation}`, { props: { animation } }]),
|
||||
['with color gray', { props: { color: 'gray', modelValue: 50 } }],
|
||||
['with color neutral', { props: { color: 'neutral', modelValue: 50 } }],
|
||||
['with class', { props: { class: 'w-48' } }],
|
||||
['with ui', { props: { ui: { base: 'bg-white dark:bg-gray-900' } } }],
|
||||
['with ui', { props: { ui: { base: 'bg-[--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