chronoskin
M

Layout guides

How to arrange sheets, bars and cards on a responsive grid, from a phone to a wide desktop window.

Get started Add a breakpoint

Start here

Surfaces

How sheets stack, split and join as the window changes.

Elevation

Resting heights for bars, cards, buttons and dialogs.

Breakpoints

The window sizes at which columns and gutters change.

Night theme

The same sheets on a dark page, with lighter text.

Updates

Sample project

A three screen starter with a bar, a drawer and a card list, ready to build.

Version 2.4 is out Margins now grow from 16 to 24 units at the tablet breakpoint.
  1. Docs
  2. Guides
  3. Layout

Building a page

Every screen is a stack of flat sheets. A sheet has one colour, a small corner and a shadow that says how high it floats.

The baseline grid

All spacing is a multiple of eight. Text sits on a four unit baseline, so a 16px paragraph takes a 24px line and a 13px caption takes sixteen. Set the gutter with grid.gutter and the kit works out the rest. Read the breakpoint reference for the full scale.

  • Bars span the window; content keeps a fixed inset.
  • Cards sit eight units apart and never touch.
  • One floating action per screen, in the accent colour.

Installing

Add the package, then import the sheet you need.

chronoskin add layout
chronoskin build --grid 8
Note Margins grow from 16 to 24 units at the tablet breakpoint.
Build failed The grid has 13 columns. Use 4, 8 or 12.

See also

  1. Docs
  2. Reference
  3. Breakpoints

Breakpoints

The window sizes at which the grid changes its columns, gutters and margins.

  • 5Breakpoints
  • 12Columns at most
  • 24Widest gutter
  • 1,920Largest window
TokenWindowStatusMin widthColumnsGutter
grid.compactPhone, uprightStable0416
grid.mediumPhone, sidewaysStable600816
grid.wideTabletStable8401224
grid.deskLaptopDraft12801224
grid.maxLarge displayRemoved19201224
5 Stable Draft Removed New Layout Version 2.4
  1. Reference
  2. Breakpoints
  3. grid.wide

Edit grid.wide

The tablet breakpoint: twelve columns from 840 units up.

Save

Where it is used

Three guides and the two pane sample read this breakpoint. Changes show up there after the next build.

A build is running now.

  1. Docs
  2. Your pages
  3. Saved

Saved pages

Guides and reference pages you bookmarked, kept in the order you saved them.

Nothing saved yet

Pages you bookmark appear here.

Browse the guides

Recently viewed

Keep a page for later

Press the bookmark at the top of any guide. Saved pages follow you to every device you sign in on.

Where are saved pages kept?

With your account, so they follow you to every device you sign in on.

Can I save a reference table?

Yes. Any guide or reference page can be saved.

How do I remove one?

Press the bookmark again on the page, or clear it from this list.