2.32.0 • Published 9 years ago

sol-style-guide v2.32.0

Weekly downloads
152
License
-
Repository
github
Last release
9 years ago

SOL's style guide

Providing a consistent visual profile across projects.

http://sol-style-guide.herokuapp.com/sol-style-guide

Launching

The master branch is deployed to sol-style-guide.herokuapp.com, which serves static css files.

Some projects still use this repo as a dependency. Therefore, after a pull request has been approved to be merged into the master branch, bump the version number and publish it to npm:

npm version major|minor|patch
npm publish
git push

Developing

Run gulp develop / npm run develop and all scss files will be compiled and a webserver will start at port 3000 if free.

When using this repository as a dependency, symlink it locally with npm link.

Settings

The partials in the src/scss/settings directory consist of variables like colors and numerical values, functions and mixins. They do not output any CSS when compiled.

Modules

The partials in the src/scss/modules directory are globally reusable components. Namespace modules by wrapping the whole partial in a block, like this:

.sparks {
    /* all styles go here */
}

Pages

The stylesheets in the src/scss/pages directory consist of imported modules, but can also include some overrides. Overrides should be namespaced in the same way as modules: Wrap the entire contents of the file in a block.

Try to keep these overrides to a minimum, and focus on reusing styles wherever possible, simply by importing modules.

2.32.0

9 years ago

2.31.0

9 years ago

2.30.1

9 years ago

2.29.11

9 years ago

2.29.10

9 years ago

2.29.9

9 years ago

2.29.8

9 years ago

2.29.7

9 years ago

2.29.6

9 years ago

2.29.5

9 years ago

2.29.4

9 years ago

2.29.3

9 years ago

2.29.2

9 years ago

2.29.1

9 years ago

2.29.0

9 years ago

2.28.0

9 years ago

2.27.3

9 years ago

2.27.2

9 years ago

2.27.1

9 years ago

2.27.0

9 years ago

2.26.4

9 years ago

2.26.2

9 years ago

2.26.1

9 years ago

2.26.0

9 years ago

2.25.7

9 years ago

2.25.6

10 years ago

2.25.5

10 years ago

2.25.4

10 years ago

2.25.3

10 years ago

2.25.2

10 years ago

2.25.1

10 years ago

2.25.0

10 years ago

2.24.1

10 years ago

2.22.0

10 years ago

2.21.0

10 years ago

2.20.2

10 years ago

2.10.0

10 years ago