- lib/api.ts (879 baris) → 13 file di lib/api/ per domain - constants/Styles.ts (1.275 baris) → 10 file di constants/styles/ per domain - tambah docs/FILE-HEALTH.md dan referensinya ke CLAUDE.md - kedua file lama tetap sebagai re-export — zero breaking changes
29 lines
1.1 KiB
TypeScript
29 lines
1.1 KiB
TypeScript
import { StyleSheet } from "react-native";
|
|
|
|
const TypographyStyles = StyleSheet.create({
|
|
textTitle: { fontSize: 32, fontWeight: 'bold', lineHeight: 32 },
|
|
textSubtitle: { fontSize: 20, fontWeight: 'bold' },
|
|
textSubtitle2: { fontSize: 20 },
|
|
textHeaderHome: { fontSize: 18, fontWeight: 'bold', flex: 1, color: 'white' },
|
|
textDefault: { fontSize: 15, lineHeight: 24 },
|
|
textDefaultSemiBold: { fontSize: 15, lineHeight: 24, fontWeight: '600' },
|
|
textMediumNormal: { fontSize: 13, lineHeight: 24 },
|
|
textMediumSemiBold: { fontSize: 13, lineHeight: 24, fontWeight: '600' },
|
|
textSmallSemiBold: { fontSize: 10, fontWeight: '600' },
|
|
textInformation: { fontSize: 12, fontWeight: 'light' },
|
|
textLink: { fontSize: 14, color: '#0a7ea4' },
|
|
textCenter: { textAlign: 'center' },
|
|
textWhite: { color: 'white' },
|
|
font16: { fontSize: 16 },
|
|
font26: { fontSize: 26 },
|
|
cError: { color: '#DB1514' },
|
|
cGray: { color: 'gray' },
|
|
cWhite: { color: 'white' },
|
|
cWhiteDimmed: { color: 'rgba(255,255,255,0.7)' },
|
|
cBlack: { color: 'black' },
|
|
cDefault: { color: '#19345E' },
|
|
cFolder: { color: '#f9cc40' },
|
|
});
|
|
|
|
export default TypographyStyles;
|