Files
LCUI/package.json
T
Liu 9217b1ca3a feat(styles): add light and dark theme support
- share shadcn neutral color tokens between both Tailwind configs
- rewrite Tailwind dark selectors into LCUI-compatible descendant selectors
- theme style-nova components and doc-viewer surfaces for dark mode
- generate GitHub Light and GitHub Dark syntax line pairs for code blocks
- support alpha channels in text style tag colors
- keep focus rings and scrollbars visible on dark surfaces
- use a neutral code surface instead of GitHub's blue-tinted background
2026-11-15 23:40:42 +08:00

51 lines
1.5 KiB
JSON

{
"name": "lcui",
"version": "3.0.0-alpha.0",
"description": "The C library for building user interfaces.",
"main": "index.js",
"directories": {
"doc": "docs",
"test": "test"
},
"scripts": {
"build-changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"update-changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"update-copyright": "node scripts/add-copyright.js",
"format:check": "node scripts/clang-format-changed.js",
"check-theme": "node scripts/check-theme-css.js",
"test-postcss-dark": "node --test scripts/postcss-lcui-dark.test.js",
"build-styles": "lcui build src/styles/style-nova.css --force --skip-xmake",
"doc-viewer:compile-docs": "cd examples/doc-viewer && npm run compile",
"doc-viewer:compile-tsx": "cd examples/doc-viewer && lcui build --skip-xmake",
"prepare": "husky"
},
"lint-staged": {
"**/*.{c,h}": [
"clang-format -i"
]
},
"devDependencies": {
"@thedutchcoder/postcss-rem-to-px": "^0.0.2",
"clang-format-node": "^3.0.6",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"postcss": "^8.5.28",
"tailwindcss": "^3.4.17"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lc-soft/LCUI.git"
},
"keywords": [
"C",
"gui",
"framework"
],
"author": "Liu Chao <hello@lcui.dev> (https://lcui.dev)",
"license": "MIT",
"bugs": {
"url": "https://github.com/lc-soft/LCUI/issues"
},
"homepage": "https://github.com/lc-soft/LCUI#readme"
}