summaryrefslogtreecommitdiff
path: root/colors/example.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2019-01-19 21:09:35 +1100
committerRyan Dahl <ry@tinyclouds.org>2019-01-19 05:09:35 -0500
commita489edc355e391117fc065dafe01bdf17c930b26 (patch)
tree36f353cbbef12c3fd62b4e86d76cb48f89eedead /colors/example.ts
parent15f372c5490e85cff66f9b2cca2a8868655f4ddb (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.ts4
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!")))));