Find out more about Sfumato and how it can speed web development.
Sfumato is a command line interface (CLI) tool that generates CSS for your web-based projects. You can create HTML markup and use pre-defined utility class names to style the rendered markup, without actually writing any CSS code or leaving your HTML editor!
The resulting HTML markup is clean, readable, and consistent. And the generated CSS file is tiny, even if it hasn't been minified!
What does the name Sfumato mean? Sfumato is a painting technique that uses subtle, almost imperceptible gradations of light and shadow to create soft, hazy transitions between colors and tones, effectively blurring outlines and edges. The word "sfumato" (s-foo-`ma-tow) is Italian for "smoky" or "evaporated," which aptly describes the technique's effect of softening images as if they were viewed through smoke. This technique is most famously associated with Leonardo da Vinci, particularly in his masterpiece the Mona Lisa.
Run the sfumato CLI tool in a terminal like zsh, bash, or PowerShell, and it will generate CSS as you work.
As you edit the HTML or other files in your project, Sfumato will scan each changed file for utility class references and update the output CSS. It does this in the background so quickly that you'll probably forget it's even running.
This panel uses Sfumato utility classes for styling.
Sfumato will watch configured files and folders as you work. You can see an example of utility classes being used in the HTML sample above.
Seriously, get to work.
It's not required, but you can use Sfumato utility classes (and other features) in your custom CSS code as well. This ensures consistency in your styles, giving you access to the spacing, colors, and variants used in your markup. Here's an example: