mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 16:42:42 +01:00
Draft docs update for UI code-overhaul
This commit is contained in:
parent
7ce3b417fc
commit
5d500223b3
1 changed files with 54 additions and 8 deletions
|
|
@ -427,20 +427,66 @@ the ``color`` option is set to ``yes``. For example, you might have a section
|
||||||
in your configuration file that looks like this::
|
in your configuration file that looks like this::
|
||||||
|
|
||||||
ui:
|
ui:
|
||||||
color: yes
|
|
||||||
colors:
|
colors:
|
||||||
text_success: green
|
text_success: ['bold', 'green']
|
||||||
text_warning: yellow
|
text_warning: ['bold', 'yellow']
|
||||||
text_error: red
|
text_error: ['bold', 'red']
|
||||||
text_highlight: red
|
text_highlight: ['bold', 'red']
|
||||||
text_highlight_minor: lightgray
|
text_highlight_minor: ['white']
|
||||||
action_default: turquoise
|
action_default: ['bold', 'cyan']
|
||||||
action: blue
|
action: ['bold', 'cyan']
|
||||||
|
# New colors after UI overhaul
|
||||||
|
text: ['normal']
|
||||||
|
text_faint: ['faint']
|
||||||
|
import_path: ['bold', 'blue']
|
||||||
|
import_path_items: ['bold', 'blue']
|
||||||
|
added: ['green']
|
||||||
|
removed: ['red']
|
||||||
|
changed: ['yellow']
|
||||||
|
added_highlight: ['bold', 'green']
|
||||||
|
removed_highlight: ['bold', 'red']
|
||||||
|
changed_highlight: ['bold', 'yellow']
|
||||||
|
text_diff_added: ['bold', 'red']
|
||||||
|
text_diff_removed: ['bold', 'red']
|
||||||
|
text_diff_changed: ['bold', 'red']
|
||||||
|
action_description: ['white']
|
||||||
|
|
||||||
Available colors: black, darkred, darkgreen, brown (darkyellow), darkblue,
|
Available colors: black, darkred, darkgreen, brown (darkyellow), darkblue,
|
||||||
purple (darkmagenta), teal (darkcyan), lightgray, darkgray, red, green,
|
purple (darkmagenta), teal (darkcyan), lightgray, darkgray, red, green,
|
||||||
yellow, blue, fuchsia (magenta), turquoise (cyan), white
|
yellow, blue, fuchsia (magenta), turquoise (cyan), white
|
||||||
|
|
||||||
|
Legacy UI colors config directive used strings. If any colors value is still a
|
||||||
|
string instead of a list, it will be translated to list automatically. For
|
||||||
|
example ``blue`` will become ``['blue']``.
|
||||||
|
|
||||||
|
terminal_width
|
||||||
|
~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Controls line wrapping. Defaults to ``80`` characters::
|
||||||
|
|
||||||
|
ui:
|
||||||
|
terminal_width: 80
|
||||||
|
|
||||||
|
length_diff_thresh
|
||||||
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
FIXME::
|
||||||
|
|
||||||
|
ui:
|
||||||
|
length_diff_thresh: 10.0
|
||||||
|
|
||||||
|
import
|
||||||
|
~~~~~~
|
||||||
|
|
||||||
|
FIXME::
|
||||||
|
|
||||||
|
ui:
|
||||||
|
import:
|
||||||
|
indentation:
|
||||||
|
match_header: 2
|
||||||
|
match_details: 2
|
||||||
|
match_tracklist: 5
|
||||||
|
layout: column
|
||||||
|
|
||||||
Importer Options
|
Importer Options
|
||||||
----------------
|
----------------
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue