mirror of
https://github.com/jtdaugherty/brick.git
synced 2024-11-26 09:06:56 +03:00
guide: nit
This commit is contained in:
parent
37baca5ac1
commit
135965ed1c
@ -778,12 +778,12 @@ Customizations are written in an INI-style file. Here's an example:
|
||||
otherAttribute.style = [underline, bold]
|
||||
otherAttribute.inner.fg = white
|
||||
|
||||
In the above example, the theme's *default attribute* -- the one
|
||||
that is used when no other attributes are used -- is customized. Its
|
||||
foreground and background colors are set. Then, other attributes
|
||||
specified by the theme -- ``someAttribute`` and ``otherAttribute`` are
|
||||
also customized. This example shows that styles can be customized, too,
|
||||
and that a custom style can either be a single style (in this example,
|
||||
In the above example, the theme's *default attribute* -- the one that is
|
||||
used when no other attributes are used -- is customized. Its foreground
|
||||
and background colors are set. Then, other attributes specified by
|
||||
the theme -- ``someAttribute`` and ``otherAttribute`` -- are also
|
||||
customized. This example shows that styles can be customized, too, and
|
||||
that a custom style can either be a single style (in this example,
|
||||
``underline``) or a collection of styles to be applied simutaneously
|
||||
(in this example, ``underline`` and ``bold``). Lastly, the hierarchical
|
||||
attribute name ``otherAttribute.inner`` refers to an attribute name
|
||||
|
Loading…
Reference in New Issue
Block a user