From 75f63a837ac80aaddc283d02f25842d9b65fbfba Mon Sep 17 00:00:00 2001 From: Joshua Appelman Date: Fri, 22 Aug 2014 21:47:59 +0200 Subject: [PATCH] Updates documentation regarding style application order. --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 239c791..061f0d5 100644 --- a/readme.md +++ b/readme.md @@ -80,7 +80,7 @@ console.log(chalk.green('Hello %s'), name); Example: `chalk.red.bold.underline('Hello', 'world');` -Chain [styles](#styles) and call the last one as a method with a string argument. Order doesn't matter. +Chain [styles](#styles) and call the last one as a method with a string argument. Order doesn't matter, and later styles take precedent in case of a conflict. This simply means that `Chalk.red.yellow.green` is equivalent to `Chalk.green`. Multiple arguments will be separated by space.