Skip to content

Instantly share code, notes, and snippets.

@joshblack
Last active April 17, 2018 13:58
Show Gist options
  • Save joshblack/ea44c784f99de7d35a9b091047718d0b to your computer and use it in GitHub Desktop.
Save joshblack/ea44c784f99de7d35a9b091047718d0b to your computer and use it in GitHub Desktop.
Carbon Design System FAQs

FAQs

Components

Accordion

Is it possible to have an accordion nested inside an accordion?
Including scss files
Problem

I've installed carbon-addon-xyz and added its index.scss file and now get:

 File to import not found or unreadable: carbon-components/scss/globals/scss/colors.
     in ......... node_modules\carbon-addons-cloud\scss\components\Card\_card.scss (line 1,
column 1)
Solution

node-sass has multiple configuration options, one of them being includePaths. If you add node_modules to the includePaths configuration option, then you'll fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment