Hello, my name is Chris

Sass variable madness – Are we using too many variables in Sass?

Variables are an unmistakably important part of Sass, they open up a whole world of semantic reusable code that makes our lives easier when authoring css.  But are we using too many of them just because they are there? Learning Sass At the first stage of learning sass, you learn that you can @import partials, nest code, and use variables. In fact, aside from the introduction to preprocessing, sass-lang.com uses variables as their first introduction to the language. So we get our grubby hands on them and say “Hey! we can use them for everything now!!” like a kid in…

Tutorial: Sass Colours with SassyColours

So last week I posted the SassyColours project, and this week I want to give a bit of a run through on how it works and how I would use it. I would like to start with how I believe variables should be used for colours in sass projects and explain why. Some of you may not agree with me on some of this, but I am keen to hear what you have to say so feel free to comment below. Following the white rabbit. Sass variables should be tidy. Have you ever been through a .scss file only to…

SassyColours: A Colour Palette Generator for Sass!

View SassyColours here: http://chrisasher.com/sassycolours/ Get SassyColours at GitHub: https://github.com/chrisasher/sassycolours Over the last couple of weeks I have been spending a fair bit of spare time learning about colours. Colour palettes and good colour schemes are important for websites, as they really create the mood for the content and can subconciously set the user expectation regarding product or content quality. I know I can’t talk right now about that because of my current theme, but I am about to design a new one from scratch rather than use a pre built theme. This brings me to the build.  I am not great with…