diff options
author | Eric Bailey <git@esb.lol> | 2024-09-18 19:35:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-18 19:35:34 -0500 |
commit | cbc7cd080889bbb8af052717d2831880ccd10475 (patch) | |
tree | 4dcd92ad101e00701479d31611735214852d32a6 /src/lib/styles.ts | |
parent | fb3be7982024aed4cf141fbe3f658d8d6b0f94f5 (diff) | |
download | voidsky-cbc7cd080889bbb8af052717d2831880ccd10475.tar.zst |
[Neue] Base (#5395)
* Add fontScale, gate it, fix some computes * Add inter, integrate * Clean up * Apply to old Text component * Use numeric weight * Cleanup * Clean up appearance settings * Global tracking * Fix regular italic variant * Refactor settings and fontScale values * Remove flags * Get rid of lower weight font usage * Remove gate from settings * Refactor appearance settings for reuse * Add neue type nux * Update defaults * Load fonts, add fallback families * Load fonts via plugin in production * Fixes * Fix for web * Nits --------- Co-authored-by: Hailey <me@haileyok.com>
Diffstat (limited to 'src/lib/styles.ts')
-rw-r--r-- | src/lib/styles.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/styles.ts b/src/lib/styles.ts index d0ea4cdc1..6a3d79611 100644 --- a/src/lib/styles.ts +++ b/src/lib/styles.ts @@ -79,13 +79,13 @@ export const s = StyleSheet.create({ // font weights fw600: {fontWeight: '600'}, - bold: {fontWeight: 'bold'}, + bold: {fontWeight: '700'}, fw500: {fontWeight: '500'}, semiBold: {fontWeight: '500'}, fw400: {fontWeight: '400'}, normal: {fontWeight: '400'}, - fw300: {fontWeight: '300'}, - light: {fontWeight: '300'}, + fw300: {fontWeight: '400'}, + light: {fontWeight: '400'}, fw200: {fontWeight: '200'}, // text decoration |