mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
1import {isAndroid} from '#/platform/detection'
2
3export const TRACKING = isAndroid ? 0.1 : 0
4
5export const color = {
6 temp_purple: 'rgb(105 0 255)',
7 temp_purple_dark: 'rgb(83 0 202)',
8} as const
9
10export const space = {
11 _2xs: 2,
12 xs: 4,
13 sm: 8,
14 md: 12,
15 lg: 16,
16 xl: 20,
17 _2xl: 24,
18 _3xl: 28,
19 _4xl: 32,
20 _5xl: 40,
21} as const
22
23export const fontSize = {
24 _2xs: 10,
25 xs: 12,
26 sm: 14,
27 md: 16,
28 lg: 18,
29 xl: 20,
30 _2xl: 22,
31 _3xl: 26,
32 _4xl: 32,
33 _5xl: 40,
34} as const
35
36export const lineHeight = {
37 none: 1,
38 normal: 1.5,
39 relaxed: 1.625,
40} as const
41
42export const borderRadius = {
43 _2xs: 2,
44 xs: 4,
45 sm: 8,
46 md: 12,
47 full: 999,
48} as const
49
50/**
51 * These correspond to Inter font files we actually load.
52 */
53export const fontWeight = {
54 normal: '400',
55 bold: '600',
56 heavy: '800',
57} as const
58
59export const gradients = {
60 primary: {
61 values: [
62 [0, '#054CFF'],
63 [0.4, '#1085FE'],
64 [0.6, '#1085FE'],
65 [1, '#59B9FF'],
66 ],
67 hover_value: '#1085FE',
68 },
69 sky: {
70 values: [
71 [0, '#0A7AFF'],
72 [1, '#59B9FF'],
73 ],
74 hover_value: '#0A7AFF',
75 },
76 midnight: {
77 values: [
78 [0, '#022C5E'],
79 [1, '#4079BC'],
80 ],
81 hover_value: '#022C5E',
82 },
83 sunrise: {
84 values: [
85 [0, '#4E90AE'],
86 [0.4, '#AEA3AB'],
87 [0.8, '#E6A98F'],
88 [1, '#F3A84C'],
89 ],
90 hover_value: '#AEA3AB',
91 },
92 sunset: {
93 values: [
94 [0, '#6772AF'],
95 [0.6, '#B88BB6'],
96 [1, '#FFA6AC'],
97 ],
98 hover_value: '#B88BB6',
99 },
100 summer: {
101 values: [
102 [0, '#FF6A56'],
103 [0.3, '#FF9156'],
104 [1, '#FFDD87'],
105 ],
106 hover_value: '#FF9156',
107 },
108 nordic: {
109 values: [
110 [0, '#083367'],
111 [1, '#9EE8C1'],
112 ],
113 hover_value: '#3A7085',
114 },
115 bonfire: {
116 values: [
117 [0, '#203E4E'],
118 [0.4, '#755B62'],
119 [0.8, '#CD7765'],
120 [1, '#EF956E'],
121 ],
122 hover_value: '#755B62',
123 },
124} as const