10 lines
		
	
	
		
			202 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			202 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
export const themes = {
 | 
						|
  night: 'night',
 | 
						|
  default: 'default'
 | 
						|
};
 | 
						|
 | 
						|
export const invertTheme = currentTheme =>
 | 
						|
  !currentTheme || currentTheme === themes.default
 | 
						|
    ? themes.night
 | 
						|
    : themes.default;
 |