USWDS - Bug: Opacity mixin causing build error #5881
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
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
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
The text was updated successfully, but these errors were encountered: