My dilemma lies in wanting to utilize the DatePicker feature from carbon-components-svelte. Unfortunately, when I do so, the global application of styles from carbon-components ends up causing some conflicts with my own custom styles.
As per the documentation for carbon-components-svelte, it suggests that "you can reduce the bundle CSS size by importing individual component styles", with a reference to this specific guide.
I initially hypothesized that importing just the SCSS styles for the DatePicker could solve my problem, assuming that these styles are minimal and would only impact the styling within the DatePicker component. However, upon exploring my node_modules folder, I realized there was no SCSS directory, making it impossible for me to import the DatePicker stylesheet individually.
- How can I incorporate the SCSS stylesheets for individual components while using carbon components for svelte?
- Are there any alternative methods to prevent the global application of these stylesheets?