mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-12-19 08:35:49 +08:00
Moves all the pages up a level and hardcodes the section name
This commit is contained in:
committed by
Patrik Svensson
parent
65f0a085cc
commit
caf7661e66
16
docs/input/colors.md
Normal file
16
docs/input/colors.md
Normal file
@@ -0,0 +1,16 @@
|
||||
Title: Colors
|
||||
Order: 4
|
||||
---
|
||||
|
||||
The following is a list of the standard 8-bit colors supported in terminals.
|
||||
|
||||
Note that the first 16 colors are generally defined by the system or your terminal software, and may not display exactly as rendered here.
|
||||
|
||||
# Usage
|
||||
|
||||
You can either use the colors in code, such as `new Style(foreground: Color.Maroon)` or
|
||||
in markup text such as `AnsiConsole.Markup("[maroon on blue]Hello[/]")`.
|
||||
|
||||
# Standard colors
|
||||
|
||||
<?# ColorTable /?>
|
||||
Reference in New Issue
Block a user