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/native.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'tooling/tailwind/native.ts') diff --git a/tooling/tailwind/native.ts b/tooling/tailwind/native.ts index 7441221e..2ecab671 100644 --- a/tooling/tailwind/native.ts +++ b/tooling/tailwind/native.ts @@ -1,9 +1,17 @@ import type { Config } from "tailwindcss"; +import { hairlineWidth } from "nativewind/theme"; import base from "./base"; export default { content: base.content, presets: [base], - theme: {}, + theme: { + extend: { + borderWidth: { + // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-assignment + hairline: hairlineWidth(), + }, + }, + }, } satisfies Config; -- cgit v1.2.3-70-g09d2