mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-11-04 12:51:23 +00:00 
			
		
		
		
	
		
			
	
	
		
			15 lines
		
	
	
		
			393 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			15 lines
		
	
	
		
			393 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 
								 | 
							
								import './storybook-theme.css';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import { addons } from '@storybook/manager-api';
							 | 
						||
| 
								 | 
							
								import acrylTheme from './storybook-theme.js';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// Theme setup
							 | 
						||
| 
								 | 
							
								addons.setConfig({
							 | 
						||
| 
								 | 
							
									theme: acrylTheme,
							 | 
						||
| 
								 | 
							
								});
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// Favicon
							 | 
						||
| 
								 | 
							
								const link = document.createElement('link');
							 | 
						||
| 
								 | 
							
								link.setAttribute('rel', 'shortcut icon');
							 | 
						||
| 
								 | 
							
								link.setAttribute('href', 'https://www.acryldata.io/icons/favicon.ico');
							 | 
						||
| 
								 | 
							
								document.head.appendChild(link);
							 |