Closed mochamadArif closed 1 year ago
You can add a class to override the default class.
.mx-datepicker svg { fill: 'none' }
or
<path
d="M9 3L18 12L9 21"
fill="none"
stroke="currentColor"
stroke-width="3"
stroke-linecap="round"
/>
Vue2-datepicker version: v3.11.1 Vue version: v2.6.14 Browser: Chrome
Steps to reproduce I use tailwind and custom SVG icon as component.
Reproduction Link or Source Code
SVG file
Expected behavior I expect my icon to show without any color modifier from the slot.
Actual behavior The slot style has
.mx-datepicker svg { fill: currentColor; .... }
, causing outline only SVG added fill color.