-
Notifications
You must be signed in to change notification settings - Fork 7.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: adds basic visual regression testing for icons #16408
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Skipped Deployments
|
Graphite Automations"Add foundation team as reviewer" took an action on this PR • (08/30/24)1 reviewer was added to this PR based on Keith Williams's automation. |
@@ -2,77 +2,77 @@ | |||
<!-- This file is generated by npm run build:icons --> | |||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="0" height="0"> | |||
<defs> | |||
<symbol class="lucide lucide-activity" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="activity"> | |||
<symbol class="lucide lucide-activity" viewBox="0 0 24 24" fill="inherit" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="activity"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This allows using tailwind "fill-*" classes to work properly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorted alphabetically, removed duplicated ones.
@@ -89,6 +89,7 @@ async function generateSvgSprite({ files, inputDir, outputPath }) { | |||
|
|||
svg.tagName = "symbol"; | |||
svg.setAttribute("id", iconName(file)); | |||
svg.setAttribute("fill", "inherit"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the main fix
apps/web/playwright/icons.e2e.ts-snapshots/icons--calcom-web.png
Outdated
Show resolved
Hide resolved
E2E results are ready! |
What does this PR do?
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
Checklist