You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 13, 2019. It is now read-only.
* 'develop' of https://github.com/WebDevLuke/OrionCSS:
cleanup
Fixed minor bug fix where colors were being incorrectly compressed
Readme tweaks
Removed stylelint
Tweaked comment styling in gulpfile
OrionCSS is a SASS framework which is simple, easy to use and scalable. It provides you with a solid OOCSS foundation on which to build your project.
6
6
7
7
-**ITCSS Powered** - OrionCSS uses the popular OOCSS methodology [ITCSS](https://www.xfive.co/blog/itcss-scalable-maintainable-css-architecture) to organise its SASS and includes many useful object and utility classes out of the box.
8
8
-**Powerful Grid System** - OrionCSS includes a flexible and easy to use grid system which can be adapted for any size or scenario.
9
9
-**Easily Manage Breakpoints** - Manage your media query breakpoints in one file which then automatically filters into the rest of the framework.
10
-
-**Usuable with Orion Framework** - Use as a dependency of the [Orion Framework](https://github.com/WebDevLuke/Orion-Framework) to access specifically built Gulp tasks to compileand optimise your SASS. [(More Info)](#using-with-orion-framework)
10
+
-**Complimented by OrionBP** - Use with [OrionBP](https://github.com/WebDevLuke/Orion-Framework), a simple front-end boilerplate for projects using OrionCSS. It includes a suite of powerful Gulp tasks allowing you to compile, compress and concatenate your SASS, JS and image assets. [(More Info)](#using-with-orion-framework)
11
11
12
12
## Table of contents
13
13
@@ -25,7 +25,7 @@ OrionCSS is a SASS framework which is simple, easy to use and scalable. It provi
25
25
26
26
## Getting Started
27
27
28
-
The best way to use OrionCSS is as part of the larger [Orion Framework](https://github.com/WebDevLuke/Orion-Framework). [(More Info)](#using-with-orion-framework)
28
+
The best way to use OrionCSS is via [OrionBP](https://github.com/WebDevLuke/Orion-Framework), a simple front-end boilerplate designed to compliment this framework. [(More Info)](#using-with-orionbp)
29
29
30
30
You can also use OrionCSS on it's own as a part of your own framework. To install it as a depedency using NPM, run the following command:
31
31
@@ -76,9 +76,9 @@ To give you a useful starting point for building your own components, a sample c
76
76
77
77
OrionCSS uses appropriate namespaces to link classes with their parent ITCSS layer. These are:
78
78
79
-
-`.o-`: Objects
80
-
-`.c-`: Components
81
-
-`.u-`: Utilities
79
+
-`.o-` - Objects
80
+
-`.c-` - Components
81
+
-`.u-` - Utilities
82
82
83
83
It would be a good idea to follow this convention in your own code. Not only for consistency, but [because it's a good idea](https://csswizardry.com/2015/03/more-transparent-ui-code-with-namespaces/).
84
84
@@ -159,7 +159,7 @@ Here we introduce breakpoint classes which have been automatically created by SA
159
159
Here is an advanced example of how we can combine breakpoint classes to significantly alter our columns as we increase our browser resolution. We also introduce offset classes which can push a column across a container and a basic hide utility class.
160
160
161
161
## Breakpoint Mixins
162
-
When writing SASS, you also have access to breakpoint mixins which allow you to generate media queries using the data entered in `/01 - settings/_settings.breakpoints.scss`.
162
+
When writing SASS, you also have access to breakpoint mixins which allow you to easily generate media queries using the data entered in `/01 - settings/_settings.breakpoints.scss`.
163
163
164
164
Create a min-width mobile-first breakpoint:-
165
165
@@ -284,22 +284,22 @@ And include responsive variants similar to:-
284
284
/* And so on */
285
285
```
286
286
287
-
To prevent bloat, I recommend using [UNCSS](https://github.com/giakki/uncss). This scans your HTML and filters out unused classes, meaning only the classes referenced in your HTML are included in your compiled CSS. UNCSS is included in the larger [Orion Framework](https://github.com/WebDevLuke/Orion-Framework), where OrionCSS is a dependency.
287
+
To prevent bloat, I recommend using [UNCSS](https://github.com/giakki/uncss). This scans your HTML and filters out unused classes, meaning only the classes referenced in your HTML are included in your compiled CSS. UNCSS is included in [OrionBP](https://github.com/WebDevLuke/Orion-Framework).
288
288
289
289
## Further Documentation
290
290
OrionCSS features heavy documentation within its codebase so that's the first place to look if you have any questions about a specific feature or included partial.
291
291
292
292
293
-
## Using with Orion Framework
294
-
When you use OrionCSS as part of the larger [Orion Framework](https://github.com/WebDevLuke/Orion-Framework), you gain access to specifically built Gulp tasks to compile and optimise your SASS. These include:
293
+
## Using with OrionBP
294
+
When you use OrionCSS via the front-end boilerplate [OrionBP](https://github.com/WebDevLuke/Orion-Framework), you gain access to specifically built Gulp tasks to compile and optimise your SASS. These SASS tasks include:
295
295
296
-
- A setup task which creates all the directories and files you need to get you up and running as quickly as possible.
296
+
- A setup task which automates the setup process by creating all the directories and files you need to get you up and running as quickly as possible.
297
297
-`Build` and `Watch` tasks to easily compile your SASS.
298
298
-[gulp-sass-glob](https://github.com/mikevercoelen/gulp-sass-glob) is used to automatically import any new partials, so you won't need to edit `main.scss` at all.
299
299
-[UNCSS](https://github.com/giakki/uncss) is used to remove any unused CSS classes from your stylesheet, so you don't have to worry about bloated CSS.
300
300
-[Autoprefixer](https://github.com/postcss/autoprefixer) is automatically applied where applicable.
301
301
302
-
Please refer to [Orion Framework](https://github.com/WebDevLuke/Orion-Framework)'s github repository for more information.
302
+
Please refer to [OrionBP](https://github.com/WebDevLuke/Orion-Framework)'s github repository for more information.
303
303
304
304
## About the Developer
305
305
I'm Luke Harrison, a Sheffield-based Web Designer & Developer from the UK, currently working at [Evolution Funding](https://github.com/EvolutionFunding). Read more about me at [lukeharrison.net](http://www.lukeharrison.net) and/or follow me on twitter at [@WebDevLuke](https://twitter.com/WebDevLuke).
0 commit comments