Skip to content

Commit

Permalink
💄 Update font weight 💄
Browse files Browse the repository at this point in the history
  • Loading branch information
Aszurar committed Jan 16, 2024
1 parent d95ed21 commit 66540a5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/Logo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function Logo() {
>
<FiDollarSign className="text-7 text-white" />
</div>
<h1 className="text-2xl font-bold text-white">dt money</h1>
<h1 className="text-2xl font-medium text-white">dt money</h1>
</div>
)
}
8 changes: 4 additions & 4 deletions src/components/Select/SelectItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ type SelectItemProps = Select.SelectItemProps & {
export function SelectItem({ text, ...rest }: SelectItemProps) {
return (
<Select.Item
className={`flex items-center justify-between px-5 py-4 font-semibold
text-gray-700 focus:ring-2 focus:ring-purple-200
data-[highlighted]:bg-purple-50
className={`flex items-center justify-between px-5 py-4 font-medium
text-gray-700 data-[highlighted]:bg-purple-50 focus:ring-2
focus:ring-purple-200
dark:text-white dark:data-[highlighted]:bg-zinc-800`}
{...rest}
>
<Select.ItemText>{text}</Select.ItemText>
<Select.ItemIndicator>
<FiCheck className="text-base text-purple-300" />
<FiCheck className="text-base text-purple-300 dark:text-purple-200" />
</Select.ItemIndicator>
</Select.Item>
)
Expand Down
8 changes: 4 additions & 4 deletions src/components/Select/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const select = tv({
icon: '',
},
filled: {
trigger: 'bg-white dark:bg-zinc-950',
trigger: 'bg-white font-medium dark:bg-zinc-950',
icon: 'text-purple-300 dark:text-purple-200',
},
},
Expand Down Expand Up @@ -54,8 +54,8 @@ export function Select({
<SelectPrimitive.Value placeholder={placeholder} />

<SelectPrimitive.Icon
className={`text-gray-500 group-data-[state=open]:text-purple-400
dark:text-gray-400 dark:group-data-[state=open]:text-purple-300`}
className={`text-gray-500 group-data-[state=open]:text-purple-300
dark:text-gray-400 dark:group-data-[state=open]:text-purple-200`}
>
<FiChevronDown className={icon()} />
</SelectPrimitive.Icon>
Expand All @@ -69,7 +69,7 @@ export function Select({
className={`z-10 w-[--radix-select-trigger-width] overflow-hidden
rounded-md border border-purple-300 bg-white shadow-md ring-2
ring-purple-300 drop-shadow-md
dark:bg-zinc-950`}
dark:bg-zinc-950 dark:ring-purple-200`}
>
<SelectPrimitive.Viewport>{children}</SelectPrimitive.Viewport>
</SelectPrimitive.Content>
Expand Down

0 comments on commit 66540a5

Please sign in to comment.