mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 18:00:43 +01:00
refactor(module)!: implement design system with CSS variables (#2298)
This commit is contained in:
@@ -14,10 +14,10 @@ describe('Chip', () => {
|
||||
['with inset', { props: { inset: true } }],
|
||||
...sizes.map((size: string) => [`with size ${size}`, { props: { size } }]),
|
||||
...positions.map((position: string) => [`with position ${position}`, { props: { position } }]),
|
||||
['with color gray', { props: { color: 'gray' } }],
|
||||
['with color neutral', { props: { color: 'neutral' } }],
|
||||
['without show', { props: { show: false } }],
|
||||
['with class', { props: { class: 'mx-auto' } }],
|
||||
['with ui', { props: { ui: { base: 'text-gray-500 dark:text-gray-400' } } }],
|
||||
['with ui', { props: { ui: { base: 'text-[--ui-text-muted]' } } }],
|
||||
// Slots
|
||||
['with default slot', { slots: { default: () => 'Default slot' } }],
|
||||
['with content slot', { slots: { content: () => 'Content slot' } }]
|
||||
|
||||
Reference in New Issue
Block a user