1.2.1 • Published 8 years ago
scales-utilities-reset v1.2.1
Reset Styles for Scales
A companion to Normalize.css that resets a few things that are still useful from a traditional reset. Borrows from HTML5 Boilerplate and Reset Restarted.
Requirements
Scales patterns use the Sass CSS preprocessor, you'll need either Ruby Sass or LibSass.
Installation
Usage
Should be loaded immediately after Normalize.css. View the .scss file to see what the reset is doing.
Available Variables
$selection-bg-color
$selection-text-color
$table-border-collapse
$pre-overflow
The Scales Namespace Variable
All Scales patterns expose the $scales-namespace
variable.
$scales-namespace
accepts a string that will prefix all Scales classes. The default value is null
.
To give all Scales classes a namespace, you will need to set this variable in a file that is imported before any scales files. For example:
@import your-project/settings; // $scales-namespace is set in this file
@import your-project/scales; // Imports the Scales library
@import your-project/project // The rest of your project imports