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

USWDS - Bug: Opacity mixin causing build error #5881

Open
2 tasks done
clmedders opened this issue Apr 23, 2024 · 0 comments
Open
2 tasks done

USWDS - Bug: Opacity mixin causing build error #5881

clmedders opened this issue Apr 23, 2024 · 0 comments
Labels
Context: Sass Issue is in Sass Needs: Confirmation We need to confirm that this is an issue Package: Utilities Status: Triage We're triaging this issue and grooming if necessary Type: Bug A problem in the code

Comments

@clmedders
Copy link

Describe the bug

When trying to use the opacity mixin i am getting a build error that the mixin in undefined

Steps to reproduce the bug

use the mixin on a style sheet @include u-opacity(10) and run what ever build/watch command to compile the styles. I am then getting a build error that the mixin ins not defined.

Expected Behavior

I am expecting that i am able to use the mixin and set it to my intended percentage with out a build error and that i can use this mixin in place of native css styling

Related code

No response

Screenshots

Screenshot 2024-04-22 at 12 07 48 PM Screenshot 2024-04-22 at 12 07 36 PM

System setup

USWDS Version - "@uswds/uswds": "^3.8.0",
Device - Mac
Browser - Chrome

Additional context

This is the page i am using as reference - https://designsystem.digital.gov/design-tokens/opacity/

Code of Conduct

@clmedders clmedders added Needs: Confirmation We need to confirm that this is an issue Type: Bug A problem in the code labels Apr 23, 2024
@github-actions github-actions bot added the Status: Triage We're triaging this issue and grooming if necessary label Apr 23, 2024
@clmedders clmedders changed the title USWDS - Bug: [YOUR TITLE] USWDS - Bug: Opacity mixin causing build error Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Context: Sass Issue is in Sass Needs: Confirmation We need to confirm that this is an issue Package: Utilities Status: Triage We're triaging this issue and grooming if necessary Type: Bug A problem in the code
Projects
None yet
Development

No branches or pull requests

2 participants