Theme
Creating and using custom themes in WindUI.
Creating a Theme
WindUI:AddTheme({
Name = "My Theme",
Accent = Color3.fromHex("#18181b"),
Background = Color3.fromHex("#101010"),
Outline = Color3.fromHex("#FFFFFF"),
Text = Color3.fromHex("#FFFFFF"),
Placeholder = Color3.fromHex("#7a7a7a"),
Button = Color3.fromHex("#52525b"),
Icon = Color3.fromHex("#a1a1aa"),
})Set Theme
WindUI:SetTheme("My Theme")Gradient Example
WindUI:Gradient({
["0"] = { Color = Color3.fromHex("#1f1f23"), Transparency = 0 },
["100"] = { Color = Color3.fromHex("#18181b"), Transparency = 0 },
}, {
Rotation = 0,
})