mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-11-28 11:32:24 +08:00
Names follow shadcn/ui where it has one (background, muted, sidebar-*, accent, primary, secondary, border, ...) plus selected, highlight and inverse for Galaxy, so the coming Tailwind colour codemod has meaningful targets instead of raw shades. accent is the blue-100 hover surface, selected blue-200, sidebar-accent grey-200 and headers sit on secondary, picked from side-by-side screenshots on #23702. Tests check every name resolves to a palette value and that primary, foreground and highlight still match @galaxyproject/brand-tokens.
53 lines
1.7 KiB
JSON
53 lines
1.7 KiB
JSON
{
|
|
"name": "@galaxyproject/galaxy-ui",
|
|
"version": "0.0.0-internal",
|
|
"private": true,
|
|
"description": "Galaxy base UI component library -- internal workspace package, distributed as raw source (consumers compile the SFCs with their own Vue)",
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./theme.css": "./src/styles/theme.css",
|
|
"./tokens.css": "./src/styles/tokens.css",
|
|
"./eslint": "./eslint.mjs"
|
|
},
|
|
"scripts": {
|
|
"build:tokens": "node scripts/generateTokens.mjs",
|
|
"type-check": "vue-tsc --noEmit -p tsconfig.json"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@floating-ui/dom": "^1.6.0",
|
|
"@types/markdown-it": "^14.1.2",
|
|
"dompurify": "^3.0.6",
|
|
"font-awesome-6": "npm:@fortawesome/free-solid-svg-icons@6",
|
|
"markdown-it": "^14.1.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@fortawesome/fontawesome-svg-core": "^6.2.0",
|
|
"@fortawesome/free-solid-svg-icons": "^5.15.0 || ^6.0.0",
|
|
"@fortawesome/vue-fontawesome": "^3.0.0",
|
|
"@vueuse/core": ">=10.0.0 <13.0.0",
|
|
"eslint-plugin-vuejs-accessibility": "^2.6.0",
|
|
"typescript-eslint": "^8.0.0",
|
|
"vue": "^3.4.0",
|
|
"vue-eslint-parser": "^10.0.0",
|
|
"vue-router": "^4.0.0 || ^5.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"eslint-plugin-vuejs-accessibility": {
|
|
"optional": true
|
|
},
|
|
"typescript-eslint": {
|
|
"optional": true
|
|
},
|
|
"vue-eslint-parser": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@galaxyproject/brand-tokens": "^0.1.0"
|
|
}
|
|
}
|