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/native.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/native.ts')
| -rw-r--r-- | tooling/tailwind/native.ts | 10 |
1 files changed, 9 insertions, 1 deletions
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; |
