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 | 20x 21x | import { isLR2SkinFilePath } from '../../browser/drop.ts';
import type { SkinFamily } from '../family.ts';
/**
* LR2 skin family. Theme files are identified by the `.lr2skin` extension — every LR2 theme bundle ships at least one
* (typically `select.lr2skin` + per-key-mode `play_*.lr2skin` + `decide.lr2skin` + `result.lr2skin`). The host invokes
* `@be-music/skin-lr2`'s `loadLR2ThemeSkinsFromFiles` to parse the bundle into discrete `LR2Skin` objects.
*
* The select, decide, play and result screens are `createSelectScene`, `createDecideScene`, `createPlayScene` and
* `createResultScene` with an LR2 kit. This family object exists for theme-file routing and registry lookups, not as a
* scene factory — see `skin/family.ts`'s scope note.
*/
export const lr2SkinFamily: SkinFamily = {
id: 'lr2',
label: 'LR2',
matchesThemeFile(path) {
return isLR2SkinFilePath(path);
},
};
|