-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGlobalStyles.ts
More file actions
134 lines (116 loc) · 2.64 KB
/
Copy pathGlobalStyles.ts
File metadata and controls
134 lines (116 loc) · 2.64 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
// import { Dimensions } from 'react-native';
// import { THEMES } from './Themes';
// export const { width: screenWidth, height: screenHeight } =
// Dimensions.get('window');
// /**
// * CLI-style typography scaling
// * Less aggressive scaling, more density.
// */
// const scaleFont = (base: number) => {
// const scale = screenWidth / 390; // slightly more conservative
// return Math.round(base * Math.min(scale, 1.15));
// };
// export const GlobalStyles = {
// wp: (percentage: number) => (screenWidth * percentage) / 100,
// hp: (percentage: number) => (screenHeight * percentage) / 100,
// /**
// * Use sans for UI labels.
// * Use mono for data / numbers / system info.
// */
// fonts: {
// sans: 'SF-Regular',
// sansMedium: 'SF-Medium',
// sansBold: 'SF-Bold',
// mono: 'SF-Mono-Regular', // use a real mono if available
// monoMedium: 'SF-Mono-Medium',
// monoBold: 'SF-Mono-Bold',
// },
// /**
// * Smaller, tighter type scale.
// * Feels more like a dashboard than a social app.
// */
// fs: {
// xs: scaleFont(11),
// sm: scaleFont(12),
// md: scaleFont(13),
// lg: scaleFont(14),
// xl: scaleFont(16),
// xxl: scaleFont(18),
// h3: scaleFont(20),
// h2: scaleFont(22),
// h1: scaleFont(24),
// },
// /**
// * Container less padded, more edge-to-edge
// */
// container: {
// paddingHorizontal: 16,
// paddingTop: 16,
// },
// /**
// * Developer grayscale ramp
// */
// colors: {
// bg: '#0b0c0f',
// surface: '#111318',
// surfaceAlt: '#161a21',
// border: '#1f242c',
// borderStrong: '#2a313b',
// textPrimary: '#e6e8eb',
// textSecondary: '#a1a7b3',
// textMuted: '#6b7280',
// success: '#22c55e',
// warning: '#f59e0b',
// danger: '#ef4444',
// accent: '#5b9cff', // muted dev blue
// },
// /**
// * Brutalist radius — minimal rounding
// */
// radius: {
// none: 0,
// xs: 2,
// sm: 4,
// md: 6,
// lg: 8,
// pill: 999,
// round: 9999,
// },
// /**
// * Slight tightening = CLI feel
// */
// letterSpacing: {
// tighter: -0.6,
// tight: -0.3,
// normal: 0,
// wide: 0.3,
// },
// /**
// * 4px spacing system — strict
// */
// space: {
// xs: 4,
// sm: 8,
// md: 12,
// lg: 16,
// xl: 24,
// },
// padding: {
// xs: 4,
// sm: 8,
// md: 12,
// lg: 16,
// xl: 24,
// },
// margin: {
// xs: 4,
// sm: 8,
// md: 12,
// lg: 16,
// xl: 24,
// },
// /**
// * Keep themes but default dark-first
// */
// themes: THEMES,
// };