@carbon/ibmdotcom-styles
v2.15.1
Published
Carbon for IBM.com Styles
Downloads
25,042
Maintainers
Readme
@carbon/ibmdotcom-styles
A single, shared CSS resource for Carbon for IBM.com.
Getting started
To install @carbon/ibmdotcom-styles
in your project, you will need to run the
following command using npm:
npm i @carbon/ibmdotcom-styles
If you prefer Yarn, use the following command instead:
yarn add @carbon/ibmdotcom-styles
Usage
Import the package css into the top of your main CSS file.
@import '@carbon/ibmdotcom-styles/scss/components/footer/footer';
In Webpack, the full package can also be included to the root of your application (though is recommended only for testing):
import '@carbon/ibmdotcom-styles';
💡 There may be times pathing errors are encountered when importing certain
stylesheets. We're working hard to fix these, but in the meantime you can add
the following to your .env
file to resolve:
SASS_PATH=node_modules:src
💡 If importing carbon-components.min.css
, remember to import our CSS after
it.
Documentation
- See our documentation site here for full how-to docs and guidelines
- Contributing: Guidelines for making contributions to this repo.
🙌 Contributing
We're always looking for contributors to help us fix bugs, build new features, or help us improve the project documentation. If you're interested, definitely check out our Contributing Guide and our Developer Guide! 👀
IBM Telemetry
This package uses IBM Telemetry to collect de-identified and anonymized metrics data. By installing this package as a dependency you are agreeing to telemetry collection. To opt out, see Opting out of IBM Telemetry data collection. For more information on the data being collected, please see the IBM Telemetry documentation.
📝 License
Licensed under the Apache 2.0 License.