mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	wip
This commit is contained in:
		
							parent
							
								
									ef74653a4b
								
							
						
					
					
						commit
						0c7111b438
					
				
					 2 changed files with 2 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -62,10 +62,6 @@ function compile(theme: Theme): { [key: string]: string } {
 | 
			
		|||
		if (k == 'meta') return;
 | 
			
		||||
		const c = getColor(v);
 | 
			
		||||
		props[k] = genValue(c);
 | 
			
		||||
		props[`${k}-r`] = c.toRgb().r;
 | 
			
		||||
		props[`${k}-g`] = c.toRgb().g;
 | 
			
		||||
		props[`${k}-b`] = c.toRgb().b;
 | 
			
		||||
		props[`${k}-a`] = c.toRgb().a;
 | 
			
		||||
	});
 | 
			
		||||
 | 
			
		||||
	const primary = getColor(props['primary']);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -33,7 +33,7 @@ a
 | 
			
		|||
 | 
			
		||||
@css {
 | 
			
		||||
	a {
 | 
			
		||||
		tap-highlight-color: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.7) !important;
 | 
			
		||||
		-webkit-tap-highlight-color: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.7) !important;
 | 
			
		||||
		tap-highlight-color: var(--primaryAlpha07) !important;
 | 
			
		||||
		-webkit-tap-highlight-color: var(--primaryAlpha07) !important;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue