I want to use the DatePicker from carbon-components-svelte, unfortunately, the styles from carbon-components are applied globally and some of my own styles break.
According to carbon-components-svelte documentation "you can reduce the size of the bundle CSS by importing individual component styles", whereupon they refer to this guide.
I thought that importing just the DatePicker SCSS styles would be the solution (since the styles are fewer and hopefully only affects the styling in the datepicker component). However, in my node_modules folder I don't have a SCSS folder, hence, trying to import the individual DatePicker style sheet does not work.
- How do I use the individual component's SCSS stylesheets with carbon components for svelte?
- Is there any other way to prevent the stylesheet from being applied globally?