feat(design): sweep off-system styles and add the check:design gate
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -39,6 +39,11 @@ describe('Modernist tokens in globals.css', () => {
|
||||
expect(css).toMatch(/--color-blue-700:\s*var\(--color-accent-700\)/)
|
||||
})
|
||||
|
||||
it('remaps the red ramp onto the accent ramp, with body-size steps on accent-700', () => {
|
||||
expect(css).toMatch(/--color-red-600:\s*var\(--color-accent-700\)/)
|
||||
expect(css).toMatch(/--color-red-50:\s*var\(--color-accent-100\)/)
|
||||
})
|
||||
|
||||
it('maps shadows onto the Modernist elevation tokens', () => {
|
||||
expect(css).toMatch(/--shadow-2xl:\s*var\(--shadow-lg\)/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user