An Angular implementation of the Carbon Design System for IBM.
The document provides instructions for getting started with the carbon-components-angular project. It includes information on the installation process and compatibility with different Angular versions.
$font-path
in the src/styles.scss
file to copy fonts to the dist
folder for offline usage.node_modules/carbon-components/src/globals/fonts
directory to the app’s src/assets/fonts
folder for organizing fonts separately from the dist
folder.To get started with the carbon-components-angular project, follow these steps:
@angular/cli
project.carbon-components
in the src/styles.scss
file.$font-path: '~carbon-components/src/globals/fonts';
at the top of src/styles.scss
. This will copy the fonts to the dist
folder during the build.node_modules/carbon-components/src/globals/fonts
to the app’s src/assets/fonts
folder. Then, add $font-path: '/assets/fonts/';
at the top of src/styles.scss
.npm start
to start building the application.The document provides instructions for installing and getting started with the carbon-components-angular project. It explains the process of including carbon-components in the project and provides options for offline usage and organizing fonts. Additionally, it includes a compatibility matrix indicating the supported versions of Angular and Carbon Components Angular.