mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 21:30:58 +00:00 
			
		
		
		
	
		
			
	
	
		
			24 lines
		
	
	
	
		
			372 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			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); | ||
|  | 
 | ||
|  | } |