Generate one preview image per theme, 16 in total. The dark themes must have good-looking code blocks.
Mapped onto the --dsw-alias-* semantic layer. Rules:
- The four background layers and the sidebar come straight from the palette primaries, hierarchy intact;
- Status colors success / warning / error keep each theme's official colors.
// palette → DSH semantic token overrides const themes = palettes.map((p) => ({ id: p.id, // e.g. 'tokyo-night' colorScheme: 'dark', tokens: tokensFor(p), // full --dsw-alias-* set swatches: 4, })); export default themes;
Palette source: src/palettes.mjs · Mapper: src/tokens.mjs
Message DeepSeek…↑