mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 21:53:46 +01:00
Document color parsing (fixes pwmt/zathura#113)
This commit is contained in:
parent
f9e5085700
commit
a3e4bce386
@ -54,14 +54,20 @@ can be used
|
||||
set option5 "hello world"
|
||||
|
||||
|
||||
If you want to use ``color codes`` for some options, make sure to quote them
|
||||
accordingly or to escape the hash symbol.
|
||||
For colors, zathura supports HTML color codes and CSS3-style ``rgb(r,g,b)`` and ``rgba(r,g,b,a)``
|
||||
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
|
||||
|
||||
|
||||
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
|
||||
---------------------------------------
|
||||
This commands allows one to include other configuration files. If a relative
|
||||
|
Loading…
Reference in New Issue
Block a user