Pop.Box/docs/Skins.md
2016-04-04 01:16:32 -07:00

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 for text elements only).
  • background - A supported Drawable, used for backgrounds (currently used on box elements only).
  • font - A Font.