mirror of
				https://github.com/smartfrigde/armcord.git
				synced 2024-08-14 23:56:58 +00:00 
			
		
		
		
	Some tweaks to theme loading
This commit is contained in:
		
							parent
							
								
									6232c01006
								
							
						
					
					
						commit
						45d8b89c9e
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -10,8 +10,8 @@ window.addEventListener("DOMContentLoaded", () => { | |||
|       console.log(themeFile.theme); | ||||
|       console.log(themeFile) | ||||
|       const theme = fs.readFileSync(`${__dirname}/themes/${file}/${themeFile.theme}`, "utf8"); | ||||
|       armcord.addStyle(theme) | ||||
|       console.log(`Loaded ${themeFile.name} made by ${themeFile.author}`); | ||||
|       armcord.addStyle(theme); | ||||
|       console.log(`%cLoaded ${themeFile.name} made by ${themeFile.author}`, "color:red"); | ||||
|     } catch (err) { | ||||
|       console.error(err); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue