[DisplayServer] Implement get_accent_color on Linux.

This commit is contained in:
Pāvels Nadtočajevs
2025-03-13 23:18:22 +02:00
parent 7e4f6bdb59
commit 18f6c33d72
7 changed files with 73 additions and 12 deletions

View File

@ -302,6 +302,10 @@ bool DisplayServerWayland::is_dark_mode() const {
}
}
Color DisplayServerWayland::get_accent_color() const {
return portal_desktop->get_appearance_accent_color();
}
void DisplayServerWayland::set_system_theme_change_callback(const Callable &p_callable) {
portal_desktop->set_system_theme_change_callback(p_callable);
}