living style

Post on 11-Sep-2021

1 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Generate a Living Style Guide

from CSS

Personal

Professional

Full Stack Development Consultant

@bookwyrmhttps://mattvanderpol.com

Stories

Robert N

Robert Y

Resonate?

RoadmapWhat

Examples

Generate

Sustain

What is a Living Style Guide

Style

Guide

Living

Similar Concepts

Similar Concepts

Pattern Library Design System

Pattern Library

“A pattern library is a collection of front-end code that creates a component part of the overall

design of the page. It is ‘the what’ of the website. If you need to use a carousel this is ‘what’ code you

would use.”

Stuart Robson - http://www.alwaystwisted.com/articles/styleguides-pattern-libraries-and-design-languages

Design System

“From typography, layouts and grids, colors, icons, components and coding conventions, to

voice and tone, style-guide and documentation, a design system is bringing all

of these together in a way that allows your entire team to learn, build, and grow.”

Ara Abcarians - https://css-tricks.com/design-systems-building-future/

Relation

Design System

Pattern Library

Style Guide

Key Features and Benefits

Common Language

Composable

Versioned

Single Source of Truth

Examples of Living Style Guides

Rizzo

“we [created a maintainable style guide] by making the Style Guide an integral part of our development workflow”

Ian Feather - http://engineering.lonelyplanet.com/2014/05/18/a-maintainable-styleguide.html

Design Elements

Design Elements

Design Elements

Utilities

Performance Monitoring

“Primer is GitHub’s internal CSS framework. It includes basic global styling for typography, small components like buttons and tabs, and our general guidelines for writing HTML and CSS. It’s been used internally at GitHub for years now.”

http://primercss.io/about/

Components

Versioned

Code Guidelines

CSS Dev Conf 2016http://bluemallard.net

How to Generate a Living Style Guide

Starting a Living Style Guide

Starting a Living Style Guide

Starting a Living Style Guide

Setup

kss-node

Project Architecture

Two CSS Files

Styleguide Overview

Styleguide Overview

What to Document

Colors

Tokens/Variables

Tokens/Variables

Tokens/Variables

Tokens/Variables

Mixins/Functions

Base Elements/Classes

“Patterns”

“Patterns”

“Patterns”

“Patterns”

“Patterns”

Vendor Libraries

Pattern Status

Documenting Patterns

Anatomy of a Pattern

Name

Description

Markup

Status

“Relationship”

Pattern Markup

Inline

External

Partial with Args

Generation and Deployment

“Tricky Parts”

Colors

Defining Sections

In individual Files

_kss-headings.scss

Custom Styleguide

Theme

How to keep a Living Style Guide

Alive

Workflow

Primary Reference Doc

Cross Browser Testing

Visual Regression Testing

Make it Easy

Easy to Access

Easy to Update

Easy to Consume

Meta Documentation

Versioned Releases

Changelog

Release Promotion

In Closing

top related