feat(design): switch to IMS Admin tokens, Geist and the 1px-rule gate
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -28,7 +28,7 @@ describe('Sidebar (Modernist shell)', () => {
|
||||
it('is flat: a 2px divider rule, ground fill and no rounded corners except the avatar', () => {
|
||||
const { container } = render(<Sidebar role="hse" userName="Ada" userEmail="" />)
|
||||
const aside = container.querySelector('aside')
|
||||
expect(aside?.className).toContain('border-r-2')
|
||||
expect(aside?.className).toContain('border-r')
|
||||
expect(aside?.className).toContain('bg-ground')
|
||||
const rounded = container.innerHTML.match(/rounded[\w-]*/g) ?? []
|
||||
expect(rounded.every(r => r === 'rounded-full')).toBe(true)
|
||||
|
||||
@@ -35,7 +35,7 @@ describe('Modal (Modernist dialog)', () => {
|
||||
)
|
||||
const html = screen.getByRole('dialog').innerHTML
|
||||
expect(html).not.toMatch(/rounded/)
|
||||
expect(html).toContain('border-b-2')
|
||||
expect(html).toContain('border-b')
|
||||
})
|
||||
|
||||
it('closes from the X button and on Escape', () => {
|
||||
|
||||
Reference in New Issue
Block a user