feat: 完成客户端联调与通用列表组件

This commit is contained in:
2026-08-01 12:17:33 +08:00
parent be7675954a
commit beb86d53e7
31 changed files with 1326 additions and 378 deletions
+3 -1
View File
@@ -2,7 +2,9 @@ import assert from 'node:assert/strict'
import { readFileSync } from 'node:fs'
import test from 'node:test'
const styles = readFileSync(new URL('./index.css', import.meta.url), 'utf8')
const styles = ['foundation.css', 'shell.css', 'index.css']
.map((file) => readFileSync(new URL(file, import.meta.url), 'utf8'))
.join('\n')
const compact = styles.replace(/\/\*[\s\S]*?\*\//g, '').replace(/\s+/g, ' ')
const mobileStyles = compact.slice(compact.indexOf('@media (max-width: 720px)'))