|
// On a light theme, the icon will be dark, so we need to lighten it before blending it with the accent color.
|
|
// On a light theme, the icon will be dark, so we need to lighten it before blending it with the accent color.
|
|
p_theme->set_color("folder_icon_color", "FileDialog", (p_config.dark_theme ? Color(1, 1, 1) : Color(4.25, 4.25, 4.25)).lerp(p_config.accent_color, 0.7));
|
|
p_theme->set_color("folder_icon_color", "FileDialog", (p_config.dark_theme ? Color(1, 1, 1) : Color(4.25, 4.25, 4.25)).lerp(p_config.accent_color, 0.7));
|
|
p_theme->set_stylebox("panel", "PopupDialog", p_config.popup_style);
|
|
p_theme->set_stylebox("panel", "PopupDialog", p_config.popup_style);
|