Files
Folo/apps/mobile/tailwind.config.ts
T
Innei f947bd1d1e feat: integrate react-native-uikit-colors for improved theming and UI consistency
- Added `react-native-uikit-colors` package to enhance color management.
- Updated `tailwind.config.ts` to utilize `withUIKit` for better color integration.
- Refactored color handling in `colors.ts` and `utils.ts` to leverage the new package.
- Adjusted components to use safe area insets and improved layout in `rsshub-form.tsx`.
- Enhanced `MarkdownWeb` component with custom styles for better rendering.

This update streamlines color management and improves the overall UI experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-01-18 16:59:29 +08:00

22 lines
462 B
TypeScript

/** @type {import('tailwindcss').Config} */
import { withUIKit } from "react-native-uikit-colors/tailwind"
export default withUIKit({
darkMode: "class",
content: ["./src/**/*.{js,jsx,ts,tsx}"],
presets: [require("nativewind/preset")],
plugins: [require("@tailwindcss/typography")],
theme: {
extend: {
fontFamily: {
sn: "SN Pro",
mono: "monospace",
},
colors: {
accent: "#FF5C00",
},
},
},
})