mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-12 10:22:12 +02:00
Colors: add brightness option for color display configuration
Fixes #2238
This commit is contained in:
+20
-1
@@ -2044,7 +2044,7 @@
|
||||
"default": 0
|
||||
},
|
||||
"block": {
|
||||
"description": "Set behavior of block printing",
|
||||
"description": "Set behavior of block printing. Only works when symbol is set to `block` or `background`",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
@@ -2067,6 +2067,25 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"brightness": {
|
||||
"description": "Set the brightness of colors. Works together with the block color range to determine which colors are displayed",
|
||||
"type": "string",
|
||||
"oneOf": [
|
||||
{
|
||||
"const": "default",
|
||||
"description": "Use the default setting (block/background: 0-15, others: 8-1)"
|
||||
},
|
||||
{
|
||||
"const": "light",
|
||||
"description": "Use ANSI bright foreground colors (codes 90-97, not color indices 9-15)"
|
||||
},
|
||||
{
|
||||
"const": "normal",
|
||||
"description": "Use normal ANSI colors (30-37; standard foreground colors, corresponding to color indices 0-7)"
|
||||
}
|
||||
],
|
||||
"default": "default"
|
||||
},
|
||||
"key": {
|
||||
"$ref": "#/$defs/key"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user