Skip to content

Commit

Permalink
fix: changed example image styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lisaychuang committed Aug 6, 2018
1 parent 4cbe60a commit b7423f9
Showing 1 changed file with 48 additions and 18 deletions.
66 changes: 48 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,14 @@ myLogger.crimson.warn('A crimson warning');
myLogger.deepSkyBlue.debug('STOP! Debug time');
```

**Click on the image for an interactive playground!**

[![Interactive text color example](https://i.imgur.com/qA8DpMT.png 'Text color example')](https://stackblitz.com/edit/bite-log-text-colors)
<p align='center'>
<a href="https://stackblitz.com/edit/bite-log-text-colors">
<img height=300 src='https://i.imgur.com/qA8DpMT.png' />
</a>
</p>
<p align='center'>
<strong>Click on the image for an interactive text color example</strong>
</p>

### Apply background colors

Expand All @@ -91,9 +96,14 @@ myLogger.bgChartreuse.debug('Debug session starts here');
myLogger.bgViolet.log('All tests passed');
```

**Click on the image for an interactive playground!**

[![Background color example](https://i.imgur.com/86pHFTi.png 'Background color example')](https://stackblitz.com/edit/bite-log-background-colors)
<p align='center'>
<a href="https://stackblitz.com/edit/bite-log-background-colors">
<img height=300 src='https://i.imgur.com/86pHFTi.png' />
</a>
</p>
<p align='center'>
<strong>Interactive background color example</strong>
</p>

### Apply text styles

Expand All @@ -109,9 +119,14 @@ myLogger.bold.debug('BOLD for extra attention!');
myLogger.italic.debug('Note to self -->>>>>>');
```

**Click on the image for an interactive playground!**

[![Text style example](https://i.imgur.com/porZrlC.png 'Text style example')](https://stackblitz.com/edit/bite-log-text-styles)
<p align='center'>
<a href="https://stackblitz.com/edit/bite-log-text-styles">
<img height=300 src='https://i.imgur.com/porZrlC.png' />
</a>
</p>
<p align='center'>
<strong>Interactive text style example</strong>
</p>

### Apply text sizes

Expand All @@ -127,9 +142,14 @@ myLogger.big.warn('Big warning');
myLogger.huge.error('Look out! An error');
```

**Click on the image for an interactive playground!**

[![Text size example](https://i.imgur.com/mLW5Oy4.png 'Text size example')](https://stackblitz.com/edit/bite-log-text-sizes)
<p align='center'>
<a href="https://stackblitz.com/edit/bite-log-text-sizes">
<img height=300 src='https://i.imgur.com/mLW5Oy4.png' />
</a>
</p>
<p align='center'>
<strong>Interactive text size example</strong>
</p>

### Apply multiple colors and styles

Expand All @@ -149,9 +169,14 @@ myLogger.deepPink.huge.underline.warn('You can"t miss this warning msg!');
myLogger.bgBlack.white.big.bold.log('Check out this Dark theme in my console');
```

**Click on the image for an interactive playground!**

[![Combined color and styles example](https://i.imgur.com/G98gZeK.png 'Combined color and styles example')](https://stackblitz.com/edit/bite-log-chained-styles)
<p align='center'>
<a href="https://stackblitz.com/edit/bite-log-chained-styles">
<img height=300 src='https://i.imgur.com/G98gZeK.png' />
</a>
</p>
<p align='center'>
<strong>Interactive combined color and styles example</strong>
</p>

#### Different style combination applied to text segments

Expand All @@ -170,9 +195,14 @@ myLogger.bgYellow.italic.huge
.red.bold.error(' Stacktrace this error below ⬇️');
```

**Click on the image for an interactive playground!**

[![Text segment styling example](https://i.imgur.com/8pvwDyu.png 'Text segment styling example')](https://stackblitz.com/edit/bite-log-chained-styles-text-segments)
<p align='center'>
<a href="https://stackblitz.com/edit/bite-log-chained-styles-text-segments">
<img height=300 src='https://i.imgur.com/8pvwDyu.png' />
</a>
</p>
<p align='center'>
<strong>Interactive text segment styling example</strong>
</p>

## Adding Prefixes / Tags

Expand Down

0 comments on commit b7423f9

Please sign in to comment.