From cf8afc1ee12a51251a4795d1be6414f640f9e494 Mon Sep 17 00:00:00 2001 From: Anita Date: Sat, 4 Apr 2026 20:52:35 +0100 Subject: feat: menuBar, perfil y home rediseñados y sistema de estilos global creado MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/theme/index.ts | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 src/theme/index.ts (limited to 'src/theme/index.ts') diff --git a/src/theme/index.ts b/src/theme/index.ts new file mode 100644 index 0000000..c7fc54a --- /dev/null +++ b/src/theme/index.ts @@ -0,0 +1,76 @@ +export const theme = { + // estilos globales para las pantallas + colors: { + primary: '#1f6feb', + primaryDark: '#243b53', + primarySoft: '#e7f0ff', + + background: '#f8fafc', + surface: '#ffffff', + + text: '#13293d', + textSecondary: '#66788a', + muted: '#5a7188', + + border: '#dde3ea', + divider: '#e5e7eb', + + successBg: '#d1fae5', + successText: '#065f46', + + error: '#9f1d35', + white: '#ffffff', + }, + + spacing: { + xs: 4, + sm: 6, + md: 8, + lg: 12, + xl: 16, + xxl: 20, + xxxl: 24, + }, + + radius: { + sm: 8, + md: 10, + lg: 12, + xl: 14, + xxl: 16, + }, + + typography: { + xs: 9, + sm: 12, + md: 13, + lg: 14, + xl: 16, + xxl: 20, + xxxl: 26, + }, + + fontWeight: { + light: '200' as const, + regular: '400' as const, + medium: '500' as const, + semibold: '600' as const, + }, + + layout: { + contentWidth: 448, + tabBarHeight: 64, + }, + + shadows: { + card: { + shadowColor: '#000', + shadowOpacity: 0.05, + shadowRadius: 10, + shadowOffset: { width: 0, height: 4 }, + elevation: 2, + }, + }, +}; + +export default theme; \ No newline at end of file -- cgit v1.2.3-54-g00ecf