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

Compare commits

...

5 Commits

Author SHA1 Message Date
Nadiyar
16d08d446f
Merge branch 'master' into patch-1 2024-12-29 11:54:18 +03:30
Nadiyar
97b38465a1
docs: remove extra space
Co-authored-by: sammy <torchedsammy@gmail.com>
2024-12-29 11:45:22 +03:30
Nadiyar
8c85653d72
docs: add new line
Co-authored-by: sammy <torchedsammy@gmail.com>
2024-12-29 11:44:51 +03:30
Nadiyar
5778f0cc2d
Update CHANGELOG.md 2024-12-16 03:55:24 +03:30
Nadiyar
fee75c9ff8
Update lunacolors.md 2024-12-16 03:46:12 +03:30
2 changed files with 11 additions and 6 deletions

View File

@ -3,6 +3,8 @@
## Unreleased ## Unreleased
### Added ### Added
- Forward/Right arrow key will fill in hint text (#327) - Forward/Right arrow key will fill in hint text (#327)
### Changed
- Documentation for Lunacolors has been improved, with more information added.
## [2.3.4] - 2024-12-28 ## [2.3.4] - 2024-12-28
### 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`.