From fee75c9ff81db8e41d0b04f7c82bbccd3f5a72a6 Mon Sep 17 00:00:00 2001 From: Nadiyar <106643149+Naadiyaar@users.noreply.github.com> Date: Mon, 16 Dec 2024 03:46:12 +0330 Subject: [PATCH 1/4] Update lunacolors.md --- docs/lunacolors.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/lunacolors.md b/docs/lunacolors.md index bde809c..f350d9e 100644 --- a/docs/lunacolors.md +++ b/docs/lunacolors.md @@ -18,7 +18,7 @@ In other usage, you may want to use a format string instead of having multiple nested functions for different styles. This is where the format function comes in. You can used named keywords to style a section of text. -The list of arguments are: +The list of arguments are: Colors: - black - red @@ -28,14 +28,17 @@ Colors: - magenta - cyan - white + Styles: +- reset - bold - dim - italic - underline - invert -For the colors, there are background and bright variants. The background -color variants have a suffix of `Bg` and bright has a prefix of `bright`. -Note that appropriate camel casing has to be applied to them. So bright -blue would be `brightBlue` and background cyan would be `cyanBg`. +For the colors, there are background and bright variants. Background color +variants have a `Bg` suffix, while bright variants use the `bright` prefix. +These can also be combined. Note that appropriate camel casing must be applied. +For example, bright blue would be written as `brightBlue`, a cyan background as +`cyanBg`, and combining them would result in `brightBlueBg`. From 5778f0cc2dffffbe195d043e23715afe4a2c2818 Mon Sep 17 00:00:00 2001 From: Nadiyar <106643149+Naadiyaar@users.noreply.github.com> Date: Mon, 16 Dec 2024 03:55:24 +0330 Subject: [PATCH 2/4] Update CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd848c5..4fafe8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ ## Unreleased ### Fixed - Skip over file and prevent panic if info cannot be retrieved during file completion (due to permission error or anything else) +### Changed +- Documentation for Lunacolors has been improved, with more information added. ## [2.3.3] - 2024-11-04 ### Fixed From 8c85653d72e972ae15593135f989bb05913102d3 Mon Sep 17 00:00:00 2001 From: Nadiyar <106643149+Naadiyaar@users.noreply.github.com> Date: Sun, 29 Dec 2024 11:44:51 +0330 Subject: [PATCH 3/4] docs: add new line Co-authored-by: sammy --- docs/lunacolors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/lunacolors.md b/docs/lunacolors.md index f350d9e..1dd79a3 100644 --- a/docs/lunacolors.md +++ b/docs/lunacolors.md @@ -29,7 +29,7 @@ Colors: - cyan - white -Styles: +Styles: - reset - bold - dim From 97b38465a1c1c35255e1fb52759ae889ce3bcaec Mon Sep 17 00:00:00 2001 From: Nadiyar <106643149+Naadiyaar@users.noreply.github.com> Date: Sun, 29 Dec 2024 11:45:22 +0330 Subject: [PATCH 4/4] docs: remove extra space Co-authored-by: sammy --- docs/lunacolors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/lunacolors.md b/docs/lunacolors.md index 1dd79a3..8fe11c0 100644 --- a/docs/lunacolors.md +++ b/docs/lunacolors.md @@ -40,5 +40,5 @@ Styles: For the colors, there are background and bright variants. Background color variants have a `Bg` suffix, while bright variants use the `bright` prefix. These can also be combined. Note that appropriate camel casing must be applied. -For example, bright blue would be written as `brightBlue`, a cyan background as +For example, bright blue would be written as `brightBlue`, a cyan background as `cyanBg`, and combining them would result in `brightBlueBg`.