Skip to content

Instantly share code, notes, and snippets.

@noche-x
noche-x / website_template.lua
Created October 14, 2022 21:59
RosaWorld Website Template
-- Creating text
--- Call the function `site:text(text: string, style?: table) to draw text.
-- Putting custom text styles
--- Call 'site:text' with the second parameter ('style') with a table full of styles you want.
-- Text Styles
--- center: boolean | Centers the text.
--- foregroundColor: integer | Foreground color of the text.
--- backgroundColor: integer | Background color of the text.