I am using antd components in my react project. I want to override the specific component's styling in scss. I found answers for css but the same thing doesn't work with scss.
I want to override antd-tooltip-arrow component's background color.
I am using antd components in my react project. I want to override the specific component's styling in scss. I found answers for css but the same thing doesn't work with scss.
I want to override antd-tooltip-arrow component's background color.
To override the background color of the antd-tooltip-arrow component using SCSS, you can utilize the
--antd-arrow-background-colorCSS variable. Here's how you can achieve this:[style*='--antd-arrow-background-color']selector is used to select elements that have inline styles containing the--antd-arrow-background-colorCSS variable.--antd-arrow-background-colorvariable to your desired color, you override the default background color of the tooltip arrow.