2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-21 21:13:22 +00:00

Merge 5778f0cc2dffffbe195d043e23715afe4a2c2818 into 36ce05e85a862f12b206a4a336fba94834f7372c

This commit is contained in:
Nadiyar 2024-12-16 00:30:57 +00:00 committed by GitHub
commit 27bff1e031
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 5 deletions

View File

@ -3,6 +3,8 @@
## Unreleased ## Unreleased
### Fixed ### Fixed
- Skip over file and prevent panic if info cannot be retrieved during file completion (due to permission error or anything else) - 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 ## [2.3.3] - 2024-11-04
### Fixed ### Fixed

View File

@ -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 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. 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: Colors:
- black - black
- red - red
@ -28,14 +28,17 @@ Colors:
- magenta - magenta
- cyan - cyan
- white - white
Styles: Styles:
- reset
- bold - bold
- dim - dim
- italic - italic
- underline - underline
- invert - invert
For the colors, there are background and bright variants. The background For the colors, there are background and bright variants. Background color
color variants have a suffix of `Bg` and bright has a prefix of `bright`. variants have a `Bg` suffix, while bright variants use the `bright` prefix.
Note that appropriate camel casing has to be applied to them. So bright These can also be combined. Note that appropriate camel casing must be applied.
blue would be `brightBlue` and background cyan would be `cyanBg`. For example, bright blue would be written as `brightBlue`, a cyan background as
`cyanBg`, and combining them would result in `brightBlueBg`.