Skip to content

Commit

Permalink
chore(project): sync generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
carbon-bot authored and joshblack committed Jan 6, 2020
1 parent 51558b6 commit 90feb07
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/components/docs/sass.md
Expand Up @@ -2550,6 +2550,11 @@ Convert a given px unit to a rem unit

```scss
@function carbon--rem($px) {
@if unit($px) != 'px' {
// TODO: update to @error in v11
@warn "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
}

@return ($px / $carbon--base-font-size) * 1rem;
}
```
Expand Down Expand Up @@ -2579,6 +2584,11 @@ Convert a given px unit to a em unit

```scss
@function carbon--em($px) {
@if unit($px) != 'px' {
// TODO: update to @error in v11
@warn "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
}

@return ($px / $carbon--base-font-size) * 1em;
}
```
Expand Down
10 changes: 10 additions & 0 deletions packages/elements/docs/sass.md
Expand Up @@ -2326,6 +2326,11 @@ Convert a given px unit to a rem unit

```scss
@function carbon--rem($px) {
@if unit($px) != 'px' {
// TODO: update to @error in v11
@warn "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
}

@return ($px / $carbon--base-font-size) * 1rem;
}
```
Expand Down Expand Up @@ -2354,6 +2359,11 @@ Convert a given px unit to a em unit

```scss
@function carbon--em($px) {
@if unit($px) != 'px' {
// TODO: update to @error in v11
@warn "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
}

@return ($px / $carbon--base-font-size) * 1em;
}
```
Expand Down
10 changes: 10 additions & 0 deletions packages/layout/docs/sass.md
Expand Up @@ -733,6 +733,11 @@ Convert a given px unit to a rem unit

```scss
@function carbon--rem($px) {
@if unit($px) != 'px' {
// TODO: update to @error in v11
@warn "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
}

@return ($px / $carbon--base-font-size) * 1rem;
}
```
Expand Down Expand Up @@ -761,6 +766,11 @@ Convert a given px unit to a em unit

```scss
@function carbon--em($px) {
@if unit($px) != 'px' {
// TODO: update to @error in v11
@warn "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
}

@return ($px / $carbon--base-font-size) * 1em;
}
```
Expand Down

0 comments on commit 90feb07

Please sign in to comment.