Skip to content

Commit

Permalink
adjust button and link weights
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Jan 29, 2025
1 parent 7427b60 commit 5d892c7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs-assets/app/public/css/filament/support/support.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/support/dist/index.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/support/resources/css/components/button.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.fi-btn {
@apply relative inline-grid grid-flow-col items-center justify-center gap-1.5 rounded-lg px-3 py-2 text-sm font-semibold transition duration-75 outline-none;
@apply relative inline-grid grid-flow-col items-center justify-center gap-1.5 rounded-lg px-3 py-2 text-sm font-medium transition duration-75 outline-none;

&:not(.fi-disabled):not([disabled]) {
@apply focus-visible:ring-2;
Expand Down
8 changes: 2 additions & 6 deletions packages/support/resources/css/components/link.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.fi-link {
@apply relative inline-flex items-center justify-center gap-1.5 text-gray-700 outline-none dark:text-gray-200;
@apply relative inline-flex items-center justify-center gap-1.5 font-medium text-gray-700 outline-none dark:text-gray-200;

&:not(.fi-disabled):not([disabled]) {
@apply hover:underline focus-visible:underline;
Expand All @@ -15,7 +15,7 @@
}

& > .fi-icon {
@apply size-5 font-normal text-gray-400 dark:text-gray-500;
@apply size-5 text-gray-400 dark:text-gray-500;

&.fi-size-sm {
@apply size-4;
Expand Down Expand Up @@ -64,10 +64,6 @@
@apply font-normal;
}

&.fi-font-medium {
@apply font-medium;
}

&.fi-font-semibold {
@apply font-semibold;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/support/resources/views/components/link.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
'target' => null,
'tooltip' => null,
'type' => 'button',
'weight' => FontWeight::SemiBold,
'weight' => null,
])

@php
Expand Down

0 comments on commit 5d892c7

Please sign in to comment.