Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@gridonic/sass

gridonic30MIT1.5.0

Our Sass foundation.

sass, css, boilerplate, gridonic, foundation, styleguide, styleguide-generator, documentation, documentation-generator, sassdoc, aigis, rscss, gemini, visual-testing, ui-testing, testing

readme

Sass

Sass foundation

This repository represents our starting point for creating sane, scalable and maintainable CSS.

💪 It’s empowered by:

  • Aigis (styleguide generator)
  • SassDoc (code documentation)
  • Gemini (utility for visual regression testing)

📚 Uses the following libraries by default:

🙏 Obeys those principles:

Have fun! ✌️

Wait, how am I supposed to use it?

Primarily it’s meant to be downloaded, extracted and used as a starting point that will grow/adjust from time to time while you work with it.

ℹ️ Meanwhile see the wiki for additional recipes on how to use this foundation.

Build setup

# install dependencies
npm install

# builds the css files
npm run build

# builds the css files in production mode (compressed)
npm run build:prod

# generates the styleguide
npm run styleguide

# generates the code documentation
npm run docs

# shows some statistics about the compiled css
npm run stats

# watches the sass files for changes and builds them automatically
# including the styleguide and the docs
npm run watch

# run visual regression tests and markup validation after css has been build
# and styleguide has been generated
npm run test

# checks the markup validity (of the styleguide or the files you’ve specified)
npm run test:html

# run visual regression tests only (doesn’t build and update styleguide beforehand)
npm run test:visual

gridonic.chgridonic.github.io@gridonic

changelog

1.5.0

2017-08-24
Added
  • Family.scss for easier handling of :nth-child styles
  • cssnano for compressing the production build
  • StyleStats to collect some CSS statistics
  • Source maps for default build
Changed
  • Use separate stylesheet for vendor files
  • Use config hash for commonly used paths
  • Lots of tiny improvements to styleguide (styles)
Fixed
  • Magic importer not importing files multiple times

1.4.1

2017-05-18
Changed
  • Renamed npm run validate to npm run test:html
  • Renamed npm run test to npm run test:visual
  • Renamed npm run test:update to npm run test:visual:update
  • npm run test to run npm run test:html && npm run test:visual
Fixed
  • Tree.deepToggle() toggling only first element
  • HTML validation not printing results while processing files

1.4.0

2017-05-15
Added
Changed
  • Watch task to run commands also initially
  • Watch task to watch for changes in aigis folder as well
  • Build task to clean beforehand

1.3.0

2017-04-25
Added
Changed
  • Improve debugging styles and documentation
  • Improve default link text-decoration styles
  • Improve typography documentation
  • Rename all $font-* variables to $base-*
  • Rename shared/generic to shared/base for consistency reasons
  • Move z-index variables into own file (_z.scss)
  • Default syntax highlighter for Aigis to highlight.js
Fixed
  • $base-font-size not being used properly

1.2.0

2017-04-03
Added
Changed
  • Rename map-stringify() to stringify()
  • Improve stringify() to accept custom separator and patterns
  • Dropping double variable color system in favor of a single one (#1)
Fixed
  • Build all *.scss files, not just styles.scss

1.1.0

2017-03-24

Lots of new features have been added. 👏

Added
  • Styleguide generation with Aigis
  • Custom extension of the rscss system called «exceptions»
  • Vertical Rhythm functions and base styles
  • More (hopefully) self-explanatory components
Changed

1.0.0

2017-02-21

First public release! 🎉