Provide high-level, flexible layouts Determine how elements interact with each other Create consistent flow and rhythm
https://piccalil.li | #CUBECSS
@hankchizljaw | @piccalilli_
Slide 24
Provide visual treatment such as colour or font style Provide decorative styles such as shadows and patterns Force a browser to generate a pixelperfect layout https://piccalil.li | #CUBECSS
@hankchizljaw | @piccalilli_
“Design Tokens are the visual atoms of the design system – specifically, they are named entities that store visual design attributes. We use them in place of hard–coded values in order to maintain a scalable and consistent visual system.”
@jina
https://piccalil.li | #CUBECSS
@hankchizljaw | @piccalilli_
Slide 42
Design tokens for scalable systems
https://piccalil.li | #CUBECSS
@hankchizljaw | @piccalilli_
Apply a single CSS property, or a concise group of related properties Extend design tokens to maintain a single source of truth Abstract repeatability away from the CSS and apply it in the HTML instead
https://piccalil.li | #CUBECSS
@hankchizljaw | @piccalilli_
Slide 48
Define a large group of unrelated CSS properties. Be used as a specificity hack.
https://piccalil.li | #CUBECSS
@hankchizljaw | @piccalilli_
Extend the work already done by CSS, composition and utility Apply a collection of design tokens within a concise group Create a namespace or specificity boost https://piccalil.li | #CUBECSS
@hankchizljaw | @piccalilli_
Slide 56
Grow to anything larger than a handful of CSS rules (max 80-100 lines) Solve more than one contextual problem
https://piccalil.li | #CUBECSS
@hankchizljaw | @piccalilli_
Thank you Use code CUBE_PAL to save 50% off Learn Eleventy From Scratch https://swop.link/11ty-cube
https://piccalil.li | #CUBECSS
@hankchizljaw | @piccalilli_
Thank you Use code CUBE_PAL to save 50% off Learn Eleventy From Scratch https://swop.link/11ty-cube
https://piccalil.li | #CUBECSS
@hankchizljaw | @piccalilli_