mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 13:20:59 +00:00 
			
		
		
		
	LibDraw+LibHTML: Make link colors themeable
Add "Link", "ActiveLink" and "VisitedLink" colors to the system theme definition, and implement support for them in LibHTML. Note that <body link="foo" alink="bar" vlink="baz"> takes precedence over the system colors. Author style also takes precedence, since we only fetch the system color in case the CSS color is -libhtml-link.
This commit is contained in:
		
							parent
							
								
									3b2f20ed4d
								
							
						
					
					
						commit
						fd64e97c8a
					
				
				
				Notes:
				
					sideshowbarker
				
				2024-07-19 10:04:18 +09:00 
				
			
			Author: https://github.com/awesomekling
Commit: fd64e97c8a
			
					 9 changed files with 56 additions and 6 deletions
				
			
		|  | @ -74,6 +74,9 @@ RefPtr<SharedBuffer> load_system_theme(const String& path) | |||
|     DO_COLOR(MenuSelectionText); | ||||
|     DO_COLOR(RubberBandFill); | ||||
|     DO_COLOR(RubberBandBorder); | ||||
|     DO_COLOR(Link); | ||||
|     DO_COLOR(ActiveLink); | ||||
|     DO_COLOR(VisitedLink); | ||||
| 
 | ||||
|     buffer->seal(); | ||||
|     buffer->share_globally(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling