Can you help me with this coding issue I'm facing?
.npt {
ul {
li {
a {
background: $red-700 !important;
}
}
}
}
I want to create a mixin that allows me to pass a color base like ($blue) and return the corresponding CSS style.
For example, something like this:
@mixin .npt($blue); -->
.npt {
ul {
li {
a {
background: $blue-700 !important;
}
}
}
}
Could you guide me on how I can achieve this functionality? Thank you!