This document aims to specify and define the rules and patterns to follow when implementing and developing new features and components for DogeHouse.
This is a summary. For a more extensive version, components and UI Design, visit the publically available Figma file.
- Accent:
#FD4D4D
- Pure White:
#FFFFFF
- Gray 100:
#DEE3EA
- Gray 200:
#B2BDCD
- Gray 300:
#5D7290
Gray 400:#4F617A
Gray 500:#404F64
Gray 600:#323D4D
- Gray 700:
#242C37
- Gray 800:
#151A21
- Gray 900:
#0B0E11
The font chosen for this project is Inter
.
Inter is a free font available on Google Fonts. Clean and bold headings, readable paragraph text and an overall versatile font.
We'll be using two of its styles:
- Inter Bold (
700
) - Inter Medium (
500
)
HTML's link
method
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@500;700&display=swap" rel="stylesheet">
CSS/SCSS @import
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;700&display=swap');
CSS Rules
font-family: 'Inter', sans-serif;
// Regular
font-weight: 500;
// Bold
font-weight: 700;
Tag | Font Size | Line Height | Weight |
---|---|---|---|
H1 | 56px | 90 | 700 |
H2 | 40px | 64 | 700 |
H3 | 28px | 45 | 700 |
H4 | 20px | 32 | 700 |
P | 14px | 22 | 500 - 700 |
P (small) | 12px | 22 | 500 - 700 |
This is an approximation. On some circumstances other values will be used to ensure readability, consistency and visual balance, so make sure to also check the UI Design and the spacing used there.
If you have any doubts or concerns when developing components or other UI elements, you can open an issue and tag @ajmnz or leave a message in #design
or #kofta
in our Discord.