Skip to content

Latest commit

Β 

History

History
89 lines (66 loc) Β· 2.41 KB

DESIGN_GUIDELINES.md

File metadata and controls

89 lines (66 loc) Β· 2.41 KB

Design Guidelines

This document aims to specify and define the rules and patterns to follow when implementing and developing new features and components for Roompy.

This is a summary. For a more extensive version, components and UI Design, visit the publically available Figma file.

Table of contents

Color scheme

  • Accent: #FD4D4D
  • Pure White: #FFFFFF

Gray shades

  • 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

Typography

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)

Web Embed

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;

Roompy typography

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

Spacing

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. Roompy spacing

Doubts and questions

If you have any doubts or concerns when developing components or other UI elements, you can open an issue and tag @rifandani or leave a message in our Discord.