1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

[Theme][Doc] Update some color key names.

This commit is contained in:
Dave Davenport 2018-06-02 15:19:12 +02:00
parent d68c4e182c
commit 3d20ecb4ba

View file

@ -548,7 +548,7 @@ nametotextbox selected.active {
} }
``` ```
Sets all selected textboxes marked active to the given foreground and background color. Sets all selected textboxes marked active to the given text and background color.
Note that a state modifies the original element, it therefore contains all the properties of that element. Note that a state modifies the original element, it therefore contains all the properties of that element.
### Scrollbar ### Scrollbar
@ -573,8 +573,8 @@ The following properties are currently supported:
Sets a radius on the corners of the borders. Sets a radius on the corners of the borders.
* **background-color**: color * **background-color**: color
Background color Background color
* **foreground-color**: color * **border-color**: color
Foreground color Color of the border
* **index**: integer (This one does not inherit it value from the parent widget) * **index**: integer (This one does not inherit it value from the parent widget)
### window: ### window:
@ -619,12 +619,12 @@ The following properties are currently supported:
### textbox: ### textbox:
* **background-color**: color * **background-color**: color
* **foreground**: color * **border-color**: the color used for the border around the widget.
* **font**: the font used by this textbox (string) * **font**: the font used by this textbox (string)
* **str**: the string to display by this textbox (string) * **str**: the string to display by this textbox (string)
* **vertical-align**: vertical alignment of the text (`0` top, `1` bottom) * **vertical-align**: vertical alignment of the text (`0` top, `1` bottom)
* **horizontal-align**: horizontal alignment of the text (`0` left, `1` right) * **horizontal-align**: horizontal alignment of the text (`0` left, `1` right)
* **text**: the text color to use (falls back to foreground if not set) * **text-color**: the text color to use
* **highlight**: text style {color} * **highlight**: text style {color}
color is optional, multiple highlight styles can be added like: bold underline italic #000000; color is optional, multiple highlight styles can be added like: bold underline italic #000000;
* **width**: override the desired width for the textbox * **width**: override the desired width for the textbox
@ -796,7 +796,7 @@ Explanation of the different parts:
* Padding - Clears an area around the widget. * Padding - Clears an area around the widget.
The padding shows the background color of the widget. The padding shows the background color of the widget.
* Border - A border that goes around the padding and content. * Border - A border that goes around the padding and content.
The border use the foreground color of the widget. The border use the border-color of the widget.
* Margin - Clears an area outside the border. * Margin - Clears an area outside the border.
The margin is transparent. The margin is transparent.