I am currently working on customizing my orange arrow to resemble the pink arrow, but I want to achieve this without relying on an external CSS library like bulma. The reason the pink arrow looks different is because it utilizes the bulma library in its styling.
Interestingly, the code for the pink arrow that I shared below is exactly the same as mine. The only distinction is that they incorporate bulma CSS into their sass file.
In my implementation, I am utilizing styled components.
export const Prompt = styled.span`
background-color: ${({ theme }) => theme.colors.orange};
color: #000000;
padding: 0 0.5rem;
`;
export const Triangle = styled.span`
width: 0px;
height: 0px;
border-top: 0.75rem solid transparent;
border-bottom: 0.75rem solid transparent;
border-left: 0.75rem solid ${({ theme }) => theme.colors.orange};
padding-right: 0.5rem;
`;
To use these components:
<Prompt />
<Triangle />