From 7e2456b906563464c8e43867e62f07df9109bc2b Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 20 Sep 2024 17:29:58 -0500 Subject: [PATCH] [Neue] Font weights (#5442) * Align all font weights * Only load necessary fonts * Also comment out from hook --- bskyweb/templates/base.html | 12 ++++++ src/alf/atoms.ts | 9 ++-- src/alf/fonts.ts | 12 +++--- src/alf/tokens.ts | 13 ++++-- src/components/LabelingServiceCard/index.tsx | 2 +- src/components/MediaPreview.tsx | 2 +- src/components/Pills.tsx | 2 +- src/components/ProgressGuide/List.tsx | 2 +- src/components/ProgressGuide/Task.tsx | 4 +- src/components/ProgressGuide/Toast.tsx | 2 +- .../ReportDialog/SelectLabelerView.tsx | 3 +- .../dialogs/PostInteractionSettingsDialog.tsx | 4 +- .../dialogs/nuxs/NeueTypography.tsx | 2 +- .../dialogs/nuxs/TenMillion/index.tsx | 21 ++++------ src/components/moderation/ContentHider.tsx | 4 +- src/components/moderation/LabelPreference.tsx | 3 +- src/components/moderation/ScreenHider.tsx | 14 ++----- src/lib/styles.ts | 9 ++-- src/lib/themes.ts | 38 ++++++++--------- src/screens/Moderation/index.tsx | 2 +- src/screens/Profile/Header/DisplayName.tsx | 6 +-- src/screens/Signup/index.tsx | 6 +-- .../StarterPack/StarterPackLandingScreen.tsx | 35 ++++++---------- src/view/com/auth/SplashScreen.tsx | 5 +-- src/view/com/auth/SplashScreen.web.tsx | 10 ++--- src/view/com/composer/photos/Gallery.tsx | 14 +++---- src/view/com/modals/CreateOrEditList.tsx | 20 ++++----- src/view/com/modals/EditImage.tsx | 20 ++++----- src/view/com/modals/EditProfile.tsx | 22 +++++----- src/view/com/modals/InAppBrowserConsent.tsx | 15 ++++--- src/view/com/modals/UserAddRemoveLists.tsx | 12 +++--- .../ContentLanguagesSettings.tsx | 6 +-- .../lang-settings/PostLanguagesSettings.tsx | 8 ++-- src/view/com/notifications/FeedItem.tsx | 2 +- src/view/com/profile/ProfileSubpageHeader.tsx | 16 +++---- src/view/com/util/Html.tsx | 13 +++--- src/view/com/util/ViewHeader.tsx | 12 +++--- src/view/com/util/forms/Button.tsx | 29 ++++++------- src/view/com/util/forms/DropdownButton.tsx | 12 +++--- .../com/util/forms/NativeDropdown.web.tsx | 8 ++-- src/view/com/util/forms/RadioButton.tsx | 22 +++++----- src/view/com/util/forms/ToggleButton.tsx | 27 ++++++------ src/view/com/util/post-embeds/GifEmbed.tsx | 6 +-- src/view/com/util/post-embeds/index.tsx | 6 +-- src/view/screens/AccessibilitySettings.tsx | 2 +- src/view/screens/LanguageSettings.tsx | 30 ++++++------- src/view/screens/Lists.tsx | 18 ++++---- src/view/screens/ModerationModlists.tsx | 29 ++++++------- .../screens/PreferencesExternalEmbeds.tsx | 18 ++++---- src/view/screens/PreferencesFollowingFeed.tsx | 2 +- src/view/screens/PreferencesThreads.tsx | 2 +- src/view/screens/Search/Search.tsx | 18 ++++---- src/view/screens/Settings/index.tsx | 42 +++++++++---------- src/view/shell/Drawer.tsx | 26 ++++++------ src/view/shell/bottom-bar/BottomBarStyles.tsx | 4 +- src/view/shell/desktop/Feeds.tsx | 10 ++--- src/view/shell/desktop/LeftNav.tsx | 24 +++++------ web/index.html | 12 ++++++ 58 files changed, 362 insertions(+), 367 deletions(-) diff --git a/bskyweb/templates/base.html b/bskyweb/templates/base.html index b0c3c2195e..609c17c7ce 100644 --- a/bskyweb/templates/base.html +++ b/bskyweb/templates/base.html @@ -15,16 +15,22 @@ + + +