- 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>
22 lines
462 B
TypeScript
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",
|
|
},
|
|
},
|
|
},
|
|
})
|