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:
@@ -29,7 +29,7 @@ describe('FormField', () => {
|
||||
['with hint', { props: { hint: 'Use letters, numbers, and special characters' } }],
|
||||
...sizes.map((size: string) => [`with size ${size}`, { props: { label: 'Username', description: 'Enter your username', size } }]),
|
||||
['with class', { props: { class: 'relative' } }],
|
||||
['with ui', { props: { ui: { label: 'text-gray-900 dark:text-white' } } }],
|
||||
['with ui', { props: { ui: { label: 'text-[--ui-text-highlighted]' } } }],
|
||||
// Slots
|
||||
['with default slot', { slots: { default: () => 'Default slot' } }],
|
||||
['with label slot', { slots: { label: () => 'Label slot' } }],
|
||||
|
||||
Reference in New Issue
Block a user