Files
serenity/Userland/Libraries/LibWeb/CSS/PreferredContrast.h
Luke Warlow 2dce7000c8 LibWeb: Add Contrast preference
(cherry picked from commit ee6468456580fa0380daeb0b9ab0bdf2832f9dcf)
2024-09-27 23:31:40 -04:00

24 lines
372 B
C++

/*
* Copyright (c) 2024, the Ladybird developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/StringView.h>
namespace Web::CSS {
enum class PreferredContrast {
Auto,
Less,
More,
NoPreference,
};
PreferredContrast preferred_contrast_from_string(StringView);
StringView preferred_contrast_to_string(PreferredContrast);
}