-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: add the ability to use our icons from within SCSS #4136
base: main
Are you sure you want to change the base?
Conversation
…sk to make icons available in the package for development
🦋 Changeset detectedLatest commit: 2c7ce5d The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Related Previews |
packages/documentation/src/stories/foundations/icons/icon.docs.mdx
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/foundations/icons/icon.docs.mdx
Outdated
Show resolved
Hide resolved
packages/icons/src/constants.ts
Outdated
return `@container pi ${[min, max].filter(Boolean).join(' and ')} { | ||
g { | ||
--pis-${size}: block; | ||
} | ||
}`; |
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.
Can you add a fallback for browsers that don't support container queries?
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.
Not necessary anymore, because I switched to use media queries. They are working great, and are supported since almost a decade. Please have a look at the tested browsers at the top of this PR.
…th the updated icons form the icons package
….mdx Co-authored-by: Philipp Gfeller <1659006+gfellerph@users.noreply.github.com>
….mdx Co-authored-by: Philipp Gfeller <1659006+gfellerph@users.noreply.github.com>
# Conflicts: # packages/documentation/src/stories/foundations/icons/icon.styles.scss
…ix to keep maximum backwards compatibility
Quality Gate passedIssues Measures |
I've used one icon from the current
Post
IconSet (icon: 1000) and one from the newUI
IconSet (icon accessibility).Both have been tested with the new
post-icon
mixin and thepost-icon
web-component.The icons have been implemented into and were served by the test project itself.
Windows 10
Android
Mac OS
iOS
iPadOS