The window

Grade and looks

All docs

Grade moves a whole kind of value across the site in one go: every colour, every size, every gap. Looks restyle a site in one move.

How a grade works

  1. Open Grade

    Pick Grade in the right panel. It has five groups: Colour, Type, Space, Shape and Motion.

  2. Pick a look or move a slider

    Pick one of the group's looks, listed below, or move a slider yourself, which clears the look. The change shows over your live page straight away. Nothing is saved yet. Double-click a slider to put it back to neutral.

  3. Apply

    Press Apply. Everything you moved, in every group, is saved as one change, so one Undo takes the whole grade back. A font the site doesn't have yet is added first, as its own step.

The controls

ColourHue turns every colour around the colour wheel, up to half a turn either way. Warmth makes colours warmer or cooler. Saturation runs from grey to twice as vivid. Contrast spreads light and dark apart or draws them together.
TypeBody size from 12 to 24 pixels. Scale, the step from one heading size to the next: 1.2, 1.25, 1.333 or 1.5. The heading font and the text font.
SpaceDensity, one setting for every gap and margin, from half to double.
ShapeCorners from square to three times as round. Shadow: none, soft or hard.
MotionSpeed of every animation, from a quarter to three times. Easing, the feel of each move: gentle, snappy or calm.

Values written by handColour, space, corners and motion also move the values your stylesheet writes by hand. Type moves only shared sizes. If your site writes its font sizes by hand, press Adopt at the top of Grade, or run velluma grade adopt --apply, once. It turns those values into shared ones without changing how anything looks, so the type grade reaches them.

Looks

Each group in Grade opens on its own looks. A look sets that group's sliders at once, and Original leaves the group as the site has it.

Colour Warm, Cool, Muted, Vivid, Dusk
Type Compact, Editorial, Poster
Space Tight, Roomy, Airy
Shape Sharp, Soft, Round
Motion Quick, Gentle, Calm

A site look sets the colours, type and fonts of the whole site in one move. Six come with Velluma:

EditorialWarm serif with a print feel, for craft, food and books. Playfair Display and Source Serif 4.
StudioDark, sharp and bold, for tech, agencies and portfolios. Space Grotesk and Inter.
QuietCalm, plain and trustworthy, for clinics, law and consultants. DM Sans and JetBrains Mono.
BoldLoud and high in contrast, for sport, events and street brands. Anton and Work Sans.
MonoTechnical, on an exact grid, for developers, data and tools. JetBrains Mono and IBM Plex Sans.
SoftRounded, friendly and pastel, for kids, pets, florists and cafes. Fredoka and Nunito.

A look is one change in History like any other, so trying one costs nothing: Ctrl Z takes it back.

From the command line

velluma grade show prints the design as it stands. Each grade command prints its plan first and saves only with --apply:

velluma grade colour --hue 30 --temperature 0.2
velluma grade type --ratio 1.333 --apply
velluma grade space --density 1.2 --apply
velluma grade shape --shadow soft --apply
velluma grade motion --speed 0.8 --easing calm --apply
velluma look apply --name editorial
--hue-180 to 180 degrees
--temperature-1 (cooler) to 1 (warmer)
--saturation0 to 2, where 1 leaves it as it is
--contrast-1 to 1
--base, --ratioBody size in pixels, step between sizes
--density0.5 to 2
--radius, --shadow0 to 3; none, soft or hard
--speed, --easing0.25 to 3; gentle, snappy or calm