]> git.mdlowis.com Git - proto/labwc.git/commitdiff
labwc-theme(5): describe color alpha value
authorJohan Malm <jgm323@gmail.com>
Fri, 4 Aug 2023 21:37:39 +0000 (22:37 +0100)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Sat, 5 Aug 2023 02:13:25 +0000 (04:13 +0200)
...which has been supported for a long time but not been reflected in the
man page.  Colors can be parsed as `#rrggbb aaa` with aaa representing a
decimal alpha value. This could be used to hide a button, for example:

    window.active.button.menu.unpressed.image.color: #000000 0
    window.inactive.button.menu.unpressed.image.color: #000000 0

docs/labwc-theme.5.scd

index 905c5ff213139c74e5f27ad1efaa4b7e0d174c8f..e8cb1326dccbb54026b6f5cd9a56193e69093d24 100644 (file)
@@ -27,10 +27,10 @@ labwc-config(5).
 
 # DATA TYPES
 
-*color RGB values*
-       Colors can be specified by hexadecimal RGB values in the format #rrggbb.
-       Other formats will be supported later for better openbox theme
-       compatibility.
+*color*
+       Colors can be specified by either of the following:
+       - #rrggbb (hexadecimal RGB values)
+       - #rrggbb aaa (same but with decimal alpha value)
 
 *justification*
        Justification determines the horizontal alignment of text. Valid options