Comments (3)
Nevermind, this DOES work, it was a problem on how i was handling my rollup.
The snippet bellow works like charm if you wan't use the Gray-100 theme:
@import "carbon-components/scss/globals/scss/vendor/@carbon/themes/scss/themes";
$carbon--theme: $carbon--theme--g100;
@include carbon--theme();
@import 'carbon-components/scss/globals/scss/styles';
from carbon-components-svelte.
@NickStarlight I'm having this same issue, but it's not clear what I need to do in my rollup to fix this. Do you have any information on how to do this?
from carbon-components-svelte.
Aha! I see that the path you used is different than the path recommended on the main documentation. Adjusting the path fixes things.
from carbon-components-svelte.
Related Issues (20)
- RadioButton `value` type should allow numbers HOT 1
- Evaluate svelte-package and inlining styles
- Numberinput cannot input .0 after any number. HOT 8
- Dropdown breaks when iframe
- Prepare package for v1
- RadioButton checked doesn't change HOT 1
- Button with icon only - always shows tooltip HOT 2
- TooltipIcon memory leak HOT 3
- TextInput v11 HOT 4
- PasswordInput v11 HOT 5
- Alphabetize prop names in documentation HOT 5
- Layer (new component) HOT 3
- Use `Button` component instead of native `button` in `HeaderGlobalAction` HOT 1
- Popover v11 HOT 5
- Support nested properties in DataTable filtering search HOT 3
- IconButton v11 HOT 1
- DataTable on:click:row is missing target and currentTarget information
- ContextMenu prevents context menu invocations outside of the target HOT 2
- TypeScript cannot find CarbonTheme type when using Theme HOT 5
- `ToastNotification` close event can fire after close due to timeout HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carbon-components-svelte.