diff options
| author | MohamedBassem <me@mbassem.com> | 2024-03-23 15:29:04 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-03-23 16:43:35 +0000 |
| commit | f8bc4dd9c1a70692e555f2170cd41acbf0f41851 (patch) | |
| tree | c962a755d67d6d22fff5ad41dfbafe306fd0a286 /tooling/tailwind/web.ts | |
| parent | 47bd449fbe50a7b423db860ee6a34a7a3f7c3bb4 (diff) | |
| download | karakeep-f8bc4dd9c1a70692e555f2170cd41acbf0f41851.tar.zst | |
chore: Refactor tailwind in all apps to use the tooling package
Diffstat (limited to 'tooling/tailwind/web.ts')
| -rw-r--r-- | tooling/tailwind/web.ts | 19 |
1 files changed, 11 insertions, 8 deletions
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; |
