Skip to content

Commit

Permalink
feat: Added new font to frontend in tailwind config and message compo…
Browse files Browse the repository at this point in the history
…nent and antialiazed
  • Loading branch information
AdrienHdz committed Oct 17, 2023
1 parent ab46b29 commit 970e887
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/app/messages/messages.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="border border-gray-200 w-[600px]">
<!-- Header -->
<div class="sticky flex items-center bg-slate-50 border-b border-slate-200 px-4 sm:px-6 md:px-5 h-16">
<div class="flex items-center text-xl text-indigo-500 bg-slate-50 border-b border-slate-200 px-4 sm:px-6 md:px-5 h-16">
<div class="flex items-center font-Inter text-xl text-indigo-500 bg-slate-50 border-b border-slate-200 px-4 sm:px-6 md:px-5 h-16">
Lexi, an AI assistant
</div>
</div>
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<body class="antialiased ">
<app-root></app-root>
</body>
</html>
7 changes: 7 additions & 0 deletions frontend/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
module.exports = {
content: ['./src/**/*.{html,ts}'],
theme: {
fontFamily: {
inter: ['Inter', 'sans-serif'],
'architects-daughter': ['"Architects Daughter"', 'sans-serif'],
},
fontSmoothing: {
antialiased: true
},
extend: {},
},
plugins: [],
Expand Down

0 comments on commit 970e887

Please sign in to comment.