refactor(assets): simplify breakpoints and update UnoCSS CLI config

- Refactor SCSS breakpoints to flat min-width values (680/960/1200/1440)
  with _bp-max helper deriving ranges from adjacent breakpoints
- Add 'xs': null to breakpoints map, remove special-case handling
- Update responsive image sizes to match exact breakpoint max values
- Add print:hidden to UnoCSS safelist as replacement for d-none-print
- Move UnoCSS CLI config to cli.entry in uno.config.ts
- Rename css:build → unocss, css:dev → unocss:watch
- Update documentation (CLAUDE.md, CONTRIBUTING.md, copilot-instructions.md)
This commit is contained in:
Cell
2026-06-27 16:28:31 +08:00
parent 279021d591
commit fb0c00e274
10 changed files with 73 additions and 63 deletions
+2 -2
View File
@@ -82,9 +82,9 @@ pnpm gen:lexers
pnpm preview
# Build UnoCSS utility classes (pre-built, committed to repo)
pnpm css:build
pnpm unocss
# Watch mode for UnoCSS (for theme developers)
pnpm css:dev
pnpm unocss:watch
```
> [!TIP]