2.32.0 • Published 7 years ago

sol-style-guide v2.32.0

Weekly downloads
152
License
-
Repository
github
Last release
7 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

7 years ago

2.31.0

7 years ago

2.30.1

8 years ago

2.29.11

8 years ago

2.29.10

8 years ago

2.29.9

8 years ago

2.29.8

8 years ago

2.29.7

8 years ago

2.29.6

8 years ago

2.29.5

8 years ago

2.29.4

8 years ago

2.29.3

8 years ago

2.29.2

8 years ago

2.29.1

8 years ago

2.29.0

8 years ago

2.28.0

8 years ago

2.27.3

8 years ago

2.27.2

8 years ago

2.27.1

8 years ago

2.27.0

8 years ago

2.26.4

8 years ago

2.26.2

8 years ago

2.26.1

8 years ago

2.26.0

8 years ago

2.25.7

8 years ago

2.25.6

8 years ago

2.25.5

8 years ago

2.25.4

8 years ago

2.25.3

8 years ago

2.25.2

8 years ago

2.25.1

8 years ago

2.25.0

8 years ago

2.24.1

8 years ago

2.22.0

8 years ago

2.21.0

8 years ago

2.20.2

8 years ago

2.10.0

9 years ago