1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:07:46 +00:00

Ladybird: Inform WebContent whether the AppKit chrome is in dark mode

This commit is contained in:
Timothy Flynn 2023-08-26 23:12:30 -04:00 committed by Tim Flynn
parent 6e64bf5464
commit 3fc0c21b6c
6 changed files with 77 additions and 11 deletions

View file

@ -0,0 +1,16 @@
/*
* Copyright (c) 2023, Tim Flynn <trflynn89@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibCore/AnonymousBuffer.h>
namespace Ladybird {
bool is_using_dark_system_theme();
Core::AnonymousBuffer create_system_palette();
}