diff --git a/package.json b/package.json index ba2695e..fc538d4 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,8 @@ "astro": "astro", "prepare": "husky", "lint": "oxlint --fix", - "format": "oxfmt && prettier --write '**/*.astro'", - "format:check": "oxfmt --check" + "format": "oxfmt && prettier --write \"**/*.astro\"", + "format:check": "oxfmt --check && prettier --check \"**/*.astro\"" }, "dependencies": { "@astrojs/check": "^0.9.10", diff --git a/src/components/macos/MacButton.astro b/src/components/macos/MacButton.astro index 56f61a8..26fa505 100644 --- a/src/components/macos/MacButton.astro +++ b/src/components/macos/MacButton.astro @@ -9,7 +9,7 @@ interface Props { const { href, id, class: klass = "", target, rel } = Astro.props; // One class string for every Mac-style button/link in the site. -const cls = `flex w-fit flex-row items-center gap-1 rounded-md border-2 border-black bg-white px-1.5 py-1 text-xl sm:text-2xl active:border-white active:bg-black active:text-white disabled:opacity-50 ${klass}`; +const cls = `flex w-fit flex-row items-center gap-1 rounded border-[1.5px] border-black bg-white px-2.5 py-1 text-xl shadow-[2px_2px_0_#000] transition-transform focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#0000aa] active:translate-x-0.5 active:translate-y-0.5 active:border-white active:bg-black active:text-white active:shadow-none disabled:opacity-50 sm:text-2xl ${klass}`; --- { diff --git a/src/components/macos/MenuBar.astro b/src/components/macos/MenuBar.astro index 45685b8..f1b483e 100644 --- a/src/components/macos/MenuBar.astro +++ b/src/components/macos/MenuBar.astro @@ -2,8 +2,11 @@ import { MENU_LINKS } from "../../site"; --- -