Add "dim" attribute support.
diff --git a/ansi.go b/ansi.go
index 68b3cfc..9ab6979 100644
--- a/ansi.go
+++ b/ansi.go
@@ -26,8 +26,9 @@
 	start         = "\033["
 	normal        = "0;"
 	bold          = "1;"
-	blink         = "5;"
+	dim           = "2;"
 	underline     = "4;"
+	blink         = "5;"
 	inverse       = "7;"
 	strikethrough = "9;"
 
@@ -170,6 +171,9 @@
 		if strings.Contains(fgStyle, "b") {
 			buf.WriteString(bold)
 		}
+		if strings.Contains(fgStyle, "d") {
+			buf.WriteString(dim)
+		}
 		if strings.Contains(fgStyle, "B") {
 			buf.WriteString(blink)
 		}