mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 05:36:00 +01:00
Document color parsing (fixes pwmt/zathura#113)
This commit is contained in:
parent
f9e5085700
commit
a3e4bce386
1 changed files with 8 additions and 2 deletions
|
@ -54,14 +54,20 @@ can be used
|
||||||
set option5 "hello world"
|
set option5 "hello world"
|
||||||
|
|
||||||
|
|
||||||
If you want to use ``color codes`` for some options, make sure to quote them
|
For colors, zathura supports HTML color codes and CSS3-style ``rgb(r,g,b)`` and ``rgba(r,g,b,a)``
|
||||||
accordingly or to escape the hash symbol.
|
values. If you want to use color codes for some options, make sure to quote them accordingly or
|
||||||
|
to escape the hash symbol.
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
set default-fg "#CCBBCC"
|
set default-fg "#CCBBCC"
|
||||||
set default-fg \#CCBBCC
|
set default-fg \#CCBBCC
|
||||||
|
|
||||||
|
|
||||||
|
For ``rgba``, note that it parses the color components as integers between 0 and 255 and the alpha
|
||||||
|
component as float between 0 and 1.
|
||||||
|
|
||||||
|
|
||||||
include - Including another config file
|
include - Including another config file
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
This commands allows one to include other configuration files. If a relative
|
This commands allows one to include other configuration files. If a relative
|
||||||
|
|
Loading…
Reference in a new issue