From f8bc4dd9c1a70692e555f2170cd41acbf0f41851 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Sat, 23 Mar 2024 15:29:04 +0000 Subject: chore: Refactor tailwind in all apps to use the tooling package --- tooling/tailwind/web.ts | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'tooling/tailwind/web.ts') diff --git a/tooling/tailwind/web.ts b/tooling/tailwind/web.ts index 0729477a..a88268ec 100644 --- a/tooling/tailwind/web.ts +++ b/tooling/tailwind/web.ts @@ -1,4 +1,5 @@ import type { Config } from "tailwindcss"; +import typography from "@tailwindcss/typography"; import animate from "tailwindcss-animate"; import base from "./base"; @@ -7,13 +8,6 @@ export default { content: base.content, presets: [base], theme: { - container: { - center: true, - padding: "2rem", - screens: { - "2xl": "1400px", - }, - }, extend: { borderRadius: { lg: "var(--radius)", @@ -29,12 +23,21 @@ export default { from: { height: "var(--radix-accordion-content-height)" }, to: { height: "0" }, }, + "pulse-border": { + "0%, 100%": { + "box-shadow": "0 0 0 0 gray", + }, + "50%": { + "box-shadow": "0 0 0 2px gray", + }, + }, }, animation: { "accordion-down": "accordion-down 0.2s ease-out", "accordion-up": "accordion-up 0.2s ease-out", + "pulse-border": "pulse-border 1s ease-in-out infinite", }, }, }, - plugins: [animate], + plugins: [animate, typography], } satisfies Config; -- cgit v1.2.3-70-g09d2