Skip to content

Commit

Permalink
typography: set inter as main body font
Browse files Browse the repository at this point in the history
  • Loading branch information
avivace committed May 30, 2024
1 parent 9ad4c98 commit e8e6ae8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 15 deletions.
15 changes: 15 additions & 0 deletions assets/styles/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,18 @@
src: url("/fonts/EudoxusSans-Light.woff2") format("woff2");
font-weight: 300;
}
@font-face {
font-family: "Inter";
src: url("/fonts/Inter-Light.woff2") format("woff2");
font-weight: 300;
}
@font-face {
font-family: "Inter";
src: url("/fonts/Inter-Regular.woff2") format("woff2");
font-weight: 400;
}
@font-face {
font-family: "Inter";
src: url("/fonts/Inter-Medium.woff2") format("woff2");
font-weight: 500;
}
23 changes: 8 additions & 15 deletions assets/styles/themes/dark-bs.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
--text-color-secondary: rgba(255, 255, 255, 0.6);
--primary-color: #8dd0ff;
--primary-color-text: #151515;
--font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica,
--font-family: "Inter", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica,
Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
--surface-0: #20262e;
--surface-50: #363c43;
Expand Down Expand Up @@ -50,8 +50,7 @@
}

.p-component {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-family: var(--font-family);
font-size: 1rem;
font-weight: normal;
}
Expand Down Expand Up @@ -80,8 +79,7 @@

.p-link {
font-size: 1rem;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-family: var(--font-family);
border-radius: 4px;
}
.p-link:focus {
Expand Down Expand Up @@ -253,8 +251,7 @@
.p-autocomplete-multiple-container
.p-autocomplete-input-token
input {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-family: var(--font-family);
font-size: 1rem;
color: rgba(255, 255, 255, 0.87);
padding: 0;
Expand Down Expand Up @@ -746,8 +743,7 @@
padding: 0.25rem 0;
}
.p-chips .p-chips-multiple-container .p-chips-input-token input {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-family: var(--font-family);
font-size: 1rem;
color: rgba(255, 255, 255, 0.87);
padding: 0;
Expand Down Expand Up @@ -1156,8 +1152,7 @@
}

.p-inputtext {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-family: var(--font-family);
font-size: 1rem;
color: rgba(255, 255, 255, 0.87);
background: #20262e;
Expand Down Expand Up @@ -6543,14 +6538,12 @@
}
.p-terminal .p-terminal-input {
font-size: 1rem;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-family: var(--font-family);
}

/* Vendor extensions to the designer enhanced bootstrap compatibility */
.p-breadcrumb .p-breadcrumb-chevron {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-family: var(--font-family);
}
.p-breadcrumb .p-breadcrumb-chevron:before {
content: "/";
Expand Down

0 comments on commit e8e6ae8

Please sign in to comment.