mirror of
https://github.com/lbonn/rofi
synced 2024-11-14 16:17:11 +00:00
Update markup new theme description document
This commit is contained in:
parent
eef6fa6f95
commit
c6b3f21d3f
1 changed files with 12 additions and 10 deletions
|
@ -60,8 +60,9 @@ Optional flag(s) indicating state.
|
|||
|
||||
These are appended after the name or class of the widget.
|
||||
|
||||
`@textbox selected.normal`
|
||||
`#listview.element selected.urgent`
|
||||
`@textbox selected.normal { }`
|
||||
|
||||
`#listview.element selected.urgent { }`
|
||||
|
||||
Currently only the @entrybox has states:
|
||||
|
||||
|
@ -80,19 +81,20 @@ Where `state` is:
|
|||
These can be mixed.
|
||||
|
||||
Example:
|
||||
`
|
||||
```
|
||||
@textbox selected.active {
|
||||
background: #003642;
|
||||
foreground: #008ed4;
|
||||
}
|
||||
`
|
||||
```
|
||||
|
||||
Sets all selected textboxes marked active to the given foreground and background color.
|
||||
|
||||
# File structure
|
||||
|
||||
The file is structured as follow
|
||||
`
|
||||
The file is structured as follows
|
||||
|
||||
```
|
||||
/* Global properties, that apply as default to all widgets. */
|
||||
{list of properties}
|
||||
|
||||
|
@ -102,6 +104,6 @@ The file is structured as follow
|
|||
@{name}.{name} {optional state} {
|
||||
{list of properties}
|
||||
}
|
||||
`
|
||||
```
|
||||
|
||||
The global properties has to be at the top of the file, the rest can freeĺy be mixed.
|
||||
|
|
Loading…
Reference in a new issue