Skip to content

Commit

Permalink
simplify tailwind configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmajor committed Dec 17, 2024
1 parent 4e4912a commit 384aa19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 0 additions & 4 deletions resources/css/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@
--font-sans: Inter var, ui-sans-serif, system-ui, sans-serif;

--text-2xs: 0.7rem;

--transition-property-colors-shadow:
color, background-color, border-color,
text-decoration-color, fill, stroke, box-shadow;
}

/*
Expand Down
9 changes: 6 additions & 3 deletions resources/js/Layouts/MainMenuButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
use:inertia
{href}
class="
px-5 py-2.5 bg-white dark:bg-gray-700 shadow-lg rounded-full
text-gray-900 dark:text-white transition-colors-shadow duration-200 uppercase font-semibold tracking-wide
focus:outline-none hover:ring-3 focus:ring-3 active:ring-3 hover:ring-brand-primary/50 focus:ring-brand-primary/75 active:ring-brand-primary/100
rounded-full bg-white px-5 py-2.5 font-semibold tracking-wide
text-gray-900 uppercase shadow-lg transition-all duration-200
hover:ring-3 hover:ring-brand-primary/50
focus:ring-3 focus:ring-brand-primary/75 focus:outline-none
active:ring-3 active:ring-brand-primary/100
dark:bg-gray-700 dark:text-white
"
>
{@render children()}
Expand Down

0 comments on commit 384aa19

Please sign in to comment.