Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency tailwindcss to v3.4.0 #513

Merged
merged 2 commits into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"badgen": "3.2.3",
"canvas-confetti": "1.9.2",
"mini-svg-data-uri": "1.4.4",
"tailwindcss": "3.3.6",
"tailwindcss": "3.4.0",
"tailwindcss-text-fill": "0.2.0"
},
"devDependencies": {
Expand Down
32 changes: 16 additions & 16 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/Button.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export interface Props {
const { href, body } = Astro.props;
---

<a href={href} class="group mt-2 flex w-fit rounded-md border border-transparent bg-white/[10%] px-4 py-2 text-sm font-medium text-white duration-200 hover:bg-white/[15%] disabled:cursor-not-allowed disabled:opacity-50 motion-reduce:transition-none">
<a href={href} class="group mt-2 flex w-fit rounded-md border border-transparent bg-white/10 px-4 py-2 text-sm font-medium text-white duration-200 hover:bg-white/15 disabled:cursor-not-allowed disabled:opacity-50 motion-reduce:transition-none">
{body}
<svg class="ml-2 mt-[2px] h-4 w-4 duration-200 group-hover:translate-x-1 motion-reduce:transition-none motion-reduce:group-hover:translate-x-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M13 7l5 5m0 0l-5 5m5-5H6"></path>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let url = "/api/badge/example";
<Description text="Create your own badge that will count views anywhere you want!" />
<div class="relative mb-6 mt-2 flex w-full flex-col items-center gap-2 text-neutral-300 md:flex-row">
<Input id="input" placeholder="Your username" type="text" />
<button disabled="true" id="submit" class="group rounded-md border border-transparent bg-white/[10%] px-4 py-2 font-inter text-sm font-medium text-white duration-200 hover:bg-white/[15%] disabled:cursor-not-allowed disabled:opacity-50 motion-reduce:transition-none">
<button disabled="true" id="submit" class="group rounded-md border border-transparent bg-white/10 px-4 py-2 font-inter text-sm font-medium text-white duration-200 hover:bg-white/15 disabled:cursor-not-allowed disabled:opacity-50 motion-reduce:transition-none">
<span class="mt-[2px] inline-flex"
>Create
<svg class="ml-2 mt-[2px] h-4 w-4 duration-200 group-hover:translate-x-1 motion-reduce:transition-none motion-reduce:group-hover:translate-x-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M13 7l5 5m0 0l-5 5m5-5H6"> </path></svg></span
Expand Down