im-richard / Scaffold

Extend, combine and compress CSS
http://github.com/IAMRichardT/Scaffold/wiki
161 stars 19 forks source link

New versions equivalent to the "mixins" directory in the old version #18

Open balupton opened 14 years ago

balupton commented 14 years ago

In the old version there was a mixins directory which contained a whole bunch of mixins, or you could add your own.

What is the equivalent in the new version?

anthonyshort commented 14 years ago

I'm aiming to keep all the 'framework' type of things out of this Scaffold repo. I've got a second repo setup where I'm going to put all the mixins and other CSS files. This is just the core which does the processing, the framework will be something a bit different.

balupton commented 14 years ago

Alright sweet. If you post back when that other repo is all fine and dandy that'll be sweet. Keep up the good work.

DavidOliver commented 14 years ago

Also interested. :)

@Anthony: what will the framework include that the extensions library won't?

http://github.com/anthonyshort/Scaffold-Extensions-Library

h ttp://github.com/anthonyshort/Scaffold-CSS-Framework (edit: link outdated)

anthonyshort commented 14 years ago

Well, I was planning on doing something a bit more robust than just a mixins directory. Basically creating an entire boilerplate library using Scaffold/Sass. This includes mixins, resets, variables, settings all using the new tools available.

http://github.com/anthonyshort/Foundation-CSS-Framework

(That's the same as the second link above, just renamed)

Here's some examples:

Design/Theme settings http://github.com/anthonyshort/Foundation-CSS-Framework/blob/master/src/settings.css

Using variables to create a type stylesheet http://github.com/anthonyshort/Foundation-CSS-Framework/blob/master/src/core/type.css

Creating a framework folder that includes mixins/variables/etc http://github.com/anthonyshort/Foundation-CSS-Framework/tree/master/src/modules/framework/

You use the whole lot by just navigating to the folder. In my local case its:

http://local.anthonyshort.com.au/stylesheets/

I'm definitely keen to see how other people are using tools like Scaffold and Sass too.

balupton commented 14 years ago

Status on this? It's holding me back updating :(

For my usage:

I'm using the old version of scaffold in BalCMS http://github.com/balupton/balcms which powers my website http://www.balupton.com

as can be seen here: http://www.balupton.com/public/themes/balupton/styles/csscaffold.css?csscaffold