Files
newsui/packages/theme/package.json
T
sunzhongyi 5f65d741ed feat: responsive system, engineering infra, new components, performance
- Section: responsive prop with media query injection
- visual-weights: fontSize clamp() for responsive sizing
- variables.css: add border-radius/shadow/transition/z-index tokens
- ESLint flat config + Prettier + Changeset init
- New components: Footer, NewsSidebar, BreakingNewsBanner
- Image/Figure: loading=lazy, aspectRatio, sizes props
2026-05-21 10:04:35 +08:00

51 lines
1.2 KiB
JSON

{
"name": "newspaperui-theme",
"version": "0.1.0",
"description": "CSS variables, visual weights, and typography utilities for NewspaperUI",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./dist/style.css": "./dist/style.css",
"./variables.css": "./src/variables.css",
"./tailwind.config": "./src/tailwind.config.js"
},
"files": [
"dist",
"src/variables.css",
"src/tailwind.config.js"
],
"scripts": {
"build": "vite build",
"dev": "vite build --watch",
"lint": "tsc --noEmit",
"clean": "rm -rf dist"
},
"devDependencies": {
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0"
},
"license": "MIT",
"author": "sunzhongyi",
"repository": {
"type": "git",
"url": "https://github.com/joisun/newspaperui.git"
},
"keywords": [
"newspaper",
"typography",
"css-variables",
"theme",
"design-tokens"
],
"publishConfig": {
"access": "public"
}
}