Skip to content

Commit

Permalink
Default to having icons for Info Box, Info subtle, Warning box and Wa…
Browse files Browse the repository at this point in the history
…rning subtle
  • Loading branch information
viggo committed Mar 11, 2021
1 parent a66f1a2 commit 073eef3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/shared/components/info-box/Info-box.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Elements:

```html|plain,light
<div class="hw-info-box">
<i class="fas fa-lg fa-info-square hw-info-box__icon"></i>
<div class="hw-info-box__body">
<h3 class="hw-info-box__title">Title</h3>
<p>The body text is here. Should not be very long</p>
Expand All @@ -27,11 +28,10 @@ Elements:
</div>
```

### Info box - with icon
### Info box - no icon

```html|plain,light
<div class="hw-info-box">
<i class="fas fa-lg fa-info-square hw-info-box__icon"></i>
<div class="hw-info-box__body">
<h3 class="hw-info-box__title">Title</h3>
<p>The body text is here. Should not be very long</p>
Expand Down
4 changes: 2 additions & 2 deletions src/shared/components/info-subtle/Info-subtle.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ Elements:

```html|plain,light
<div class="hw-info-subtle">
<i class="fas fa-exclamation-triangle hw-info-subtle__icon"></i>
The body text is here. Inline elements only.&nbsp;
<a class="hw-link">Click me</a>
</div>
```

## Info subtle - with icon
## Info subtle - no icon

```html|plain,light
<div class="hw-info-subtle">
<i class="fas fa-exclamation-triangle hw-info-subtle__icon"></i>
The body text is here. Inline elements only.&nbsp;
<a class="hw-link">Click me</a>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/shared/components/warning-box/Warning-box.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Elements:

```html|plain,light
<div class="hw-warning-box">
<i class="fas fa-lg fa-info-square hw-warning-box__icon"></i>
<div class="hw-warning-box__body">
<h3 class="hw-warning-box__title">Title</h3>
<p>The body text is here. Should not be very long</p>
Expand All @@ -27,11 +28,10 @@ Elements:
</div>
```

### Warning box - with icon
### Warning box - no icon

```html|plain,light
<div class="hw-warning-box">
<i class="fas fa-lg fa-info-square hw-warning-box__icon"></i>
<div class="hw-warning-box__body">
<h3 class="hw-warning-box__title">Title</h3>
<p>The body text is here. Should not be very long</p>
Expand Down
4 changes: 2 additions & 2 deletions src/shared/components/warning-subtle/Warning-subtle.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ Elements:

```html|plain,light
<div class="hw-warning-subtle">
<i class="fas fa-exclamation-triangle hw-warning-subtle__icon"></i>
The body text is here. Inline elements only.&nbsp;
<a class="hw-link hw-link--solid">Click me</a>
</div>
```

## Warning subtle - with icon
## Warning subtle - no icon

```html|plain,light
<div class="hw-warning-subtle">
<i class="fas fa-exclamation-triangle hw-warning-subtle__icon"></i>
The body text is here. Inline elements only.&nbsp;
<a class="hw-link hw-link--solid">Click me</a>
</div>
Expand Down

0 comments on commit 073eef3

Please sign in to comment.