mirror of
https://github.com/TangentFoxy/Pop.Box.git
synced 2024-12-15 12:44:20 +00:00
746 B
746 B
Skins
Note: This system is mostly an after-thought right now, and will probably be replaced with something else entirely.
Skins are simple tables containing information to style a variety of elements.
Use pop.skin()
to apply a skin to an element and its children (see
Pop Module documentation). Skins are loaded from the skins
directory.
color
- A table of RGBA values (see love.graphics.setColor), used as a foreground color (currently fortext
elements only).background
- A supported Drawable, used for backgrounds (currently used onbox
elements only).font
- A Font.