refactor(module)!: implement design system with CSS variables (#2298)

This commit is contained in:
Benjamin Canac
2024-10-07 14:48:02 +02:00
committed by GitHub
parent 3cf5535b2f
commit 9368c6a639
279 changed files with 6533 additions and 6994 deletions

View File

@@ -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' } }],