-
Notifications
You must be signed in to change notification settings - Fork 4
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
fix: Icon spacing in jump link stories #100
Conversation
✅ Deploy Preview for cfpb-design-stories ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
😮 🏆
See if |
99234fb
to
645288e
Compare
…ponents imported from the library have the styles applied - feat: Make all components accessible via index.ts
645288e
to
b04c969
Compare
Turns out to fix the antialiasing we just had to install the latest version of the design system. I also added a typescript alias that points |
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.
Nice work!
Closes #99
Based on my investigation, it feels more logical to utilize css for icon spacing as opposed to relying on devs inserting an
between elements. I hope this saves someone else's sanity in the future.This PR got a bit large but it:
index.ts
entry point so that they apply globally. Also exports all components viaindex.ts
so that they are easily accessible from Design Stories library\index.ts
where possible to help ensure all components that should be externally accessible are made available.Happy to chat about this approach or walk through changes if need.