fix(package/ui): fix package ui regression target on icons (#9479)

This commit is contained in:
Ulf Gebhardt 2026-04-02 02:16:54 +02:00 committed by GitHub
parent 2cd07950c6
commit 9cba88cb68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 7 additions and 3 deletions

View File

@ -1656,7 +1656,7 @@ Bei der Migration werden:
| 2026-02-08 | **OsButton: outline primary** | Grüner Rahmen + grüner Text + hellgrüner Hintergrund-Tint (rgba(25,122,49,0.18)) |
| 2026-02-08 | **OsButton: ghost primary** | Transparenter Hintergrund, grüner Text, Hover füllt grün, Active dunkler |
| 2026-02-08 | **OsButton: Focus Style** | `focus:outline-dashed focus:outline-1` statt ring (wie base-button) |
| 2026-02-08 | **OsButton: Active State** | `active:bg-[var(--color-*-hover)]` für dunkleren Hintergrund beim Drücken |
| 2026-02-08 | **OsButton: Active State** | active:bg-[var(--color-VARIANT-hover)] für dunkleren Hintergrund beim Drücken |
| 2026-02-08 | **Visuelle Validierung** | Tracking-Tabelle in PROJEKT.md für manuelle Button-Vergleiche (4/16 validiert) |
| 2026-02-08 | **Storybook Grayscale Theme** | Vollständige CSS-Variablen: default, active-states, contrast-inverse |
| 2026-02-08 | **Tailwind Source Filter** | `@import "tailwindcss" source(none)` - verhindert Markdown-Scanning |

View File

@ -56,7 +56,9 @@ test.describe('OsIcon visual regression', () => {
await root.waitFor()
await waitForFonts(page)
await expect(root.locator('.grid')).toHaveScreenshot('all-icons.png')
await expect(root.locator('.grid')).toHaveScreenshot('all-icons.png', {
maxDiffPixelRatio: 0,
})
await checkA11y(page)
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -66,7 +66,9 @@ test.describe('OcelotIcons visual regression', () => {
await root.waitFor()
await waitForFonts(page)
await expect(root.locator('[data-testid="icon-gallery"]')).toHaveScreenshot('all-icons.png')
await expect(root.locator('[data-testid="icon-gallery"]')).toHaveScreenshot('all-icons.png', {
maxDiffPixelRatio: 0,
})
await checkA11y(page)
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 82 KiB