Is it possible to apply custom CSS style to a Plotly SHAPE?

I want to apply a stripe pattern to the rectangles in a Bar Chart, or to custom shapes. The CSS for this task looks like:

background-image:
linear-gradient(135deg, #fdb462 15%, #b3de69 15%, #b3de69 50%, #fdb462 50%, #fdb462 65%, #b3de69 65%, #b3de69 100%);
background-size: 28.28px 28.28px;

Now, I can apply this CSS to html.Div’s by its classsName parameter. Is it possible to apply the same CSS to Plotly shape’s or to Plotly BarChart rectangles?