diff options
| author | Kitson Kelly <me@kitsonkelly.com> | 2019-01-19 21:09:35 +1100 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-01-19 05:09:35 -0500 |
| commit | a489edc355e391117fc065dafe01bdf17c930b26 (patch) | |
| tree | 36f353cbbef12c3fd62b4e86d76cb48f89eedead /colors/example.ts | |
| parent | 15f372c5490e85cff66f9b2cca2a8868655f4ddb (diff) | |
Rework color API (denoland/deno_std#134)
Original: https://github.com/denoland/deno_std/commit/fa5b3dfc9c08ba4d12a5f466c5f30aca4524e1c9
Diffstat (limited to 'colors/example.ts')
| -rw-r--r-- | colors/example.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/colors/example.ts b/colors/example.ts index e98a32ec9..02bc93432 100644 --- a/colors/example.ts +++ b/colors/example.ts @@ -1,3 +1,3 @@ -import { color } from "./mod.ts"; +import { bgBlue, red, bold, italic } from "./mod.ts"; -console.log(color.bgBlue.red.bold("Hello world!")); +console.log(bgBlue(italic(red(bold("Hello world!"))))); |
