diff --git a/app/.starlight-template b/app/.starlight-template index 5f93c1c..a654f34 100644 --- a/app/.starlight-template +++ b/app/.starlight-template @@ -1 +1 @@ -18ba3d0c1fdcd7e22275b2558e904844121bf78f +3b671e6059eb3bbf942984ad565bcf7d7f30b7d3 diff --git a/app/app/src/styles/tailwind.css b/app/app/src/styles/tailwind.css index 0b8ffbd..a735174 100644 --- a/app/app/src/styles/tailwind.css +++ b/app/app/src/styles/tailwind.css @@ -1,12 +1,14 @@ -@import "tailwindcss"; -/* If you'd like to disable Preflight, use this instead: -@layer theme, base, components, utilities; -@import "tailwindcss/theme.css" layer(theme); -@import "tailwindcss/utilities.css" layer(utilities); -*/ +@layer base, starlight, theme, components, utilities; -/* If you'd like to use a legacy configuration file, add this: -@config "../../tailwind.config.mjs"; +/* Starlight's Tailwind compatibility package. +See the documentation for more information: +https://starlight.astro.build/guides/css-and-tailwind/#tailwind-css */ +@import '@astrojs/starlight-tailwind'; + +/* Tailwind CSS without Preflight. */ +@import "tailwindcss/theme.css" layer(theme); +@import "tailwindcss/utilities.css" layer(utilities); +/* Iconify Plugin for Tailwind CSS. */ @plugin "@iconify/tailwind4"; diff --git a/app/app/tailwind.config.mjs b/app/app/tailwind.config.mjs deleted file mode 100644 index d2c24ab..0000000 --- a/app/app/tailwind.config.mjs +++ /dev/null @@ -1,14 +0,0 @@ -import starlightPlugin from '@astrojs/starlight-tailwind' - -/** @type {import('tailwindcss').Config} */ -export default { - content: [ - './src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}', - ], - theme: { - extend: {}, - }, - plugins: [ - starlightPlugin(), - ], -}