Style guide
How Nightly is put together. Change these and the whole site follows.
Open the Projects collection and replace the six demo projects with your own. The newest one marked Featured supplies the last line and the picture of the home page hero.
Select the Commits layer in the home page hero and type your own five edits: a short message and the sentence after each one. The words that were removed and added are worked out for you. Give each project a Number, a Unit, a Measure, a Was and a Result line.
To change the typeface, set the new family in each text style, then type the same family name into the Font field of Commits, Ship line, Diff, Release, Breakpoints, Moved, Roll, Load time and Preloader.
Page, #0D0C0A
The ground of every page
Surface, #171512
Behind images while they load, and raised states
Ink, #F0ECE4
Headings, body text and the primary button
Muted, #918D84
Labels, captions and secondary text
Quiet, #625F58
The second tone of two-tone headings
Hairline, Ink at 14%
Rules and field underlines
Accent, #FFB02E
Progress lines only. Use it sparingly
Display
Page titles, 72 / 56 / 40
Send me the number
Statement
Section statements, 48 / 40 / 30
Three ways to work with me
Heading
Smaller headings and prices, 32 / 28 / 24
Performance audit
Title
Row and card titles, 22 / 20 / 19
What a double-entry ledger taught me
Figure
Numbers set as text, 64 / 52 / 44
Lead
Introductions, 22 / 20 / 18
Article
Long-form text in posts and legal pages, 18
Body
Paragraphs, 16
Label
Labels, facts and dates, 15
Small
Captions and the footer, 14
Nav
Navigation and buttons, 15
Name
The name in the navigation, 16 medium
Page #0B0D10, Surface #14171C, Ink #E9EEF2, Muted #8A939C, Quiet #5A626B, Accent #6EA8FF
Cool and a little blue. Hairline: Ink at 14%.
Page #100B0A, Surface #1A1312, Ink #F3E9E4, Muted #9A8C86, Quiet #675B56, Accent #FF6B4A
Warm, with a coral accent. Hairline: Ink at 14%.
Page #F4F2EC, Surface #E8E5DC, Ink #15140F, Muted #6F6C64, Quiet #A5A299, Accent #C2410C
A light version. Hairline: Ink at 14%.
Commits
Code. The home hero: one sentence edited in front of the visitor. Each scroll step applies the next edit, striking the words it removes. The last edit adds the Featured project’s Result line and cover from the CMS.
Code. A number whose digits roll in the first time it is seen. Used at the top of each case study and on the 404 page.
Code overrides. Two make full-height layers use the visible height on phones. The third, withShip, marks a home page section for the Ship line. Leave them applied.
Code. One result written as a change, used in the project rows on the home page and the Work page: the old number is struck out and the new one arrives when the row is reached. Fields: Measure, Was, Number, Unit.
Code. The version number beside each post on the home page and the Writing page. It is worked out from the post’s place in the list, so the newest is always the highest.
The last line and picture of the home hero (the newest Featured project), Selected work, the Work page and each case study. Fields: Number, Unit, Measure, Was, Before, Result, three Screens, Problem, Approach, Outcome.
The list of jobs on the About page. Period is the line shown; Start and End keep the order.
The release log on the home page and the Writing page, and each post.
The review thread under Kind words on the home page. Every item shows, Featured first.