Component catalog
The colors, type, spacing and building blocks the Voto de Verdade screens are made of, as they appear on the site. Everything here is an example: names, numbers and votes are made up. Use the dark mode button to see both themes.
Colors
Each color has a role, and its value changes in dark mode. No color resembles a party.
Type
One typeface, Atkinson Hyperlegible Next, made to read well even with low vision. Page titles: 32 to 48 px; sections: 24 to 30 px; card titles: 20 px; small titles: 17 px; supporting text: 18 px; notes and counts: 15 px.
Spacing
Components only use these roles, never loose numbers. The more distant the relationship between two elements, the larger the space. When there are two numbers, the second applies on wide screens.
Shapes and shadows
Rounded corners of 16 and 24 px and two shadows: the standard one and the raised one (the card under the cursor).
Votes
Each vote is also told apart by shape, not just color: yes is filled blue, no is filled dark, abstention is hollow, obstruction has a dashed border and presiding has a dotted border.
Under construction
The header, footer, filters, the “By the numbers” charts and whole screens come in the next versions of the catalog.
The examples appear when the page opens with JavaScript.