Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Update Font Weight Usage in Typography CSS #2717

Open
monaiuu opened this issue Dec 31, 2024 · 0 comments
Open

[TASK] Update Font Weight Usage in Typography CSS #2717

monaiuu opened this issue Dec 31, 2024 · 0 comments

Comments

@monaiuu
Copy link
Contributor

monaiuu commented Dec 31, 2024

Description

The current typography CSS includes multiple font weights that are inconsistent with the Figma design system, resulting in discrepancies between design and deployed views.

Proposed Updates:

  • Replace Black (900) with Bold (700).
  • Replace Bold (700) with Medium (500).
  • Replace Medium (500) with Regular (400).

This update aims to eliminate overly heavy text weights that cause unbalanced displays in the dApp, improving readability and creating a more polished and cohesive look.

Current CSS Code:

/* Font Family Satoshi */
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
}

@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Not Started 🕧
Development

No branches or pull requests

3 participants