Started making some icons
This commit is contained in:
		
							parent
							
								
									e00bc615c2
								
							
						
					
					
						commit
						07f41dc39d
					
				
							
								
								
									
										
											BIN
										
									
								
								assets/mime-medium.xcf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								assets/mime-medium.xcf
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										4
									
								
								theme.go
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								theme.go
									
									
									
									
									
								
							@ -39,7 +39,7 @@ var buttonColor        = hex(0xe9eaeaFF)
 | 
			
		||||
var buttonColorPressed = hex(0xe3e4e4FF)
 | 
			
		||||
var buttonColorFocused = hex(0xe4e6e8FF)
 | 
			
		||||
var buttonColorHovered = hex(0xf1f3f5FF)
 | 
			
		||||
var dotColor           = hex(0xa4b1c6FF)
 | 
			
		||||
var dotColor           = hex(0x7391c080)
 | 
			
		||||
var inputColor         = hex(0xe3e4e4FF)
 | 
			
		||||
var textColor          = hex(0x000000FF)
 | 
			
		||||
var backgroundColor    = hex(0xd6d6d6FF)
 | 
			
		||||
@ -63,7 +63,6 @@ func (this *Theme) RGBA (id theme.Color) (r, g, b, a uint32) {
 | 
			
		||||
 | 
			
		||||
func (this *Theme) Apply (object tomo.Object, role theme.Role) event.Cookie {
 | 
			
		||||
	box := object.GetBox()
 | 
			
		||||
	box.SetColor(backgroundColor)
 | 
			
		||||
 | 
			
		||||
	if textBox, ok := box.(tomo.TextBox); ok {
 | 
			
		||||
		textBox.SetDotColor(dotColor)
 | 
			
		||||
@ -149,6 +148,7 @@ func (this *Theme) Apply (object tomo.Object, role theme.Role) event.Cookie {
 | 
			
		||||
 | 
			
		||||
	case "Container":
 | 
			
		||||
		if role.Variant == "outer" {
 | 
			
		||||
			box.SetColor(backgroundColor)
 | 
			
		||||
			box.SetPadding(tomo.I(8))
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user