Atomic Design, Vertical Rythme and Color Theory.
Its purpose is to help teams unite around a common language during the creation and life of a product.
Atomic Design is the core principle of this website’s architecture.
• Elements (atoms) are the basic unmodifiable units. Ex: spacing, fonts or colors.
• Components (molecules) are made of Elements. Ex: button (made of a font, a background color and a border radius).
• Modules (organisms) are sections of pages based on Elements and Components that can be re-used.
• The Website (ecosystem) is composed of multiple Pages that are composed of different Modules, Components and Elements.
<div id=" component "> </div> (with _component.scss)
<div id=" module "> </div> (with _module.scss)
<div id="page"> (with _page.scss)
<div id="module" class="section">
<div class="module--modifier" class="subsection"> </div>
</div>
</div> Vertical Rythme is based on an 8px baseline, genesis of all vertical spacing, margin, padding and line-heignt.
$b4; //4px$b8; //8px$b16; //16px$b24; //24px$b32; //32px$b48; //48px$b56; //56px$b64; //64px$b80; //80px$b96; //96px$b128; //128px$b192; //192pxColor Theory is based on a HSB(10,60,100) primary color, genesis of all theme and messaging colors.
//Source Sans Pro Regular / color-base
//font-size: 60px / line-height: 80px //Source Sans Pro Regular / color-base
//font-size: 50px / line-height: 64px //Source Sans Pro Regular / color-base
//font-size: 30px / line-height: 48px p. Text, p. Text (bold)
p. Text, p. Text (bold)
//Source Sans Pro Regular, Bold / color-base, color-base--064
//font-size: 20px / line-height: 32px //Source Sans Pro Regular, Bold / color-base, color-base--064
//font-size: 16px / line-height: 24px //Source Sans Pro Regular / color-base, color-base--064
//font-size: 12px / line-height: 16px //Courier Regular / color-base
//font-size: 16px / line-height: 24px codecode <icon-gael class=" icon color-base "></icon-gael>
<icon-gael class=" icon color-primary "></icon-gael>
<icon-gael class=" icon color-white "></icon-gael> <icon-gael class=" icon color-base icon-mini "></icon-gael> //12px
<icon-gael class=" icon color-base icon-small "></icon-gael> //16px
<icon-gael class=" icon color-base "></icon-gael> //20px
<icon-gael class=" icon color-base icon-big "></icon-gael> //30pxcode