All files / src/theme theme.ts

100% Statements 4/4
100% Branches 0/0
100% Functions 0/0
100% Lines 4/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

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      17x 17x                               17x                           17x                          
/**
 * Central theme colors. Use useTheme() to get the active palette based on dark mode.
 */
export const BURGUNDY = "#800020";
export const BURGUNDY_BORDER = "#a03040";
 
export interface ThemeColors {
  background: string;
  surface: string;
  card: string;
  text: string;
  textSecondary: string;
  textMuted: string;
  border: string;
  primary: string;
  primaryBorder: string;
  tabBarBackground: string;
  iconDefault: string;
}
 
export const LIGHT_THEME: ThemeColors = {
  background: "#ffffff",
  surface: "#f5f5f5",
  card: "#ffffff",
  text: "#1a1a1a",
  textSecondary: "#2d2d2d",
  textMuted: "#666666",
  border: "#E0E0E0",
  primary: BURGUNDY,
  primaryBorder: BURGUNDY_BORDER,
  tabBarBackground: "rgba(255,255,255,0.98)",
  iconDefault: "#333",
};
 
export const DARK_THEME: ThemeColors = {
  background: "#121212",
  surface: "#1e1e1e",
  card: "#2d2d2d",
  text: "#f5f5f5",
  textSecondary: "#e0e0e0",
  textMuted: "#b0b0b0",
  border: "#404040",
  primary: "#c04050",
  primaryBorder: "#d05060",
  tabBarBackground: "rgba(30,30,30,0.98)",
  iconDefault: "#e0e0e0",
};