v01.2โ€” updated 20221001

Info

โš ๏ธ Use kebab-case

๐Ÿ“„ Pages

๐Ÿ‘ปย Description

๐Ÿ›  Symbols & Components

context/element/variant

Examples:

post/card/large

site/block/small

post/button/pressed

article/content/highlighted

status-bar/bezel/light

btn/primary/hover

nav/header/mobile/dark

Notes:

  • By explaining the componentโ€™s structure and functionality, these names provide context for the component without describing its appearance.

๐Ÿ’ฌ Text Styles

category/type/size/style/alignment

Examples:

paragraph/primary/left

para/primary/italic/left

mobile/para/large/bold/right

Notes:

  • Itโ€™s best to not use the actual name of the text, as that is an element that might change with a rebrand and would then have to be updated across the board

๐Ÿชœ Layer Styles

context/element/variant

Examples:

ui/input/default

fill/primary/hover

shadow/high

Notes:

  • These names are based on clear and obvious layer styling elements and leave no guesswork for collaborators.

๐ŸŒˆ Color Variables

use/variation

Examples:

primary/default

tertiary/light

brand/primary

brand/accent

functional/information

neutral/grey-000

Notes:

  • Avoid naming colors; instead, describe their use.

๐Ÿ“‹ Artboards & Slices

Artboards:

YYYYMMDD-ClientName-ProjectName-DocumentName-v01

Slices post-fix examples:

-s

-xl

@1x

@3x

๐Ÿ“‘ Other Files

YYYYMMDD-ClientName-ProjectName-DocumentName-v01-00-ZT.ext

๐Ÿ’ก General Best Practices