forked from GithubMirrors/cardconjurer
		
	restyle
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
			
		||||
rootStyles.setProperty('--site-background', '#f5f5f5 url("/data/images/site/backgrounds/lowpolyLightGreen.svg") left/cover no-repeat fixed')
 | 
			
		||||
rootStyles.setProperty('--site-background-filter', 'none')
 | 
			
		||||
rootStyles.setProperty('--site-background-filter', 'grayscale(0) hue-rotate(0deg)')
 | 
			
		||||
rootStyles.setProperty('--layer-background', '#e4e4e4 url("/data/images/site/backgrounds/lowpolyLightGray.svg") left/cover no-repeat fixed')
 | 
			
		||||
rootStyles.setProperty('--layer-background-selected', '#cccccc')
 | 
			
		||||
rootStyles.setProperty('--interactable-unselected', '#aaaaaa')
 | 
			
		||||
@@ -27,7 +27,7 @@ var colorCycle = setInterval(shiftHue, 200)
 | 
			
		||||
var currentHueRotation = 0
 | 
			
		||||
 | 
			
		||||
function shiftHue() {
 | 
			
		||||
	rootStyles.setProperty('--site-background-filter', 'hue-rotate(' + currentHueRotation + 'deg)')
 | 
			
		||||
	rootStyles.setProperty('--site-background-filter', 'grayscale(0) hue-rotate(' + currentHueRotation + 'deg)')
 | 
			
		||||
	currentHueRotation += 1
 | 
			
		||||
	if (currentHueRotation == 360) {
 | 
			
		||||
		currentHueRotation = 0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user