From d06a1caa9b32b8a4c35c5e3aa15ebbe43265a2f7 Mon Sep 17 00:00:00 2001 From: Nick Taylor Date: Wed, 15 Nov 2023 15:37:33 -0500 Subject: [PATCH] fix: removed font-medium classes as the base style for all elements is font-medium (#2146) --- components/atoms/Checkbox/checkbox.tsx | 2 +- components/atoms/Cmd/command.tsx | 4 ++-- components/atoms/Dropdown/dropdown.tsx | 2 +- components/atoms/Tabs/tabs.tsx | 2 +- components/atoms/Toast/toast.tsx | 2 +- components/molecules/Calendar/calendar.tsx | 2 +- .../contributions-evolution-card.tsx | 2 +- .../contributions-evolution-by-type-card.tsx | 2 +- .../most-active-contributors-card.tsx | 2 +- .../recommended-repo-card.tsx | 4 ++-- .../TeamMembersConfig/team-members-config.tsx | 2 +- .../RepositoriesCart/repositories-cart.tsx | 2 +- components/organisms/TopNav/top-nav.tsx | 2 +- .../organisms/UserSettingsPage/coupon-form.tsx | 2 +- .../UserSettingsPage/user-settings-page.tsx | 18 +++++++++--------- layouts/hub.tsx | 10 +++------- pages/start.tsx | 5 +---- .../treemap-prototype/contributor-node.tsx | 4 +--- .../treemap-prototype/special-node.tsx | 2 +- styles/globals.css | 2 +- 20 files changed, 32 insertions(+), 41 deletions(-) diff --git a/components/atoms/Checkbox/checkbox.tsx b/components/atoms/Checkbox/checkbox.tsx index b35548c722..67d21d5f28 100644 --- a/components/atoms/Checkbox/checkbox.tsx +++ b/components/atoms/Checkbox/checkbox.tsx @@ -29,7 +29,7 @@ const Checkbox = React.forwardRef {label} diff --git a/components/atoms/Cmd/command.tsx b/components/atoms/Cmd/command.tsx index aa2c5559fd..99795f0835 100644 --- a/components/atoms/Cmd/command.tsx +++ b/components/atoms/Cmd/command.tsx @@ -25,7 +25,7 @@ const CommandDialog = ({ children, ...props }: CommandDialogProps) => { return ( - + {children} @@ -59,7 +59,7 @@ const CommandGroup = React.forwardRef< (({ className, ...props }, ref) => (
Contributions Evolution
-
This is going to be an auto-generated insight.
+
This is going to be an auto-generated insight.
{/* buttons */}
diff --git a/components/molecules/ContributionsEvolutionByTypeCard/contributions-evolution-by-type-card.tsx b/components/molecules/ContributionsEvolutionByTypeCard/contributions-evolution-by-type-card.tsx index b451811f7d..3b510c32eb 100644 --- a/components/molecules/ContributionsEvolutionByTypeCard/contributions-evolution-by-type-card.tsx +++ b/components/molecules/ContributionsEvolutionByTypeCard/contributions-evolution-by-type-card.tsx @@ -99,7 +99,7 @@ export default function ContributionsEvolutionByType({ data = [], isLoading }: C }} >
Contributions Evolution
-
This is going to be an auto-generated insight.
+
This is going to be an auto-generated insight.
{/* chart */}
{isLoading ? "Loading the contributions evolution graph" : "The contributions evolution graph has loaded"} diff --git a/components/molecules/MostActiveContributorsCard/most-active-contributors-card.tsx b/components/molecules/MostActiveContributorsCard/most-active-contributors-card.tsx index 9237ebe3e6..903d545dfa 100644 --- a/components/molecules/MostActiveContributorsCard/most-active-contributors-card.tsx +++ b/components/molecules/MostActiveContributorsCard/most-active-contributors-card.tsx @@ -129,7 +129,7 @@ export default function MostActiveContributorsCard({ <> {topContributor && ( -
+
{topContributor.login} made {topContributorPercent} of all code contributions
)} diff --git a/components/molecules/RecommendedRepoCard/recommended-repo-card.tsx b/components/molecules/RecommendedRepoCard/recommended-repo-card.tsx index 63108d3d58..ad23ce0451 100644 --- a/components/molecules/RecommendedRepoCard/recommended-repo-card.tsx +++ b/components/molecules/RecommendedRepoCard/recommended-repo-card.tsx @@ -45,7 +45,7 @@ const RecommendedRepoCard = ({ fullName, className }: RecommendedRepoCardProps): src={getAvatarByUsername(owner)} /> - {owner} + {owner}
@@ -59,7 +59,7 @@ const RecommendedRepoCard = ({ fullName, className }: RecommendedRepoCardProps): {name} -

+

{truncateString(data.description, 100)}

diff --git a/components/molecules/TeamMembersConfig/team-members-config.tsx b/components/molecules/TeamMembersConfig/team-members-config.tsx index 28298cb45c..f9628691e4 100644 --- a/components/molecules/TeamMembersConfig/team-members-config.tsx +++ b/components/molecules/TeamMembersConfig/team-members-config.tsx @@ -62,7 +62,7 @@ const TeamMembersConfig = ({ return (
-

Add Team Members

+

Add Team Members

- + <Title className="!text-1xl !leading-none mb-4 xl:mt-10" level={4}> Repositories Added
diff --git a/components/organisms/TopNav/top-nav.tsx b/components/organisms/TopNav/top-nav.tsx index fe073e7d6e..1731b8f12f 100644 --- a/components/organisms/TopNav/top-nav.tsx +++ b/components/organisms/TopNav/top-nav.tsx @@ -34,7 +34,7 @@ const TopNav: React.FC = () => {
- + Complete the onboarding
diff --git a/components/organisms/UserSettingsPage/coupon-form.tsx b/components/organisms/UserSettingsPage/coupon-form.tsx index 8319ebe158..57273cfb0d 100644 --- a/components/organisms/UserSettingsPage/coupon-form.tsx +++ b/components/organisms/UserSettingsPage/coupon-form.tsx @@ -47,7 +47,7 @@ const CouponForm = ({ refreshUser }: CouponFormProps) => {
{
{ {/* Bio section */}
-