mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
Ladybird: Use the correct theme file for the current AppKit theme
This commit is contained in:
parent
1e1c3e5a34
commit
e981c13a4f
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ Core::AnonymousBuffer create_system_palette()
|
|||
{
|
||||
auto is_dark = is_using_dark_system_theme();
|
||||
|
||||
auto theme_file = is_dark ? "Default"sv : "Dark"sv;
|
||||
auto theme_file = is_dark ? "Dark"sv : "Default"sv;
|
||||
auto theme_path = DeprecatedString::formatted("{}/res/themes/{}.ini", s_serenity_resource_root, theme_file);
|
||||
|
||||
auto theme = MUST(Gfx::load_system_theme(theme_path));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue