mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-02 21:27:54 +01:00
refactor(module)!: implement design system with CSS variables (#2298)
This commit is contained in:
@@ -33,17 +33,17 @@ describe('CommandPalette', () => {
|
||||
items: [{
|
||||
label: 'bug',
|
||||
chip: {
|
||||
color: 'red'
|
||||
color: 'error'
|
||||
}
|
||||
}, {
|
||||
label: 'feature',
|
||||
chip: {
|
||||
color: 'green'
|
||||
color: 'success'
|
||||
}
|
||||
}, {
|
||||
label: 'enhancement',
|
||||
chip: {
|
||||
color: 'blue'
|
||||
color: 'info'
|
||||
}
|
||||
}]
|
||||
}, {
|
||||
@@ -73,7 +73,7 @@ describe('CommandPalette', () => {
|
||||
['with close', { props: { ...props, close: true } }],
|
||||
['with closeIcon', { props: { ...props, close: true, closeIcon: 'i-heroicons-trash' } }],
|
||||
['with as', { props: { ...props, as: 'section' } }],
|
||||
['with class', { props: { ...props, class: 'divide-gray-300 dark:divide-gray-700' } }],
|
||||
['with class', { props: { ...props, class: 'divide-[--ui-border-accented]' } }],
|
||||
['with ui', { props: { ...props, ui: { input: '[&>input]:h-10' } } }],
|
||||
// Slots
|
||||
['with empty slot', { props, slots: { empty: () => 'Empty slot' } }],
|
||||
|
||||
Reference in New Issue
Block a user