Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

Commit

Permalink
feat: Add new fonts to the application
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosPavajeau committed May 28, 2021
1 parent 5cac98c commit c52c8d2
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 20 deletions.
37 changes: 18 additions & 19 deletions Kaizen/ClientApp/src/index.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Kaizen</title>
<base href="/" />
<head>
<meta charset="utf-8"/>
<title>Kaizen</title>
<base href="/"/>

<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
</head>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="icon" type="image/x-icon" href="favicon.ico"/>
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;500&display=swap" rel="stylesheet">
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
</head>

<body class="mat-typography">
<app-root></app-root>
<script src="https://secure.mlstatic.com/sdk/javascript/v1/mercadopago.js"></script>
</body>
<body class="mat-typography">
<app-root></app-root>
<script src="https://secure.mlstatic.com/sdk/javascript/v1/mercadopago.js"></script>
</body>
</html>
3 changes: 2 additions & 1 deletion Kaizen/ClientApp/src/styles/base.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import 'typography';

* {
--yellow_sunshine: #fffb16;
Expand Down Expand Up @@ -57,7 +58,7 @@ body {

body {
margin: 0;
font-family: Roboto, "Helvetica Neue", sans-serif;
font-family: -apple-system, Ubuntu, Inter, Roboto, Helvetica Neue, sans-serif !important;
}

a {
Expand Down
8 changes: 8 additions & 0 deletions Kaizen/ClientApp/src/styles/typography.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@use '~@angular/material' as mat;

$custom-typography: mat.define-typography-config(
$font-family: '-apple-system, Ubuntu, Inter, Roboto, Helvetica Neue, sans-serif !important',
);

@include mat.all-component-typographies($custom-typography);

0 comments on commit c52c8d2

Please sign in to comment.