internationalscholarsprogram commited on
Commit
0f1a3cd
·
verified ·
1 Parent(s): bf128d0

fix: unify colors to docx source of truth — theme.py

Browse files
Files changed (1) hide show
  1. app/core/theme.py +8 -9
app/core/theme.py CHANGED
@@ -18,17 +18,17 @@ from dataclasses import dataclass, field
18
  class Colors:
19
  """Every colour used in the handbook, named by purpose."""
20
 
21
- heading_blue: str = "#1C75BC"
22
- heading_green: str = "#1A9970"
23
  body_text: str = "#000000"
24
  toc_text: str = "#111111"
25
  note_red: str = "#C00000"
26
- link_blue: str = "#1C75BC"
27
  benefits_header_bg: str = "#00F600"
28
  benefits_header_fg: str = "#FFFFFF"
29
  benefit_item_bg: str = "#00FCFC"
30
  benefit_item_fg: str = "#000000"
31
- school_info_green: str = "#1A9970"
32
  table_border: str = "#333333"
33
  table_header_bg: str = "#E6E6E6"
34
  table_header_fg: str = "#333333"
@@ -96,11 +96,10 @@ class Spacing:
96
  class ProgramTableColumns:
97
  """Fixed widths for the 5-column programs table."""
98
 
99
- program: str = "22%"
100
- designation: str = "14%"
101
- entrance_exam: str = "12%"
102
- career_pathways: str = "34%"
103
- funding: str = "18%"
104
 
105
 
106
  # ── Bullet characters ──────────────────────────────────────────
 
18
  class Colors:
19
  """Every colour used in the handbook, named by purpose."""
20
 
21
+ heading_blue: str = "#0263A3"
22
+ heading_green: str = "#199970"
23
  body_text: str = "#000000"
24
  toc_text: str = "#111111"
25
  note_red: str = "#C00000"
26
+ link_blue: str = "#0263A3"
27
  benefits_header_bg: str = "#00F600"
28
  benefits_header_fg: str = "#FFFFFF"
29
  benefit_item_bg: str = "#00FCFC"
30
  benefit_item_fg: str = "#000000"
31
+ school_info_green: str = "#199970"
32
  table_border: str = "#333333"
33
  table_header_bg: str = "#E6E6E6"
34
  table_header_fg: str = "#333333"
 
96
  class ProgramTableColumns:
97
  """Fixed widths for the 5-column programs table."""
98
 
99
+ program: str = "30%"
100
+ designation: str = "20%"
101
+ entrance_exam: str = "20%"
102
+ funding: str = "30%"
 
103
 
104
 
105
  # ── Bullet characters ──────────────────────────────────────────