notes | tags |
---|---|
TODO, update to include how we load into index and WHY, makes sense once we add storybook |
design-system mgan |
A design system is being constructed for the work on my personal website and this document will serve as the primary resource for all design related material.
We've adopted JS-AS-CSS for our component design system and specifically use Styled-Components.
To understand our theme view the themeConstants.js file found in root.
The website has it's components organized within the pages/core/componets/
folder using Brad Frost's atomic design principles.
Currently we are using four fonts for the website which are all on Google-Fonts.
-
IBM Plex Sans which is our main body copy on the site. IBM plex was selected as the body-copy because of its versatile set of font-weights AND it is highly legible on mobile screens versus some traditional fonts. This is referenced as
theme.fonts.body
in ourtheme-provider
. -
Roboto Sans Slab is used to cast my name Morgan Craft on the site BUT also serves as the majority of the sections headers. This is referenced as
theme.fonts.primaryHeader
in ourtheme-provider
. -
Source Sans Pro is used as an additional variation of section headers to denote/accent additional hierarchical information. This is referenced as
theme.fonts.secondaryHeader
in ourtheme-provider
. -
Lora is our last font we use sparingly, and it is meant as a decorative font in instances we want something to standout our emphasize a concept. This font was selected primarily to be used with
italics
as the decorative nature is more nuanced. This is referenced astheme.fonts.accent
in ourtheme-provider
.
WIP, this is up next is to consolidate our color-palette