Skip to content
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

Badge mixin #23

Closed
russbiggs opened this issue Mar 17, 2025 · 0 comments · Fixed by #25
Closed

Badge mixin #23

russbiggs opened this issue Mar 17, 2025 · 0 comments · Fixed by #25
Assignees

Comments

@russbiggs
Copy link
Member

Although we dont have a direct need for it. It may be nice to create a mixin for the badges so that custom colors etc can be defined outside of the 3 colors explicitly defined in the current design file. e.g.

@use 'openaq-design-system/variables' as variables;
@use 'openaq-design-system/mixins' as mixins;

@include mixins.badge(variables.$oceans)
@helenaskagerlid helenaskagerlid self-assigned this Mar 25, 2025
@RebeckaGothlin RebeckaGothlin pinned this issue Mar 25, 2025
@RebeckaGothlin RebeckaGothlin unpinned this issue Mar 25, 2025
@helenaskagerlid helenaskagerlid linked a pull request Mar 25, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants