summaryrefslogtreecommitdiffstats
path: root/src/theme/index.ts
blob: c7fc54afda44249bd546efc10e1547122676447a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
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;