mirror of
https://github.com/anultravioletaurora/Jellify.git
synced 2025-12-16 18:55:44 -06:00
* Gapless playback (#372) * Add gapless playback prefetch logic for next track * Enhance player context to support multiple track downloads and prevent redundant prefetching * Add download quality settings and integrate into track mapping and network contexts (#386) * Add Shuffle * Add Library Selection screen and navigation to account tab * player redesign featuring blurred background artwork * add repeat modes to player
41 lines
1.2 KiB
TypeScript
41 lines
1.2 KiB
TypeScript
import { fonts } from '@tamagui/config/v4'
|
|
import { createFont } from 'tamagui'
|
|
|
|
const figtreeFace = {
|
|
100: { normal: 'Figtree-Light', italic: 'Figtree Light Italic' },
|
|
200: { normal: 'Figtree-Light', italic: 'Figtree Light Italic' },
|
|
300: { normal: 'Figtree-Regular', italic: 'Figtree Italic' },
|
|
400: { normal: 'Figtree-Medium', italic: 'Figtree Medium Italic' },
|
|
500: { normal: 'Figtree-SemiBold', italic: 'Figtree SemiBold Italic' },
|
|
600: { normal: 'Figtree-Bold', italic: 'Figtree Bold Italic' },
|
|
700: { normal: 'Figtree-ExtraBold', italic: 'Figtree ExtraBold Italic' },
|
|
800: { normal: 'Figtree-Black', italic: 'Figtree Black Italic' },
|
|
900: { normal: 'Figtree-Black', italic: 'Figtree Black Italic' },
|
|
}
|
|
|
|
export const bodyFont = createFont({
|
|
family: 'Figtree',
|
|
size: fonts.body.size,
|
|
lineHeight: fonts.body.lineHeight,
|
|
weight: {
|
|
4: '300',
|
|
6: '600',
|
|
8: '900',
|
|
},
|
|
letterSpacing: fonts.body.letterSpacing,
|
|
face: figtreeFace,
|
|
})
|
|
|
|
export const headingFont = createFont({
|
|
family: 'Figtree',
|
|
size: fonts.heading.size,
|
|
lineHeight: fonts.heading.lineHeight,
|
|
weight: {
|
|
4: '300',
|
|
6: '600',
|
|
8: '900',
|
|
},
|
|
letterSpacing: fonts.heading.letterSpacing,
|
|
face: figtreeFace,
|
|
})
|