diff --git a/.prettierrc b/.prettierrc index 4dd7e46..477c344 100644 --- a/.prettierrc +++ b/.prettierrc @@ -8,7 +8,7 @@ "files": "*.svelte", "options": { "parser": "svelte", - "plugins": ["prettier-plugin-svelte"] + "plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"] } }, { diff --git a/package-lock.json b/package-lock.json index ced2196..10f3f6e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,8 +15,9 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-svelte": "^2.46.1", "postcss": "^8.4.49", - "prettier": "^3.3.2", + "prettier": "^3.4.2", "prettier-plugin-svelte": "^3.2.4", + "prettier-plugin-tailwindcss": "^0.6.9", "shiki": "^1.24.0", "svelte": "^5.4.0", "sveltejs-tippy": "^3.0.0", @@ -3262,6 +3263,84 @@ "svelte": "^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0" } }, + "node_modules/prettier-plugin-tailwindcss": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.6.9.tgz", + "integrity": "sha512-r0i3uhaZAXYP0At5xGfJH876W3HHGHDp+LCRUJrs57PBeQ6mYHMwr25KH8NPX44F2yGTvdnH7OqCshlQx183Eg==", + "dev": true, + "engines": { + "node": ">=14.21.3" + }, + "peerDependencies": { + "@ianvs/prettier-plugin-sort-imports": "*", + "@prettier/plugin-pug": "*", + "@shopify/prettier-plugin-liquid": "*", + "@trivago/prettier-plugin-sort-imports": "*", + "@zackad/prettier-plugin-twig-melody": "*", + "prettier": "^3.0", + "prettier-plugin-astro": "*", + "prettier-plugin-css-order": "*", + "prettier-plugin-import-sort": "*", + "prettier-plugin-jsdoc": "*", + "prettier-plugin-marko": "*", + "prettier-plugin-multiline-arrays": "*", + "prettier-plugin-organize-attributes": "*", + "prettier-plugin-organize-imports": "*", + "prettier-plugin-sort-imports": "*", + "prettier-plugin-style-order": "*", + "prettier-plugin-svelte": "*" + }, + "peerDependenciesMeta": { + "@ianvs/prettier-plugin-sort-imports": { + "optional": true + }, + "@prettier/plugin-pug": { + "optional": true + }, + "@shopify/prettier-plugin-liquid": { + "optional": true + }, + "@trivago/prettier-plugin-sort-imports": { + "optional": true + }, + "@zackad/prettier-plugin-twig-melody": { + "optional": true + }, + "prettier-plugin-astro": { + "optional": true + }, + "prettier-plugin-css-order": { + "optional": true + }, + "prettier-plugin-import-sort": { + "optional": true + }, + "prettier-plugin-jsdoc": { + "optional": true + }, + "prettier-plugin-marko": { + "optional": true + }, + "prettier-plugin-multiline-arrays": { + "optional": true + }, + "prettier-plugin-organize-attributes": { + "optional": true + }, + "prettier-plugin-organize-imports": { + "optional": true + }, + "prettier-plugin-sort-imports": { + "optional": true + }, + "prettier-plugin-style-order": { + "optional": true + }, + "prettier-plugin-svelte": { + "optional": true + } + } + }, "node_modules/property-information": { "version": "6.5.0", "resolved": "https://registry.npmjs.org/property-information/-/property-information-6.5.0.tgz", diff --git a/package.json b/package.json index 3ca9765..55ecd0e 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,9 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-svelte": "^2.46.1", "postcss": "^8.4.49", - "prettier": "^3.3.2", + "prettier": "^3.4.2", "prettier-plugin-svelte": "^3.2.4", + "prettier-plugin-tailwindcss": "^0.6.9", "shiki": "^1.24.0", "svelte": "^5.4.0", "sveltejs-tippy": "^3.0.0", diff --git a/src/App.svelte b/src/App.svelte index ede9221..d397856 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -271,7 +271,7 @@ (showErrorNotification = false)} /> {/if} -
+
Authorization Request {#if localStorage.plausible_ignore} @@ -34,10 +34,10 @@ {/if} -
+
Authorization Response @@ -42,6 +42,6 @@ {/if}
{:else} -

Nothing to see here yet

+

Nothing to see here yet

{/if}
diff --git a/src/lib/components/ChevronY.svelte b/src/lib/components/ChevronY.svelte index 1899469..90ba4cb 100644 --- a/src/lib/components/ChevronY.svelte +++ b/src/lib/components/ChevronY.svelte @@ -8,7 +8,7 @@ viewBox="0 0 24 24" stroke-width="3" stroke="currentColor" - class="w-4 h-4 mt-0.5" + class="mt-0.5 h-4 w-4" class:rotate-180={dir === 'up'} > diff --git a/src/lib/components/CopyButton.svelte b/src/lib/components/CopyButton.svelte index b98a331..13086e0 100644 --- a/src/lib/components/CopyButton.svelte +++ b/src/lib/components/CopyButton.svelte @@ -15,7 +15,7 @@ {#if dropdowns.server} @@ -27,7 +27,7 @@ ...AUTHZ_SERVERS.SERVERS, ...(showHelloExtended ? AUTHZ_SERVERS.HELLO_EXTEND_SERVERS : []) ]} -