feat: A1 短材料复现本单元理解词,并加入黑夜模式

课程内容
- 重写全部 21 个 A1 单元的听读材料,把本单元理解词织进听/读文本,
  单元内理解词复现率从约 20% 提升到约 77%(各单元 56–96%)。
- 修正 U01 房间号与机场大巴同为 thirty 的撞车(改为 17/30/40)。
- 校验器容差按级别读取(A1 为 8%),materials 覆盖率、字数、
  选项子串等校验全部通过;course_content_test 通过。

黑夜模式
- app_theme 拆分明/暗两套调色板,AppColors 随亮度切换;
  main 用 theme/darkTheme/themeMode + builder 镜像已解析亮度;
  主题偏好持久化到快照;进度页新增“外观主题”切换。

文档
- COURSE-PACK-JSON.md 更新 A1 词池覆盖(840/933)与材料复现约定。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-09-18 11:16:09 +09:00
co-authored by Claude Opus 4.8
parent 9ab08c25ef
commit febfd30f49
93 changed files with 72676 additions and 274 deletions
@@ -95,7 +95,7 @@ class _ReadingStepState extends State<_ReadingStep> {
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
const Row(
Row(
children: [
Icon(
Icons.chat_bubble_outline,
@@ -117,7 +117,7 @@ class _ReadingStepState extends State<_ReadingStep> {
onTap: () =>
VoiceService.instance.speak(widget.activity.reading),
borderRadius: BorderRadius.circular(16),
child: const Padding(
child: Padding(
padding: EdgeInsets.symmetric(
horizontal: 8,
vertical: 4,
@@ -194,7 +194,7 @@ class _ReadingStepState extends State<_ReadingStep> {
color: AppColors.green.withValues(alpha: 0.12),
borderRadius: BorderRadius.circular(6),
),
child: const Text(
child: Text(
'问题',
style: TextStyle(
color: AppColors.green,
@@ -207,7 +207,7 @@ class _ReadingStepState extends State<_ReadingStep> {
Expanded(
child: Text(
widget.activity.readingQuestion,
style: const TextStyle(
style: TextStyle(
fontSize: 15,
fontWeight: FontWeight.w600,
color: AppColors.ink,
@@ -279,7 +279,7 @@ class _ReadingStepState extends State<_ReadingStep> {
color: AppColors.green.withValues(alpha: 0.3),
),
),
child: const Row(
child: Row(
children: [
Icon(Icons.check_circle, color: AppColors.green, size: 20),
SizedBox(width: 8),
@@ -309,7 +309,7 @@ class _ReadingStepState extends State<_ReadingStep> {
color: AppColors.warmInk.withValues(alpha: 0.2),
),
),
child: const Row(
child: Row(
children: [
Icon(
Icons.help_outline,
@@ -333,7 +333,7 @@ class _ReadingStepState extends State<_ReadingStep> {
TextField(
controller: controller,
onChanged: (_) => setState(() {}),
decoration: const InputDecoration(
decoration: InputDecoration(
hintText: '用英文输入答案',
filled: true,
fillColor: AppColors.surface,
@@ -346,7 +346,7 @@ class _ReadingStepState extends State<_ReadingStep> {
tint: AppColors.warm,
child: Text(
'答案:${widget.activity.readingAnswer}',
style: const TextStyle(color: AppColors.warmInk),
style: TextStyle(color: AppColors.warmInk),
),
),
if (!showAnswer &&