Gerillass 3.0.0 is out. One gradient mixin replaces two, and text-gradient takes its colours first, so read the migration guide before you upgrade.

Gerillass

v3.0.0

The first AI-ready Sass mixin library for modern web design.

Gerillass is a set of mixins and functions built on top of Sass. Every one of them ships with a manifest the test suite verifies, so a coding agent cannot work from stale docs.

“Convert your web design ideas into beautiful websites!"
npm install gerillass --save-dev

Setting up Vite, webpack or another build tool? See the installation guide.

Sass mixins for you and your AI agent

Write responsive, accessible modern CSS, with a manifest that tells coding agents how every mixin works.

  • Sass media query and container query mixins
    Media Queries

    Sass media query and container query mixins

    Named sizes or raw lengths, for the viewport or a container. A mistyped size stops the build instead of writing a query that never matches.

  • Fluid typography and line clamp in Sass
    Modern CSS

    Fluid typography and line clamp

    Fluid font sizes with a clamp() that follows browser text zoom, multi-line truncation that works, plus accessible focus rings and reduced motion.

  • A Sass library AI coding agents can read
    AI Coding Agents

    A Sass library AI coding agents use correctly

    A tested manifest and a SKILL.md for Claude Code and other agents. A bad argument stops the build with a clear message.

  • Install Gerillass from npm or RubyGems
    Install Anywhere

    Install from npm or RubyGems

    56 mixins and 23 functions for Dart Sass, with no runtime dependencies. Works with Vite, webpack, Parcel, Rails, Jekyll and plain Ruby.

Now let's see what Gerillass is about!

Breakpoint Sass mixin for CSS Media Queries

This Sass mixin will help you to write CSS media queries in Sass, and generate consistent responsive layouts. Provides an easy to use one-line method.

You can set a range between two values ​​(predefined or custom values will be just fine) to apply our styles.

SCSS
.element {
  @include breakpoint(small, large) {
    background-color: red;
  } 
}

It will generate the CSS code below..

CSS
@media (min-width: 576px) and (max-width: 991px) {
  .element {
    background-color: red;
  }
}

* This is just a simple demonstration of Breakpoint Sass mixin. For more cool features please checkout the documentation or see the source code on Github!

What they say?

If you like the content, please say something about us. Share your thoughts on Twitter, help this project grow!

  • Frontend Developer
    Erdal Yenigul

    This is the one of best Sass mixins toolset. Don't be shy try it! #sass #css

  • Software Engineer
    Muhammed M. Kilic

    If you are afraid of #css like me, this #sass library is exactly for you: @gerillass is easy to understand and ridiculously simple to implement.

  • UI/UX Designer
    Kenan Gundogan

    It looks great, I will definitely include it in the projects I am developing.

  • UI/UX Designer
    Halil I. Cakiroglu

    Rapidly-produce consistent and scalable CSS outputs regardless of the size of the projects you're working on. #gerillass @gerillass

SAY SOMETHING ABOUT US!