summaryrefslogtreecommitdiff
path: root/colors/example.ts
diff options
context:
space:
mode:
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!")))));