css

For all your CSS related content...
wpcarro 2017-11-02T15:16:14.000674Z

thanks for sharing @niamu. After reading the Garden wiki, I found that the authors recommend using Emac’s rainbow-mode. I’m going to give it a try once I figure out how to evaluate Garden expressions and get strings instead of maps in return…

wpcarro 2017-11-02T15:18:46.000107Z

Somehow Garden is outputting serialized maps in my CSS instead of properly formatted strings, which is throwing me off

wpcarro 2017-11-02T15:22:53.000476Z

If anyone here has any pointers, I’d greatly appreciate it. I’ve read Garden’s wiki but still haven’t been able to output strings of colors and units as the docs have lead me to expect. Perhaps there’s something wrong with my configuration

wpcarro 2017-11-02T15:35:09.000047Z

I assume I shouldn’t be calling garden.compiler/render-css directly in my code — even though that gives me what I’m looking for

wpcarro 2017-11-02T15:41:25.000845Z

for instance, I’m trying to write a function to help me create :box-shadow in css… the problem is that the color I pass into it may or may not be a garden.color map. I want to be able to return a concatted string of x px y px blur px color … is the Garden way of approaching this to return a vector of each of these values and leave the serialization up to the compiler? I’m new to Garden so forgive me if this is obvious. I couldn’t find anything in the docs that covered this, though…

niamu 2017-11-02T16:28:27.000110Z

Are you saying you have difficulties generating CSS for some things that need colours? Or is this all in the larger goal of having Emacs show colour previews on demand?