Currently, my challenge involves applying opacity to a background color sourced from the fluent UI library, which utilizes Design Tokens.
Typically, I would add opacity to a background color like this:
background-color: "rgba(255, 255, 255, 0.5)"
However, in my scenario, the background color is defined as follows:
import tokens from "fluent ui library here"
export const useStyles = makeStyles({
backgroundColor: tokens.colorNeutralBackground2
)}
I'm seeking assistance on how I can incorporate transparency into this attribute while adhering to the design token system. Any suggestions would be greatly appreciated.