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:
parent
6e64bf5464
commit
3fc0c21b6c
6 changed files with 77 additions and 11 deletions
16
Ladybird/AppKit/UI/Palette.h
Normal file
16
Ladybird/AppKit/UI/Palette.h
Normal 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();
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue