mirror of
https://github.com/jeffvli/feishin.git
synced 2024-11-20 14:37:06 +01:00
Add Inter font style
This commit is contained in:
parent
179129b7cb
commit
b8dfbf9d49
@ -11,6 +11,7 @@ const localSettings = isElectron() ? window.electron.localSettings : null;
|
||||
const FONT_OPTIONS = [
|
||||
{ label: 'Archivo', value: 'Archivo' },
|
||||
{ label: 'Fredoka', value: 'Fredoka' },
|
||||
{ label: 'Inter', value: 'Inter' },
|
||||
{ label: 'League Spartan', value: 'League Spartan' },
|
||||
{ label: 'Lexend', value: 'Lexend' },
|
||||
{ label: 'Poppins', value: 'Poppins' },
|
||||
|
BIN
src/renderer/fonts/Inter-VariableFont_slnt,wght.ttf
Normal file
BIN
src/renderer/fonts/Inter-VariableFont_slnt,wght.ttf
Normal file
Binary file not shown.
@ -186,7 +186,7 @@ const initialState: SettingsState = {
|
||||
general: {
|
||||
defaultFullPlaylist: true,
|
||||
followSystemTheme: false,
|
||||
fontContent: 'Poppins',
|
||||
fontContent: 'Inter',
|
||||
playButtonBehavior: Play.NOW,
|
||||
resume: false,
|
||||
showQueueDrawerButton: false,
|
||||
|
@ -26,3 +26,8 @@ export const fontEpilogue = (weight?: number) => css`
|
||||
font-weight: ${weight || 400};
|
||||
font-family: Epilogue, sans-serif;
|
||||
`;
|
||||
|
||||
export const fontRoboto = (weight?: number) => css`
|
||||
font-weight: ${weight || 400};
|
||||
font-family: Roboto, sans-serif;
|
||||
`;
|
||||
|
@ -142,6 +142,12 @@ button {
|
||||
font-weight: 100 1000;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Inter';
|
||||
src: url('../fonts/Inter-VariableFont_slnt,wght.ttf') format('truetype-variations');
|
||||
font-weight: 100 1000;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Sora';
|
||||
src: url('../fonts/Sora-VariableFont_wght.ttf') format('truetype-variations');
|
||||
|
Loading…
Reference in New Issue
Block a user