forked from cory/tildefriends
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			991 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			991 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import {LitElement, html} from './lit-all.min.js';
 | |
| import * as tfrpc from '/static/tfrpc.js';
 | |
| 
 | |
| import * as tf_app from './tf-app.js';
 | |
| import * as tf_message from './tf-message.js';
 | |
| import * as tf_user from './tf-user.js';
 | |
| import * as tf_compose from './tf-compose.js';
 | |
| import * as tf_news from './tf-news.js';
 | |
| import * as tf_profile from './tf-profile.js';
 | |
| import * as tf_reactions_modal from './tf-reactions-modal.js';
 | |
| import * as tf_tab_news from './tf-tab-news.js';
 | |
| import * as tf_tab_news_feed from './tf-tab-news-feed.js';
 | |
| import * as tf_tab_search from './tf-tab-search.js';
 | |
| import * as tf_tab_connections from './tf-tab-connections.js';
 | |
| import * as tf_tag from './tf-tag.js';
 | |
| import * as tf_styles from './tf-styles.js';
 | |
| 
 | |
| window.addEventListener('load', function () {
 | |
| 	let style = document.createElement('style');
 | |
| 	style.innerText = tf_styles.styles;
 | |
| 	Promise.resolve(tf_styles.generate_theme()).then(function (x) {
 | |
| 		style.innerText += x;
 | |
| 	});
 | |
| 	document.body.appendChild(style);
 | |
| });
 |