Skip to content

Commit e39e359

Browse files
committed
fix(content-switcher): DAP Issues
1 parent 5851870 commit e39e359

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+438
-261
lines changed

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @cal-smith @zvonimirfras @magedhennawy
1+
* @cal-smith @zvonimirfras @magedhennawy @youda97

README.md

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
# Carbon Components Angular [![npm](https://img.shields.io/npm/v/carbon-components-angular.svg)](https://www.npmjs.com/package/carbon-components-angular) [![Travis](https://travis-ci.com/IBM/carbon-components-angular.svg?branch=master)](https://travis-ci.com/IBM/carbon-components-angular)
2-
An _Angular_ implementation of the Carbon Design System
1+
<p align="center">
2+
<h1 align="center">Carbon Components Angular</h1>
3+
<p align="center">
4+
An Angular implementation of the Carbon Design System
5+
<br /><br />
6+
<a href="https://travis-ci.com/IBM/carbon-components-angular">
7+
<img src="https://travis-ci.com/IBM/carbon-components-angular.svg?branch=master" />
8+
</a>
9+
<a href="https://www.npmjs.com/package/carbon-components-angular">
10+
<img src="https://img.shields.io/npm/v/carbon-components-angular.svg" />
11+
</a>
12+
<img alt="semantic-release" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg">
13+
</p>
14+
</p>
315

416
### Getting started
517

@@ -19,31 +31,12 @@ Then we need to include carbon-components in `src/styles.scss`:
1931

2032
> *Note:* For offline usage we'll need to set `$font-path: '~carbon-components/src/globals/fonts';` at the very top of our `src/styles.scss`. This will copy the fonts to our `dist` folder upon successful build. If you like the fonts to be a part of your `assets` folder and not pollute the `dist` folder then copy the fonts from `node_modules/carbon-components/src/globals/fonts` into our app's `src/assets/fonts` folder and add `$font-path: '/assets/fonts/';` at the very top of our `src/styles.scss`.
2133
22-
Then set up our translations in `src/app/app.module.ts`:
23-
24-
```ts
25-
import { BrowserModule } from '@angular/platform-browser';
26-
import { NgModule } from '@angular/core';
27-
28-
import { AppComponent } from './app.component';
29-
30-
@NgModule({
31-
declarations: [
32-
AppComponent
33-
],
34-
imports: [
35-
BrowserModule,
36-
],
37-
providers: [],
38-
bootstrap: [AppComponent]
39-
})
40-
export class AppModule { }
41-
```
42-
43-
_Finally_ we can run `npm start` and start building out our application!
34+
That's it! Now we can run `npm start` and start building out our application!
4435

4536
> *Note:* This isn't the only way to bootstrap a `carbon-components-angular` application, but the combination of `@angular/cli` and the `carbon-components` scss is our recommended setup.
4637
38+
[![Edit Carbon Components Angular](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/0129r494ql)
39+
4740
### Contributing
4841

4942
#### Quickstart

0 commit comments

Comments
 (0)