Skip to content

Commit 8848eeb

Browse files
authored
🪟 🧹 Cleanup monospaced fonts (#16923)
* Remove Courier Prime and replaced monospaced font usage with Roboto Mono * Rename code font var to monospace * Revert regularFont update
1 parent 24cac8c commit 8848eeb

File tree

11 files changed

+3
-1381
lines changed

11 files changed

+3
-1381
lines changed
Binary file not shown.

airbyte-webapp/public/fonts/courierPrime/CourierPrime-Regular.svg

Lines changed: 0 additions & 1356 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.

airbyte-webapp/public/index.css

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -108,26 +108,6 @@ noscript {
108108
font-style: normal;
109109
}
110110

111-
/* Regular Courier */
112-
@font-face {
113-
font-family: "Courier Prime";
114-
src: url("/fonts/courierPrime/CourierPrime-Regular.eot"); /* IE9 Compat Modes */
115-
src: local("Roboto Mono"),
116-
url("/fonts/courierPrime/CourierPrime-Regular.eot?#iefix")
117-
format("embedded-opentype"),
118-
/* IE6-IE8 */ url("/fonts/courierPrime/CourierPrime-Regular.woff2")
119-
format("woff2"),
120-
/* Super Modern Browsers */
121-
url("/fonts/courierPrime/CourierPrime-Regular.woff") format("woff"),
122-
/* Modern Browsers */ url("/fonts/courierPrime/CourierPrime-Regular.ttf")
123-
format("truetype"),
124-
/* Safari, Android, iOS */
125-
url("/fonts/courierPrime/CourierPrime-Regular.svg#OpenSans") format("svg"); /* Legacy iOS */
126-
127-
font-weight: normal;
128-
font-style: normal;
129-
}
130-
131111
/* Roboto Medium */
132112
@font-face {
133113
font-family: "Roboto";

airbyte-webapp/src/components/JobItem/components/Logs.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const LogsView = styled.div<{ isEmpty?: boolean }>`
77
font-size: 12px;
88
line-height: 18px;
99
color: ${({ theme }) => theme.darkPrimaryColor};
10-
font-family: ${({ theme }) => theme.codeFont};
1110
word-wrap: break-word;
1211
min-height: ${({ isEmpty }) => (isEmpty ? "auto" : "400px")};
1312

airbyte-webapp/src/components/Markdown/Markdown.module.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@use "../../scss/colors";
2+
@use "../../scss/fonts";
23

34
.markdown {
45
* {
@@ -67,7 +68,7 @@
6768
code {
6869
white-space: break-spaces;
6970
background: colors.$grey-50;
70-
font-family: Menlo, Monaco, Consolas, monospace;
71+
font-family: fonts.$monospace;
7172
}
7273

7374
pre > code {

airbyte-webapp/src/scss/_fonts.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
$regularFont: Inter, Arial, sans-serif;
2-
$codeFont: Courier Prime, Arial, sans-serif;
2+
$monospace: "Roboto Mono", Menlo, Monaco, Consolas, monospace;

airbyte-webapp/src/scss/export.module.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,4 @@
118118

119119
// Fonts
120120
regularFont: fonts.$regularFont;
121-
codeFont: fonts.$codeFont;
122121
}

0 commit comments

Comments
 (0)