summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMitja HORVAT <pinkfluid@gmail.com>2018-09-10 22:10:35 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-09-14 05:33:18 +0200
commitb9b2ebb6226d1d7e76e6241ae17135a701bbec0e (patch)
tree6f9dcc8a4f0ae7ee49ce39a03a0ad56de40b4c55 /tests
parent76298561f85922f8f11726d35ed4741fb3c40b6a (diff)
menuconfig: Add RGB color support to styles.
Styles can now take a HTML notation as a color value: - on terminals that support RGB color mode these are rendered perfeclty - on 256 color terminals the closes matching color is used - on other terminals, the current color palette is scanned and the closes matching color is used. This has few quirks Example: Use "pure" red as selection foreground and "pure" blue as background: MENUCONFIG_STYLE="selection=fg:#ff0000,bg:#0000ff" Additionally, it is possible to copy the style from other elements, for example: MENUCONFIG_STYLE="selection=fg:#ff0000,bg:#0000ff path=selection" In the notation above, the "path" style will be copied from "selection".
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions