mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-10-24 23:38:59 -04:00 
			
		
		
		
	Co-authored-by: Fesaa <77553571+Fesaa@users.noreply.github.com> Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
		
			
				
	
	
		
			21 lines
		
	
	
		
			437 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			437 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| namespace API.Entities;
 | |
| 
 | |
| public sealed record HighlightSlot
 | |
| {
 | |
|     public int Id { get; set; }
 | |
|     /// <summary>
 | |
|     /// Hex representation
 | |
|     /// </summary>
 | |
|     public string Title { get; set; }
 | |
|     public int SlotNumber { get; set; }
 | |
|     public RgbaColor Color { get; set; }
 | |
| }
 | |
| 
 | |
| public struct RgbaColor
 | |
| {
 | |
|     public int R { get; set; }
 | |
|     public int G { get; set; }
 | |
|     public int B { get; set; }
 | |
|     public float A { get; set; }
 | |
| }
 |