Skip to content

Instantly share code, notes, and snippets.

@conartist6
conartist6 / post.md
Last active July 14, 2020 18:56
Intro to Macrome

I'm working on a brand new build system, and I want to take a moment to address the obvious question, which is: OMGWTFBBQ why another one!?

The answer is in the trees.

The new tool, Macromé (pronounced "macro-may", imported as macrome) is powerful becase it performs in–place builds within existing directory tree structures, so that many types of data about the same underlying unit stay colocated.

For example a React component expressed as a tree-structured directory (a.k.a pod, or unit) and built by macrome might look like this:

[projectRoot]
@pensierinmusica
pensierinmusica / responsive-show-hide.css
Last active December 20, 2015 22:09
A super lightweight library to show and hide elements on HTML based on responsive design.
/*CSS Responsive design show-hide*/
/*
USAGE
The class "res" has two modes, "show" and "hide".
The intended direction is from a larger to a smaller device.
Assign the class "res-show" to any HTML tag when you want the wrapped content
to be hidden on larger devices and shown on smaller ones.