A17 SCSS Utilities

A series of utilities to enable/encourage systematised web design/development.

AREA 17 strongly believes in design systems and then using these systems to build products for both ourselves and our clients. Utility classes are thus a natural fit for us, and so we "systematised" the utilities to tie closer to our design methodology.

We also wanted to include a few utility classes that would simplify some common styling requirements.

What this isn't is a replacement or alternative to Tailwind - which is a utility CSS class library. These SCSS utilities are intended to help you write SCSS and use your responsive/grid system.

Setup

Featured utility classes

Layout

  • container - centered column container
  • colspan - generates design column spanning classes (for flex/float/other)
  • Grid Columns - generates CSS Grid design column spanning classes
  • Spacing - generates spacing utilities for gutters and responsive spacing groups

Typography

  • Typography - generates responsive typography classes

Color

  • Color - generates colour variables and utility classes

Dev Tools

  • Dev Tools - generates colour variables and utility classes

Other useful utility classes

Featured utility mixins and functions

Layout

  • @mixin breakpoint - inserts a media query
  • @mixin container - centered column container
  • @mixin colspan - mixin to add a design column spanning width to an element
  • @function colspan - function that returns a design column spanning CSS calc()
  • @function rem-calc - converts px and em to rem

Typography

  • @mixin typeset - adds responsive type set to an element

Other useful utility mixins and functions

Internal mixins and functions