diff --git a/site/src/pages/[...framework]/examples/_Countdown/react/Component.tsx b/site/src/pages/[...framework]/examples/_Countdown/react/Component.tsx index 50e27d69..dd6747de 100644 --- a/site/src/pages/[...framework]/examples/_Countdown/react/Component.tsx +++ b/site/src/pages/[...framework]/examples/_Countdown/react/Component.tsx @@ -13,7 +13,7 @@ export default function Countdown({ seconds }: Props) {
seconds % 60)
0 ? 'bg-emerald-400' : 'bg-red-500', - '~text-base/2xl inline-flex items-center px-[0.3em] text-white transition-colors duration-300' + 'inline-flex items-center px-[0.3em] text-2xl text-white transition-colors duration-300' )} style={{ borderRadius: 999 }} layout={canAnimate} diff --git a/site/tailwind.config.ts b/site/tailwind.config.ts index 5da88b3f..5f5e063b 100644 --- a/site/tailwind.config.ts +++ b/site/tailwind.config.ts @@ -11,6 +11,9 @@ const sans = ['Inter', '_font_fallback_732902278794', 'sans-serif'] export default { presets: [reset], + future: { + hoverOnlyWhenSupported: true + }, content: { files: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], transform: {