From ed7f56e2a7e910c5a63983683c2d7e387d09d024 Mon Sep 17 00:00:00 2001 From: bashbunni <15822994+bashbunni@users.noreply.github.com> Date: Wed, 7 Aug 2024 16:03:23 +0000 Subject: [PATCH] docs: fix `CompleteColor` example (#345) * fix(docs): fix CompleteColor example * chore: clean up extra whitespace --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4f214341..3ef14d06 100644 --- a/README.md +++ b/README.md @@ -77,11 +77,11 @@ appropriate color will be chosen at runtime. ### Complete Colors -CompleteColor specifies exact values for truecolor, ANSI256, and ANSI color +CompleteColor specifies exact values for True Color, ANSI256, and ANSI color profiles. ```go -lipgloss.CompleteColor{True: "#0000FF", ANSI256: "86", ANSI: "5"} +lipgloss.CompleteColor{TrueColor: "#0000FF", ANSI256: "86", ANSI: "5"} ``` Automatic color degradation will not be performed in this case and it will be @@ -89,7 +89,7 @@ based on the color specified. ### Complete Adaptive Colors -You can use CompleteColor with AdaptiveColor to specify the exact values for +You can use `CompleteColor` with `AdaptiveColor` to specify the exact values for light and dark backgrounds without automatic color degradation. ```go