You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			| 
				
					 | 
			3 years ago | |
|---|---|---|
| .. | ||
| build.sh | 3 years ago | |
| index.imba | 3 years ago | |
| package.json | 3 years ago | |
| readme.md | 3 years ago | |
		
			
				
				readme.md
			
		
		
	
	convert-css
This is a script that takes a string of css on stdin and outputs imba css on stdout.
Installation
npm link
The binary will be available as css.
Usage
Until this is integrated into tooling, on MacOS you can pipe the output to your clipboard:
pbpaste | css | pbcopy
Todo
- Convert px to imba units?
 - Convert colors to imba colors?
 - Convert 
p:0 8pxtopy:0 px:2? - Convert 
w:1 h:1tos:1 - If there are repeat values (such as 
p:10 pr:5), preserve order.