mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-28 10:50:40 +01:00
refactor(module)!: implement design system with CSS variables (#2298)
This commit is contained in:
@@ -11,8 +11,8 @@ describe('Link', () => {
|
||||
['with disabled', { props: { disabled: true } }],
|
||||
['with raw', { props: { raw: true } }],
|
||||
['with class', { props: { class: 'font-medium' } }],
|
||||
['with activeClass', { props: { active: true, activeClass: 'text-gray-900 dark:text-white' } }],
|
||||
['with inactiveClass', { props: { active: false, inactiveClass: 'hover:text-primary-500 dark:hover:text-primary-400' } }],
|
||||
['with activeClass', { props: { active: true, activeClass: 'text-[--ui-text-highlighted]' } }],
|
||||
['with inactiveClass', { props: { active: false, inactiveClass: 'hover:text-[--ui-primary]' } }],
|
||||
// Slots
|
||||
['with default slot', { slots: { default: () => 'Default slot' } }]
|
||||
])('renders %s correctly', async (nameOrHtml: string, options: { props?: LinkProps, slots?: Partial<LinkSlots> }) => {
|
||||
|
||||
Reference in New Issue
Block a user