Skip to content
All projects

Personal · 2020

Shut framework

Documentation site for shut css framework, created by 11ty

Role
Creator
Live
shut.work
Skills
  • Basic Web Development
  • Design
  • Hosting
  • Web management
Shut framework screenshot

I started writing a framework to be reused in all my projects for prototyping and production purposes back in 2005. I had a brief idea of what CSS and JS I needed as I kept repeating the same components project in and out. In 2009 I created the beta, and named it KITT. Then in 2011 I created a framework with both CSS and JS.

The CSS used back then is pretty much css that was reusable in every prototype created: .red, .redBox, .bthin and so on.

The JavaScript was a framework based on jQuery, and supposed to be unobtrusive. To call a function all I had to do assign data-behavior property and few other data- props.

Putting them together was via a C# ASP.NET page that I designed to allow me to choose which files to include in the final bundle. Remember, that was before Gulp, before my knowledge in NodeJs, and before any bundling knowledge.

In 2015 when I adopted Angular, I recreated the framework that is now called SHUT, removing JS framework. The components that were reusable turned into library components. The CSS was slightly enhanced, it now is based on LESS. I use Gulp mainly to maintain and produce the dist version, The site to document my progress is created via 11ty framework.

The Angular library items, though not prepared to be 3rd party, are placed in a seed Angular project called Cricket.

Shut framework screenshot

SHUT, the world between.

Somewhere between Figma, the awesome prototyping tool, and Bootstrap (and tailwind) the awesome CSS framework, lies SHUT.

  • LESS based. Better documentation, easier, and simpler. Sorry SASS people, but nothing beats the simple .small() to include existing rules with no hassle.
  • Does not involve JavaScript, nor has any prebuilt components. JavaScript is reliant on framework used by developers, to have a CSS framework have an opinion about it, is obtrusive.
  • Mobile-first, responsive, and development-ready. I do not have to throw away my prototype code any more.
  • Unobtrusive. Beyond resetting and normalization, no HTML element is redefined.
  • Customizable. Colors, sizes, shadows, et. al., are defined in the LESS variables file. LESS functions are documented to allow every project to have its own extended values.
  • RTL enabled. I speak Arabic.