@ -23,6 +23,7 @@ export type ThemeGlobals = {
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  '--margins-md' :  string ; 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  '--margins-lg' :  string ; 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  '--margins-xl' :  string ; 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  '--margins-2xl' :  string ; 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  /* Padding */ 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  '--padding-message-content' :  string ; 
 
			
		 
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
			
			 
			 
			
				@ -112,6 +113,7 @@ export const THEME_GLOBALS: ThemeGlobals = {
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  '--margins-md' :  '15px' , 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  '--margins-lg' :  '20px' , 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  '--margins-xl' :  '25px' , 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  '--margins-2xl' :  '30px' , 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  '--padding-message-content' :  '7px 13px' , 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  '--padding-link-preview' :  '-7px -13px 7px -13px' ,  // bottom has positive value because a link preview has always a body below
 
 
			
		 
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
			
			 
			 
			
				@ -159,10 +161,10 @@ export const THEME_GLOBALS: ThemeGlobals = {
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  '--message-link-preview-background-color' :  ` rgba( ${ hexColorToRGB ( COLORS . BLACK ) } , 0.06) ` , 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  '--right-panel-width' :  '420px' , 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  // TODO confirm what is better min-width: 350px; // because the disappear messages don't render well with less than this, and 25vw can be less than that
 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  '--right-panel-height' :  '100%' , 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  '--right-panel-attachment-width' :  '350px' , 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  '--right-panel-attachment-height' :  '350px' , 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  '--right-panel-attachment-width' :  'calc(var(--right-panel-width) - 2 * var(--margins-2xl) - 7px)' , 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				  '--right-panel-attachment-height' : 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				    'calc(var(--right-panel-height) - 2 * var(--margins-2xl) -7px)' , 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				} ; 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				// These should only be needed for the global style (at root).