mirror of
				https://github.com/flynx/colors.js.git
				synced 2025-10-31 20:10:09 +00:00 
			
		
		
		
	Change 'grey' to 'gray' in HTML/CSS output
Browsers support both, but only IE8+. Source: https://developer.mozilla.org/en-US/docs/CSS/color_value#1
This commit is contained in:
		
							parent
							
								
									1ff98bf1b4
								
							
						
					
					
						commit
						56a61a6c3a
					
				| @ -87,7 +87,7 @@ function stylize(str, style) { | |||||||
|       'strikethrough' : ['<del>',  '</del>'], |       'strikethrough' : ['<del>',  '</del>'], | ||||||
|       //grayscale
 |       //grayscale
 | ||||||
|       'white'     : ['<span style="color:white;">',   '</span>'], |       'white'     : ['<span style="color:white;">',   '</span>'], | ||||||
|       'grey'      : ['<span style="color:grey;">',    '</span>'], |       'grey'      : ['<span style="color:gray;">',    '</span>'], | ||||||
|       'black'     : ['<span style="color:black;">',   '</span>'], |       'black'     : ['<span style="color:black;">',   '</span>'], | ||||||
|       //colors
 |       //colors
 | ||||||
|       'blue'      : ['<span style="color:blue;">',    '</span>'], |       'blue'      : ['<span style="color:blue;">',    '</span>'], | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user