diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml index efc4097e..b7438d7f 100644 --- a/.github/workflows/lighthouse.yml +++ b/.github/workflows/lighthouse.yml @@ -47,7 +47,7 @@ jobs: - run: pnpm run preview & npx wait-on http://localhost:4321 - name: Run Lighthouse id: lighthouse_audit - uses: treosh/lighthouse-ci-action@v10 + uses: treosh/lighthouse-ci-action@v11 with: urls: | http://localhost:4321 diff --git a/.github/workflows/lighthouse/lighthouserc.json b/.github/workflows/lighthouse/lighthouserc.json index 9a83c12b..0bf2415c 100644 --- a/.github/workflows/lighthouse/lighthouserc.json +++ b/.github/workflows/lighthouse/lighthouserc.json @@ -4,6 +4,11 @@ "settings": { "configPath": "./.github/workflows/lighthouse/lighthouse-config.cjs" } + }, + "assert": { + "assertions": { + "categories:accessibility": ["error", {"minScore": 1}] + } } } } \ No newline at end of file diff --git a/tailwind.config.cjs b/tailwind.config.cjs index e3a68e6b..85fb44b9 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -3,6 +3,16 @@ module.exports = { content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"], plugins: [require("@tailwindcss/typography"), require("daisyui")], daisyui: { - themes: ["dark"], + themes: [ + { + hedwig: { + ...require("daisyui/src/theming/themes")["dark"], + "primary": "#000000", + "secondary": "#FFF", + "neutral": "#FFF", + "base-content": "#FFF" + }, + }, + ], }, };