feat: 拼音字母选择

This commit is contained in:
R524809
2026-05-19 18:24:43 +08:00
parent 39b8e01c23
commit b70e54d6b0
40 changed files with 1197 additions and 759 deletions
@@ -1,4 +1,5 @@
import { ALPHABET_BY_LETTER, LETTERS_UPPER } from '../../shared/data/alphabet';
import { TRACING_COLORS } from '../../../core/data/tracingStyles';
/** 字母描红的布局模式(与产品文档六类练习一致) */
export type LetterTracingMode =
@@ -227,8 +228,8 @@ function overviewRowsFrom(letters: string[]): string[][] {
];
}
const _COLOR_BLACK = '#1a1a1a';
const _COLOR_LIGHT_RED = '#FF8E8E';
const _COLOR_BLACK = TRACING_COLORS.strong;
const _COLOR_LIGHT_RED = TRACING_COLORS.guide;
/** 构建 6 slot 的单行字母数据:前 4 格有字母(颜色递进),后 2 格空白 */
function buildSingleLineCells(L: string): (SingleLineCell | null)[] {