Grade and looks
All docsGrade 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
- Open Grade
Pick Grade in the right panel. It has five groups: Colour, Type, Space, Shape and Motion.
- 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.
- 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
| Colour | Hue 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. |
|---|---|
| Type | Body 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. |
| Space | Density, one setting for every gap and margin, from half to double. |
| Shape | Corners from square to three times as round. Shadow: none, soft or hard. |
| Motion | Speed 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:
| Editorial | Warm serif with a print feel, for craft, food and books. Playfair Display and Source Serif 4. |
|---|---|
| Studio | Dark, sharp and bold, for tech, agencies and portfolios. Space Grotesk and Inter. |
| Quiet | Calm, plain and trustworthy, for clinics, law and consultants. DM Sans and JetBrains Mono. |
| Bold | Loud and high in contrast, for sport, events and street brands. Anton and Work Sans. |
| Mono | Technical, on an exact grid, for developers, data and tools. JetBrains Mono and IBM Plex Sans. |
| Soft | Rounded, 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) |
--saturation | 0 to 2, where 1 leaves it as it is |
--contrast | -1 to 1 |
--base, --ratio | Body size in pixels, step between sizes |
--density | 0.5 to 2 |
--radius, --shadow | 0 to 3; none, soft or hard |
--speed, --easing | 0.25 to 3; gentle, snappy or calm |