mirror of
				https://github.com/smartfrigde/armcord.git
				synced 2024-08-14 23:56:58 +00:00 
			
		
		
		
	Theme Manager test
This commit is contained in:
		
							parent
							
								
									38edef38ee
								
							
						
					
					
						commit
						9608851fa2
					
				
					 3 changed files with 9 additions and 1 deletions
				
			
		|  | @ -2,7 +2,7 @@ const customTitlebar = require("custom-electron-titlebar"); | |||
| const electronLocalshortcut = require("electron-localshortcut"); | ||||
| const { remote } = require("electron"); | ||||
| const ArmCord = require("./utils/ArmCord.js"); | ||||
| 
 | ||||
| require('./utils/theme.js') | ||||
| window.addEventListener("DOMContentLoaded", () => { | ||||
|   new customTitlebar.Titlebar({ | ||||
|     backgroundColor: customTitlebar.Color.fromHex("#202225"), | ||||
|  |  | |||
							
								
								
									
										7
									
								
								utils/theme.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								utils/theme.js
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | |||
| const themeFolder = __dirname + "/themes/"; | ||||
| const fs = require("fs"); | ||||
| const armcord = require("./armcord.js") | ||||
| fs.readdirSync(themeFolder).forEach((file) => { | ||||
|   armcord.addStyle(fs.readFileSync(file)) | ||||
|   console.log(file) | ||||
| }); | ||||
							
								
								
									
										1
									
								
								utils/themes/revertBrand.css
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								utils/themes/revertBrand.css
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| @import url('https://Goose-Nest.github.io/GT-RevertRebrand/src/main.css'); | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue