1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00
2015-03-05 14:58:59 -05:00
2015-01-28 23:00:00 -05:00
2014-10-13 21:44:59 -04:00
2014-03-01 09:33:24 -08:00
2015-03-05 14:58:59 -05:00

Charcoal-Boilerplate

Boilerplate for Charcoal projects by Locomotive.

Getting started

Get the latest node modules

We are using this module to get the latest version of every modules and update the package.json

npm install -g npm-check-updates

npm-check-updates -u

npm install

Run grunt and start coding

grunt

SCSS

Import order

  • Settings: Global variables, site-wide settings, config switches, etc.
  • Tools: Site-wide mixins and functions.
  • Generic: Low-specificity, far-reaching rulesets (e.g. resets).
  • Base: Unclassed HTML elements (e.g. a {}, blockquote {}, address {}).
  • Objects: Objects, abstractions, and design patterns (e.g. .media {}).
  • Components: Discrete, complete chunks of UI (e.g. .carousel {}).
  • Trumps: High-specificity, very explicit selectors. Overrides and helper classes (e.g. .hidden {}).

From ITCSS

Description
基于数字优先的设计思想的网站模板
Readme MIT 5.2 MiB
Languages
JavaScript 45.8%
SCSS 42.4%
HTML 11.8%