PreferredContrast.h 372 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2024, the Ladybird developers.
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <AK/StringView.h>
  8. namespace Web::CSS {
  9. enum class PreferredContrast {
  10. Auto,
  11. Less,
  12. More,
  13. NoPreference,
  14. };
  15. PreferredContrast preferred_contrast_from_string(StringView);
  16. StringView preferred_contrast_to_string(PreferredContrast);
  17. }