Skip to content

Commit

Permalink
Fix themes
Browse files Browse the repository at this point in the history
  • Loading branch information
7kayoh committed Jul 10, 2021
1 parent eb7ff3a commit 509bae9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/builders/stylepainter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ return function(PluginService, assets, modules, widget)
local function applyColors()
local themeOption = settings().Studio.Theme
local themeStylesheet = stylesheet[themeOption.Name]
widget.UI.BackgroundColor3 = themeStylesheet.Background
widget.UI.Search.Background.BackgroundColor3 = themeStylesheet.Accent
widget.UI.Search.Background.Cover.BackgroundColor3 = themeStylesheet.Elevated
widget.UI.Search.Gradient.BackgroundColor3 = themeStylesheet.Background
Expand All @@ -24,7 +25,7 @@ return function(PluginService, assets, modules, widget)
applyColorsToIcon(themeStylesheet, assets.Icon)
for _, object in ipairs(widget.UI.List:GetChildren()) do
if object:IsA("Frame") then
applyColorsToIcon(object)
applyColorsToIcon(themeStylesheet, object)
end
end
end
Expand Down

0 comments on commit 509bae9

Please sign in to comment.