open-props icon indicating copy to clipboard operation
open-props copied to clipboard

Support, aggregate and distribute `@function`

Open argyleink opened this issue 11 months ago • 0 comments

@function --light-dark(--light, --dark) {
	result: var(--light);
	
	@container style(--theme: dark) {
		result: var(--dark);
	}
	
	@container style(--theme: system) {
		@media (prefers-color-scheme: dark) {
			result: var(--dark);
		}
	}
}

Creating a way to import these and even postcss-jit-prop them, will be amazing

argyleink avatar Feb 14 '25 16:02 argyleink