Skip to content

Commit

Permalink
Merge pull request #269 from Muhammed-Jasir/font
Browse files Browse the repository at this point in the history
Add Inconsolata and Parkinsans Font
  • Loading branch information
Muhammed-Rahif authored Dec 10, 2024
2 parents e415222 + b40c40e commit 4d26dad
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/assets/css/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,13 @@
font-family: 'Roboto Slab';
src: url('../../assets/fonts/RobotoSlab-VariableFont.ttf');
}

@font-face {
font-family: 'Inconsolata';
src: url('../../assets/fonts/Inconsolata-VariableFont.ttf');
}

@font-face {
font-family: 'Parkinsans';
src: url('../../assets/fonts/Parkinsans-VariableFont.ttf');
}
Binary file added src/assets/fonts/Inconsolata-VariableFont.ttf
Binary file not shown.
Binary file added src/assets/fonts/Parkinsans-VariableFont.ttf
Binary file not shown.
4 changes: 3 additions & 1 deletion src/lib/types/SettingsTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ export enum FontFamily {
Baloo2 = 'Baloo 2',
BricolageGrotesque = 'Bricolage Grotesque',
Lora = 'Lora',
RobotoSlab = 'Roboto Slab'
RobotoSlab = 'Roboto Slab',
Inconsolata = 'Inconsolata',
Parkinsans = 'Parkinsans'
}

export enum FontSize {
Expand Down

0 comments on commit 4d26dad

Please sign in to comment.