Skip to content

Commit 1380d1e

Browse files
authored
Merge pull request #1934 from session-foundation/fix-remove-loor-unused
fix: removed Loor font as unused
2 parents 00e030e + f9c4fda commit 1380d1e

File tree

4 files changed

+0
-41
lines changed

4 files changed

+0
-41
lines changed

fonts/Loor.ttf

-199 KB
Binary file not shown.

stylesheets/fonts.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,6 @@
9191
font-style: italic;
9292
}
9393

94-
/* Accented font */
95-
@font-face {
96-
font-family: Loor; /* Loor does not support some Cyrillic ghyphs so where we use it, we add a fallback to Roboto */
97-
src: url('../fonts/Loor.ttf') format('truetype');
98-
line-height: 1.4rem;
99-
}
100-
10194
/** Icon font
10295
* Current: Lucide v0.488.0
10396
* Download from https://github.com/lucide-icons/lucide/releases

ts/components/registration/SessionRegistrationView.tsx

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -22,38 +22,6 @@ const StyledFullscreenContainer = styled(Flex)`
2222

2323
const StyledSessionContent = styled(Flex)`
2424
z-index: 1;
25-
&-accent {
26-
&-text {
27-
font-family: var(--font-accent), var(--font-default);
28-
text-align: center;
29-
.title {
30-
font-size: 90px;
31-
font-weight: 700;
32-
line-height: 100px;
33-
}
34-
}
35-
}
36-
37-
&-registration {
38-
padding-inline-end: 128px;
39-
}
40-
41-
&-header {
42-
display: flex;
43-
flex-direction: row;
44-
width: 100%;
45-
justify-content: space-between;
46-
padding: 17px 20px;
47-
}
48-
49-
&-body {
50-
display: flex;
51-
flex-direction: row;
52-
flex: 1;
53-
align-items: center;
54-
width: 100%;
55-
padding-bottom: 20px;
56-
}
5725
`;
5826

5927
export const SessionRegistrationView = () => {

ts/themes/globals.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ type ThemeGlobals = {
2525
/* Typography */
2626
/* Font Families */
2727
'--font-default': string;
28-
'--font-accent': string;
2928
'--font-mono': string;
3029
'--font-icon': string;
3130

@@ -213,7 +212,6 @@ export function setSingleThemeValue(key: ThemeKeys, value: string) {
213212
// These are only set once in the global style (at root).
214213
export const THEME_GLOBALS: ThemeGlobals = {
215214
'--font-default': 'Roboto, NotoColorEmoji',
216-
'--font-accent': 'Loor',
217215
'--font-mono': 'Roboto Mono',
218216
'--font-icon': 'Lucide',
219217

0 commit comments

Comments
 (0)