John Allsopp, April 07, 2000
Well established hierarchies are not easily uprooted;
Tao Te Ching; 38 Ritual
Closely held beliefs are not easily released;
So ritual enthralls generation after generation.
Before the web, there was print. Hundreds of years of print.
Before there was print, there was writing. Thousands of years of writing
It was only natural than that the web borrowed heavily from print
When a new medium borrows from an existing one, some of what it borrows makes sense, but much of the borrowing is thoughtless, "ritual", and often constrains the new medium. Over time, the new medium develops its own conventions, throwing off existing conventions that don't make sense.
This happened with the transition from radio to television
Often referred to as "radio with pictures", early television followed the format of popular radio, even at times narrating scenes that the audience could see as if they could not
It happened with the introduction of music videos as well
Early music videos were mostly the band miming themselves playing a song
In both cases, the thoughtless rituals of their parent mediums were cast off while the ones that made sense to new medium's conventions flourished.
Television evolved genres and formats suited for visual story telling
Artists found that they could visually express themselves and their music in ways other than a mimed concert
Although the web medium sprang from print, print's conventions have for too long overshadowed the realities of the web
The web has been treated as if it were made of paper
It is time for the web, like other new mediums before it, to cast off the constraining rituals of the medium from which it emerged
The sage… accepts the ebb and flow of things,
Tao Te Ching; 2 Abstraction
Nurtures them, but does not own them…
One of the core understandings of print is that
What You See Is What You Get
The designer has absolute pixel-perfect control over the design
There is a fixed content size, fixed display size, fixed viewing mode
Guess what. The web’s not a laser printer.
Karen McGrane
What if print's control is really a limitation?
You can think - we can fix the size of the text - or you can think - the size of the text is unalterable
You can think - the dimensions of a page can be controlled - or - the dimensions of a page can't be altered
The Way is shaped by use,
Tao Te Ching; 32 Shapes
But then the shape is lost.
Do not hold fast to shapes
But let sensation flow into the world
As a river courses down to the sea.
Form should follow function
Start with what your pages do, not what they looks like
Regardless of how they got there, users are there for your function, not your form
Users come to your site for the content, so you should design content first.
Your content and your site needs to be predictable in order to be useful.
Your site needs to be fast and reliable in order to be usable.
You need a style that will reflect your brand and can be carried from your content up
npm install -g yo grunt-cli bower generator-style-prototype
gem install bundler
yo style-prototype
grunt server
There are a variety of roles that play a role in the design and development of a site:
Elements are the building blocks of any site; each core tag, styled
Following the North standards, we don't want to have our core styling bleed out from the tags, so we can constrain it.
We are then able to call upon the base styling via the extendable class
Components are the building blocks of a site.
Often called block or modules as well, a component is a single, reusable set of HTML that forms a coherent piece of a site
A single component may have stying or experience variations, but what defines a component is the shared underlying HTML
Components need to be able to respond to whatever container they're placed in
We can accomplish this with a tiny, self contained JavaScript library called eq.js
eq.js allows for limited pseudo-element-query usage by restricting "element queries" to min-width
only, only checking for changes on DOMContentLoaded
and resize
, and requiring the query information be stored in HTML
By constraining what can be queried (and how it can be defined), it becomes possible to use "element queries" fast and efficiently in any project and in under 3kb
<div class="component" data-eq-pts="small: 400, medium: 600, large: 900">
<h1>Hello World</h1>
</div>
.container {
border: 2px solid red;
background-color: rgba(red, .25);
&[data-eq-state="small"] {
border-color: green;
background-color: rgba(green .25);
}
&[data-eq-state="medium"] {
border-color: orange;
background-color: rgba(orange, .25);
}
&[data-eq-state="large"] {
border-color: blue;
background-color: rgba(blue, .25);
}
}
Layouts in Style Prototypes are very similar to grey box UX wireframes
Each layout is simply a set of regions that can be visualized using the .prototype--layout-block
class
To make a responsive layout, simply add media queries!
Often, a client will ant to see what components will look like when placed into layouts
Style Prototypes can be expanded to include prototype sections to show components and layouts working together!
Slides available at
http://snugug.github.io/Style-Prototyping