[#2485] Add UI colors
This commit is contained in:
		
							parent
							
								
									32beec501f
								
							
						
					
					
						commit
						b37d694a34
					
				| @ -85,6 +85,7 @@ public class UITheme { | |||||||
| 
 | 
 | ||||||
|         Color getComponentTreeBackgroundColor(); |         Color getComponentTreeBackgroundColor(); | ||||||
|         Color getComponentTreeForegroundColor(); |         Color getComponentTreeForegroundColor(); | ||||||
|  |         Color getvisibilityHiddenForegroundColor(); | ||||||
| 
 | 
 | ||||||
|         Color getFinPointGridMajorLineColor(); |         Color getFinPointGridMajorLineColor(); | ||||||
|         Color getFinPointGridMinorLineColor(); |         Color getFinPointGridMinorLineColor(); | ||||||
| @ -371,6 +372,11 @@ public class UITheme { | |||||||
|                 return UIManager.getColor("Tree.textForeground"); |                 return UIManager.getColor("Tree.textForeground"); | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|  |             @Override | ||||||
|  |             public Color getvisibilityHiddenForegroundColor() { | ||||||
|  |                 return UIManager.getColor("Tree.textForeground.hidden.light"); | ||||||
|  |             } | ||||||
|  | 
 | ||||||
|             @Override |             @Override | ||||||
|             public Color getFinPointGridMajorLineColor() { |             public Color getFinPointGridMajorLineColor() { | ||||||
|                 return new Color( 0, 0, 255, 80); |                 return new Color( 0, 0, 255, 80); | ||||||
| @ -762,6 +768,11 @@ public class UITheme { | |||||||
|                 return getTextColor(); |                 return getTextColor(); | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|  |             @Override | ||||||
|  |             public Color getvisibilityHiddenForegroundColor() { | ||||||
|  |                 return UIManager.getColor("Tree.textForeground.hidden.dark"); | ||||||
|  |             } | ||||||
|  | 
 | ||||||
|             @Override |             @Override | ||||||
|             public Color getFinPointGridMajorLineColor() { |             public Color getFinPointGridMajorLineColor() { | ||||||
|                 return new Color(135, 135, 199, 197); |                 return new Color(135, 135, 199, 197); | ||||||
| @ -1153,6 +1164,11 @@ public class UITheme { | |||||||
|                 return getTextColor(); |                 return getTextColor(); | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|  |             @Override | ||||||
|  |             public Color getvisibilityHiddenForegroundColor() { | ||||||
|  |                 return UIManager.getColor("Tree.textForeground.hidden.dark"); | ||||||
|  |             } | ||||||
|  | 
 | ||||||
|             @Override |             @Override | ||||||
|             public Color getFinPointGridMajorLineColor() { |             public Color getFinPointGridMajorLineColor() { | ||||||
|                 return new Color(164, 164, 224, 197); |                 return new Color(164, 164, 224, 197); | ||||||
| @ -1563,6 +1579,11 @@ public class UITheme { | |||||||
|                 return getCurrentTheme().getComponentTreeForegroundColor(); |                 return getCurrentTheme().getComponentTreeForegroundColor(); | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|  |             @Override | ||||||
|  |             public Color getvisibilityHiddenForegroundColor() { | ||||||
|  |                 return getCurrentTheme().getvisibilityHiddenForegroundColor(); | ||||||
|  |             } | ||||||
|  | 
 | ||||||
|             @Override |             @Override | ||||||
|             public Color getFinPointGridMajorLineColor() { |             public Color getFinPointGridMajorLineColor() { | ||||||
|                 return getCurrentTheme().getFinPointGridMajorLineColor(); |                 return getCurrentTheme().getFinPointGridMajorLineColor(); | ||||||
|  | |||||||
| @ -9,6 +9,8 @@ Tree.paintLines = true | |||||||
| Tree.showCellFocusIndicator = true | Tree.showCellFocusIndicator = true | ||||||
| Tree.wideSelection = true | Tree.wideSelection = true | ||||||
| Tree.paintSelection = true | Tree.paintSelection = true | ||||||
|  | Tree.textForeground.hidden.dark = darken($Tree.textForeground, 25%) | ||||||
|  | Tree.textForeground.hidden.light = lighten($Tree.textForeground, 25%) | ||||||
| 
 | 
 | ||||||
| # Margin as top,left,bottom,right | # Margin as top,left,bottom,right | ||||||
| Tree.rendererMargins = 2, 0, 3, 0 | Tree.rendererMargins = 2, 0, 3, 0 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user