feat: Integrate NativeWind for styling and implement theme management with Zustand
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
const { colors } = require('./src/core/colors');
|
||||
|
||||
module.exports = {
|
||||
content: [
|
||||
"./App.tsx",
|
||||
"./app/**/*.{js,jsx,ts,tsx}",
|
||||
"./src/**/*.{js,jsx,ts,tsx}",
|
||||
],
|
||||
presets: [require("nativewind/preset")],
|
||||
darkMode: 'class',
|
||||
theme: {
|
||||
extend: {
|
||||
colors,
|
||||
fontFamily: {
|
||||
sans: ["System", "sans-serif"],
|
||||
},
|
||||
spacing: {
|
||||
"safe-top": "env(safe-area-inset-top)",
|
||||
"safe-bottom": "env(safe-area-inset-bottom)",
|
||||
},
|
||||
borderRadius: {
|
||||
"xl": "12px",
|
||||
"2xl": "16px",
|
||||
"3xl": "24px",
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user