-
Notifications
You must be signed in to change notification settings - Fork 27
Using the theme system
tavuntu edited this page Jan 10, 2017
·
16 revisions
GÖÖi uses a style object which accepts the following properties:
style = {
bgColor = {12, 183, 242, 170}, -- LOVE blue
fgColor = {255, 255, 255, 255},
tooltipFont = <[Font](https://love2d.org/wiki/Font) object>,
radius = 3,
innerRadius = 3,
showBorder = false,
borderColor = {12, 183, 242, 255},
borderWidth = 2,
font = <[Font](https://love2d.org/wiki/Font) object>,
mode3d = false,
glass = false
}
gooi.setStyle(style)-- Applies the style
Important notes:
- Set the style before creating any element
- For styling of an individual component see Generic component