53567179c847739375326244bc272e52bb8e661e

Author
Ayman Bagabas <ayman.bagabas@gmail.com>
Committer
Ayman Bagabas <ayman.bagabas@gmail.com>
Date

Message

docs(common): update style comment

Diff

 1diff --git a/pkg/ui/common/style.go b/pkg/ui/common/style.go
 2index 412ec2ee6d8e53b4bfeb3aaff9cf079268f4b725..be73b4258c75eb17ccfe23ad958592fa9cfb8377 100644
 3--- a/pkg/ui/common/style.go
 4+++ b/pkg/ui/common/style.go
 5@@ -30,13 +30,12 @@ func StyleConfig() gansi.StyleConfig {
 6 	return s
 7 }
 8 
 9-// StyleRenderer returns a new Glamour renderer with the DefaultColorProfile.
10+// StyleRenderer returns a new Glamour renderer.
11 func StyleRenderer() gansi.RenderContext {
12 	return StyleRendererWithStyles(StyleConfig())
13 }
14 
15-// StyleRendererWithStyles returns a new Glamour renderer with the
16-// DefaultColorProfile and styles.
17+// StyleRendererWithStyles returns a new Glamour renderer.
18 func StyleRendererWithStyles(styles gansi.StyleConfig) gansi.RenderContext {
19 	return gansi.NewRenderContext(gansi.Options{
20 		Styles: styles,