2021-10-31 14:27:35 -03:00
|
|
|
/*
|
2023-02-14 16:46:46 -03:00
|
|
|
* Copyright (c) 2021-2023, Sam Atkins <atkinssj@serenityos.org>
|
2021-10-31 14:27:35 -03:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <AK/StringView.h>
|
|
|
|
|
|
|
|
|
|
namespace Web::CSS {
|
|
|
|
|
|
|
|
|
|
enum class PreferredColorScheme {
|
|
|
|
|
Auto,
|
|
|
|
|
Dark,
|
|
|
|
|
Light,
|
|
|
|
|
};
|
|
|
|
|
|
2023-02-14 16:46:46 -03:00
|
|
|
PreferredColorScheme preferred_color_scheme_from_string(StringView);
|
2021-10-31 14:27:35 -03:00
|
|
|
StringView preferred_color_scheme_to_string(PreferredColorScheme);
|
|
|
|
|
|
|
|
|
|
}
|