Files
quiver-launcher/packages/ui/package.json
T
Thomas Georgiadis 70159837d6 Share design tokens and basic controls from the ui package (#400)
tokens.css in @quiverlauncher/ui now holds the colour roles (dark and
light) and the type, spacing, corner and shadow scales. The launcher's
base.css takes the roles from it and keeps only its own extra colours,
so every existing variable name still works.

controls.css and controls.tsx add Button (main, neutral, text, danger,
with busy and disabled states), Field, Panel and Dialog on those tokens.
Settings is the first screen to use them: its buttons, its selects with
the label above, and the two questions about moving apps.

Visible changes: dark panels go from #1a202a to #131922 and borders from
#292f38 to #262d36. In Settings, selects are 36px tall under their
label, the move-apps questions have Cancel on the left and the main
button on the right, and "Move into default" is a neutral button.
2026-11-15 11:10:20 +11:00

58 lines
1.6 KiB
JSON

{
"name": "@quiverlauncher/ui",
"version": "0.1.0",
"private": true,
"description": "Catalog components and styles shared by Quiver Launcher and quiverlauncher.com",
"license": "UNLICENSED",
"type": "module",
"main": "src/index.tsx",
"exports": {
".": "./src/index.tsx",
"./markdown": "./src/markdown.tsx",
"./discover": "./src/discover.tsx",
"./featured": "./src/featured.ts",
"./controls": "./src/controls.tsx",
"./tokens.css": "./src/tokens.css",
"./controls.css": "./src/controls.css",
"./catalog.css": "./src/catalog.css",
"./fonts.css": "./src/fonts.css"
},
"sideEffects": [
"*.css"
],
"scripts": {
"typecheck": "tsc -p .",
"test": "vitest run"
},
"dependencies": {
"@fontsource-variable/inter": "^5.3.0",
"@lingui/core": "6.10.1",
"@quiverlauncher/api": "workspace:^",
"@quiverlauncher/i18n": "workspace:^",
"react-markdown": "^10.1.0",
"rehype-raw": "^7.0.0",
"rehype-sanitize": "^6.0.0",
"remark-gfm": "^4.0.1"
},
"peerDependencies": {
"lucide-react": ">=0.468.0 <2",
"react": "^19.2.0",
"react-icons": "^5.7.0"
},
"devDependencies": {
"@lingui/babel-plugin-lingui-macro": "6.10.1",
"@lingui/conf": "6.10.1",
"@testing-library/react": "^16.3.3",
"@types/node": "^26.6.5",
"@types/react": "^19.2.0",
"@vitejs/plugin-react": "^5.2.0",
"jsdom": "^30.1.1",
"lucide-react": "^0.468.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-icons": "^5.7.0",
"typescript": "~5.9.3",
"vitest": "^3.2.0"
}
}