Carapace
![Build Status](https://travis-ci.org/watchtowerdigital/carapace.svg?branch=master)
Sass UI framework for rapid prototying
Carapace is an extension of the Scarab utility framework.
Table of contents
Installation
To get started, add Carapace as a dependency in your project via npm:
npm install scarab-carapace --save-dev
Import carapace.scss
at the beginning of your stylesheet:
@import "path/to/node_modules/scarab-carapace/scss/carapace";
Importing Carapace also imports the Scarab framework, which in turn creates a new global variable, $SCARAB
in your Sass project.
For more information on configuring Scarab and Carapace, refer to Scarab: Configuration and the official Configuration section of Carapace's documentation.
Features
Scarab framework
Carapace imports the the Scarab utility framework. Scarab's functions and mixins are made available with Carapace.
Object-oriented approach
Designed with an object-oriented approach in mind. Carapace kickstarts your projects and helps you write scalable and maintainable stylesheets.
Responsive by default
Everything is designed for mobile first. Use breakpoint hooks which are available on some helper and layout classes to fine-tune your interface at different breakpoints.
Vertical rythmn
Achieve vertical rythmn by default. Use the bl()
and type-scale()
functions and mixins to ensure consistent spacings throughout your interface.
Automatic typesetting
Scarab includes styles to apply a consistent visual heirarchy to typographical elements.
Layout and helper classes
Included are layout classes which help with rapid prototyping, and helper classes which overwrite specific styles on an element.
Component inventory
Carapace provides a convenient method for managing the UI "components" for your application.
Documentation
Documentation is available at https://watchtowerdigital.github.io/carapace/.
Resources
- scarab-snippets — Sublime Text snippets for the Scarab Sass utility framework