Forgot to export Theme

This commit is contained in:
Michael Freno
2025-11-03 12:02:19 -05:00
parent 76042a9a10
commit fcc37153a5

View File

@@ -7,25 +7,26 @@ For full documentation, see README.md
local modulePath = (...):match("(.-)[^%.]+$") -- Get the module path prefix (e.g., "libs." or "") local modulePath = (...):match("(.-)[^%.]+$") -- Get the module path prefix (e.g., "libs." or "")
local function req(name) local function req(name)
return require(modulePath .. name) return require(modulePath .. "modules." .. name)
end end
-- internals -- internals
local Blur = req("modules.Blur") local Blur = req("Blur")
local ImageDataReader = req("modules.ImageDataReader") local ImageDataReader = req("ImageDataReader")
local NinePatchParser = req("modules.NinePatchParser") local NinePatchParser = req("NinePatchParser")
local Theme = req("modules.Theme") local utils = req("utils")
local utils = req("modules.utils") local Units = req("Units")
local Units = req("modules.Units") local GuiState = req("GuiState")
local GuiState = req("modules.GuiState")
-- externals -- externals
---@type Theme
local Theme = req("Theme")
---@type Animation ---@type Animation
local Animation = req("modules.Animation") local Animation = req("Animation")
---@type Color ---@type Color
local Color = req("modules.Color") local Color = req("Color")
---@type Element ---@type Element
local Element = req("modules.Element") local Element = req("Element")
local enums = utils.enums local enums = utils.enums
@@ -394,6 +395,7 @@ return {
Gui = Gui, Gui = Gui,
Element = Element, Element = Element,
Color = Color, Color = Color,
Theme = Theme,
Positioning = Positioning, Positioning = Positioning,
FlexDirection = FlexDirection, FlexDirection = FlexDirection,
JustifyContent = JustifyContent, JustifyContent = JustifyContent,