Grid and spacing

8 pixel grid

Grids are a structured framework composed of horizontal and vertical lines that define the layout and alignment of elements within a design. They help maintain consistency and order in various design elements, such as text, images, and interactive components.

In Delish, we use an 8px grid.

SN-8pxgrid


Spacers

A spacer (1) refers to the space between two columns in a layout. The spacer's value will depend on what device you're building for. In Delish, we follow the following values:

Desktop

Tablet

Mobile

24px

16px

8px

Ref to 77:1496


Grid by Device

 

Desktop

Tablet

Mobile

Width

1400px wide

1024px

360px

Height

Variable

Variable

Variable

Column number

16

8

4

Spacer

24px

16px

8px

Outside margin

64px

40px

24px

Example

 

Spacing tokens

Space / Vertical
0px
0px
None
Token Name
spacingVerticalNone
2px
2px
XXS
Token Name
spacingVerticalXXS
4px
4px
XS
Token Name
spacingVerticalXS
6px
6px
SNudge
Token Name
spacingVerticalSNudge
8px
8px
S
Token Name
spacingVerticalS
12px
12px
MNudge
Token Name
spacingVerticalMNudge
16px
16px
M
Token Name
spacingVerticalM
24px
24px
LNudge
Token Name
spacingVerticalLNudge
32px
32px
L
Token Name
spacingVerticalL
48px
48px
XL
Token Name
spacingVerticalXL
52px
52px
XXL
Token Name
spacingVerticalXXL
56px
56px
XXXL
Token Name
spacingVerticalXXXL
64px
64px
XXXXL
Token Name
spacingVerticalXXXXL
Space / Horizontal
0px
0px
None
Token Name
spacingHorizontalNone
2px
2px
XXS
Token Name
spacingHorizontalXXS
4px
4px
XS
Token Name
spacingHorizontalXS
6px
6px
SNudge
Token Name
spacingHorizontalSNudge
8px
8px
S
Token Name
spacingHorizontalS
12px
12px
MNudge
Token Name
spacingHorizontalMNudge
16px
16px
M
Token Name
spacingHorizontalM
24px
24px
LNudge
Token Name
spacingHorizontalLNudge
32px
32px
L
Token Name
spacingHorizontalL
48px
48px
XL
Token Name
spacingHorizontalXL
52px
52px
XXL
Token Name
spacingHorizontalXXL
56px
56px
XXXL
Token Name
spacingHorizontalXXXL
64px
64px
XXXXL
Token Name
spacingHorizontalXXXXL