Skip to content

Commit

Permalink
Cleaned up fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
dpigera committed Jan 13, 2025
1 parent 8ce94da commit 7a2a0fd
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion app/components/user-profile-popup.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
<div>
<div class="font-bold">{{@user.name}}</div>
<div class="text-sm text-gray-500">ChatGenius User</div>
<div class="text-base text-gray-500">ChatGenius User</div>
</div>
</div>
<button
Expand Down
16 changes: 8 additions & 8 deletions app/templates/dashboard.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@

{{!-- Direct Messages Section --}}
<div>
<h2 class="text-sm font-semibold text-purple-200 mb-2">Direct Messages</h2>
<h2 class="text-base font-semibold text-purple-200 mb-2">Direct Messages</h2>
{{#if this.directMessages}}
<div class="space-y-1">
{{#each this.directMessages as |user|}}
Expand Down Expand Up @@ -215,13 +215,13 @@
<div class="flex-1">
<div class="flex items-baseline">
<span class="font-bold">{{message.expand.user.name}}</span>
<span class="ml-2 text-sm text-gray-400">{{relative-time message.created}}</span>
<span class="ml-2 text-base text-gray-400">{{relative-time message.created}}</span>
</div>
<p class="mt-1">{{message.body}}</p>

{{#if message.file}}
<div class="mt-2 border border-gray-200 rounded-lg p-3">
<div class="text-sm text-gray-600 mb-2">{{message.file}}</div>
<div class="text-base text-gray-600 mb-2">{{message.file}}</div>
{{#if (is-image message.file)}}
<div class="space-y-2">
<img src={{message.file}} alt={{message.file}} class="max-h-32 rounded-lg">
Expand All @@ -248,7 +248,7 @@
{{!-- <button class="text-gray-400 hover:text-red-500">❤️</button> --}}
<span>
<button
class="text-sm {{if (eq this.selectedMessage.id message.id) 'text-purple-800 font-medium' 'text-purple-600'}} hover:underline"
class="text-base {{if (eq this.selectedMessage.id message.id) 'text-purple-800 font-medium' 'text-purple-600'}} hover:underline"
{{on "click" (fn this.showThread message)}}
>
{{#if (eq message.replyCount 0)}}
Expand All @@ -262,11 +262,11 @@
{{/if}}
</button>
</span>
<span class="text-sm text-purple-600">•</span>
<span class="text-base text-purple-600">•</span>
{{!-- Quick Reactions --}}
<div class="relative">
<button
class="text-sm text-purple-600 font-medium hover:text-purple-800"
class="text-base text-purple-600 font-medium hover:text-purple-800"
{{on "click" (fn (mut this.activeReactionMessageId) message.id)}}
>
React
Expand Down Expand Up @@ -607,7 +607,7 @@
<label class="mb-2 text-black text-base">Select Users</label>
<select
multiple
class="w-full px-3 py-3 border border-gray-200 rounded-lg focus:outline-none focus:border-purple-500/50 focus:ring-1 focus:ring-purple-500/50 text-sm [&>option:checked]:bg-purple-500 [&>option:checked]:text-white [&>option]:cursor-pointer"
class="w-full px-3 py-3 border border-gray-200 rounded-lg focus:outline-none focus:border-purple-500/50 focus:ring-1 focus:ring-purple-500/50 text-base [&>option:checked]:bg-purple-500 [&>option:checked]:text-white [&>option]:cursor-pointer"
{{on "change" this.updateSelectedUsers}}
>
{{#each this.users as |user|}}
Expand Down Expand Up @@ -648,7 +648,7 @@
<label class="mb-2 text-black text-base">Select Users</label>
<select
multiple
class="w-full px-3 py-3 border border-gray-200 rounded-lg focus:outline-none focus:border-purple-500/50 focus:ring-1 focus:ring-purple-500/50 text-sm [&>option:checked]:bg-purple-500 [&>option:checked]:text-white [&>option]:cursor-pointer"
class="w-full px-3 py-3 border border-gray-200 rounded-lg focus:outline-none focus:border-purple-500/50 focus:ring-1 focus:ring-purple-500/50 text-base [&>option:checked]:bg-purple-500 [&>option:checked]:text-white [&>option]:cursor-pointer"
{{on "change" this.updateSelectedDMUsers}}
>
{{#each this.users as |user|}}
Expand Down
6 changes: 3 additions & 3 deletions app/templates/login.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<form class="space-y-6" {{on "submit" this.signIn}}>
<div>
<label for="email" class="block text-sm font-medium text-gray-700 mb-1">
<label for="email" class="block text-base font-medium text-gray-700 mb-1">
Email Address
</label>
<input
Expand All @@ -27,7 +27,7 @@
</div>

<div>
<label for="password" class="block text-sm font-medium text-gray-700 mb-1">
<label for="password" class="block text-base font-medium text-gray-700 mb-1">
Password
</label>
<input
Expand All @@ -52,7 +52,7 @@
<div class="mt-6">
<LinkTo
@route="signup"
class="w-full flex justify-center py-2 px-4 text-sm font-medium text-purple-600 hover:text-purple-500"
class="w-full flex justify-center py-2 px-4 text-base font-medium text-purple-600 hover:text-purple-500"
>
New User? Sign up for account
</LinkTo>
Expand Down
14 changes: 7 additions & 7 deletions app/templates/signup.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{{!-- Row 1: First Name and Last Name --}}
<div class="grid grid-cols-2 gap-4">
<div>
<label for="firstName" class="block text-sm font-medium text-gray-700">
<label for="firstName" class="block text-base font-medium text-gray-700">
First Name
</label>
<div class="mt-1">
Expand All @@ -26,7 +26,7 @@
</div>
</div>
<div>
<label for="lastName" class="block text-sm font-medium text-gray-700">
<label for="lastName" class="block text-base font-medium text-gray-700">
Last Name
</label>
<div class="mt-1">
Expand All @@ -44,7 +44,7 @@

{{!-- Row 2: Email --}}
<div>
<label for="email" class="block text-sm font-medium text-gray-700">
<label for="email" class="block text-base font-medium text-gray-700">
Email address
</label>
<div class="mt-1">
Expand All @@ -61,7 +61,7 @@

{{!-- Row 3: Password --}}
<div>
<label for="password" class="block text-sm font-medium text-gray-700">
<label for="password" class="block text-base font-medium text-gray-700">
Password
</label>
<div class="mt-1">
Expand All @@ -77,7 +77,7 @@
</div>

{{#if this.errorMessage}}
<div class="text-red-600 text-sm">
<div class="text-red-600 text-base">
{{this.errorMessage}}
</div>
{{/if}}
Expand All @@ -86,7 +86,7 @@
<div>
<button
type="submit"
class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-purple-600 hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500"
class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-base font-medium text-white bg-purple-600 hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500"
disabled={{this.isLoading}}
>
{{if this.isLoading "Creating account..." "Sign up"}}
Expand All @@ -97,7 +97,7 @@
<div class="mt-6">
<LinkTo
@route="login"
class="w-full flex justify-center py-2 px-4 text-sm font-medium text-purple-600 hover:text-purple-500"
class="w-full flex justify-center py-2 px-4 text-base font-medium text-purple-600 hover:text-purple-500"
>
Already have an account? Sign in
</LinkTo>
Expand Down

0 comments on commit 7a2a0fd

Please sign in to comment.