2019-11-12 13:27:39 +00:00
|
|
|
{
|
2021-11-03 16:40:31 +00:00
|
|
|
"name": "woodpecker-ci",
|
|
|
|
"author": "Woodpecker CI",
|
|
|
|
"version": "0.0.0",
|
|
|
|
"license": "Apache-2.0",
|
2024-06-06 13:16:59 +00:00
|
|
|
"type": "module",
|
2021-11-03 16:40:31 +00:00
|
|
|
"engines": {
|
2024-11-19 18:51:49 +00:00
|
|
|
"node": ">=20"
|
2019-11-12 13:27:39 +00:00
|
|
|
},
|
2021-11-03 16:40:31 +00:00
|
|
|
"scripts": {
|
|
|
|
"start": "vite",
|
2023-08-07 14:05:18 +00:00
|
|
|
"build": "vite build --base=/BASE_PATH",
|
2021-11-03 16:40:31 +00:00
|
|
|
"serve": "vite preview",
|
2024-06-06 13:16:59 +00:00
|
|
|
"lint": "eslint --max-warnings 0 .",
|
2023-08-03 21:11:52 +00:00
|
|
|
"format": "prettier --write .",
|
|
|
|
"format:check": "prettier -c .",
|
2021-11-03 16:40:31 +00:00
|
|
|
"typecheck": "vue-tsc --noEmit",
|
2024-04-29 19:33:45 +00:00
|
|
|
"test": "vitest"
|
2019-11-12 13:27:39 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-12-24 08:52:28 +00:00
|
|
|
"@kyvg/vue3-notification": "^3.4.1",
|
2024-07-17 15:13:56 +00:00
|
|
|
"@mdi/js": "^7.4.47",
|
2024-12-24 08:52:28 +00:00
|
|
|
"@vueuse/core": "^12.2.0",
|
2024-01-20 17:27:36 +00:00
|
|
|
"ansi_up": "^6.0.2",
|
2024-12-24 08:52:28 +00:00
|
|
|
"dompurify": "^3.2.3",
|
2023-10-28 19:31:34 +00:00
|
|
|
"fuse.js": "^7.0.0",
|
2024-06-06 13:16:59 +00:00
|
|
|
"js-base64": "^3.7.7",
|
2022-08-09 12:13:32 +00:00
|
|
|
"lodash": "^4.17.21",
|
2024-12-24 08:52:28 +00:00
|
|
|
"marked": "^15.0.4",
|
|
|
|
"node-emoji": "^2.2.0",
|
|
|
|
"pinia": "^2.3.0",
|
2022-09-27 09:05:00 +00:00
|
|
|
"prismjs": "^1.29.0",
|
2024-10-05 05:14:16 +00:00
|
|
|
"semver": "^7.6.3",
|
2024-12-24 08:52:28 +00:00
|
|
|
"simple-icons": "^13.21.0",
|
|
|
|
"vue": "^3.5.13",
|
|
|
|
"vue-i18n": "^10.0.5",
|
|
|
|
"vue-router": "^4.5.0"
|
2019-11-12 13:27:39 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-12-24 08:52:28 +00:00
|
|
|
"@antfu/eslint-config": "^3.12.1",
|
|
|
|
"@eslint/js": "^9.17.0",
|
|
|
|
"@ianvs/prettier-plugin-sort-imports": "^4.4.0",
|
|
|
|
"@intlify/eslint-plugin-vue-i18n": "3.2.0",
|
|
|
|
"@intlify/unplugin-vue-i18n": "^6.0.2",
|
2024-06-06 13:16:59 +00:00
|
|
|
"@types/eslint__js": "^8.42.3",
|
2024-12-24 08:52:28 +00:00
|
|
|
"@types/lodash": "^4.17.13",
|
|
|
|
"@types/node": "^22.10.2",
|
|
|
|
"@types/prismjs": "^1.26.5",
|
2024-06-06 13:16:59 +00:00
|
|
|
"@types/semver": "^7.5.8",
|
|
|
|
"@types/tinycolor2": "^1.4.6",
|
2024-12-24 08:52:28 +00:00
|
|
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
|
|
"@vue/compiler-sfc": "^3.5.13",
|
2024-06-06 13:16:59 +00:00
|
|
|
"@vue/test-utils": "^2.4.6",
|
2024-12-24 08:52:28 +00:00
|
|
|
"eslint": "^9.17.0",
|
|
|
|
"eslint-plugin-promise": "^7.2.1",
|
|
|
|
"eslint-plugin-vue-scoped-css": "^2.9.0",
|
|
|
|
"jsdom": "^25.0.1",
|
|
|
|
"prettier": "^3.4.2",
|
Use consistent woodpecker color scheme (#2003)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/1079
What do you think about using a consistent `woodpecker` color scheme?
Right now, the `lime` color scheme from windicss is used that does not
really fit the primary color used for the documentation website. I have
used the primary color `#4CAF50` from the docs and created a color
palette with https://palettte.app/:
<details>
<summary>JSON source</summary>
```Json
[
{
"paletteName": "New Palette",
"swatches": [
{
"name": "New Swatch",
"color": "166E30"
},
{
"name": "New Swatch",
"color": "248438"
},
{
"name": "New Swatch",
"color": "369943"
},
{
"name": "New Swatch",
"color": "4CAF50"
},
{
"name": "New Swatch",
"color": "68C464"
},
{
"name": "New Swatch",
"color": "8AD97F"
}
]
}
]
```
</details>
![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/a254f1e0-ce17-43a9-9e8b-72252296fd6f)
I have added this color scheme to the windicss config and replaced the
use of `lime` in the UI. While `woodpecker-300` would be the primary
color that is used for the docs, I currently use `woodpecke-400` as
primary color for the UI to fix some contrast issues.
![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/7bf751e1-f2a6-481c-bee7-a27d27cf8adb)
![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/e5673dc7-81c1-4fd4-bef9-14494bc5aa27)
What do you think? If you would like to stay with the current colors,
that's fine for me, I can just use the custom CSS feature in this case.
---------
Co-authored-by: 6543 <6543@obermui.de>
2023-08-02 07:09:12 +00:00
|
|
|
"tinycolor2": "^1.6.0",
|
2024-12-24 08:52:28 +00:00
|
|
|
"typescript": "5.7.2",
|
|
|
|
"vite": "^6.0.5",
|
2024-01-25 06:25:15 +00:00
|
|
|
"vite-plugin-prismjs": "^0.0.11",
|
2024-12-24 08:52:28 +00:00
|
|
|
"vite-plugin-windicss": "^1.9.4",
|
2024-01-20 17:27:36 +00:00
|
|
|
"vite-svg-loader": "^5.1.0",
|
2024-12-24 08:52:28 +00:00
|
|
|
"vitest": "^2.1.8",
|
|
|
|
"vue-tsc": "^2.2.0",
|
2022-08-09 12:13:32 +00:00
|
|
|
"windicss": "^3.5.6"
|
2023-07-03 05:52:25 +00:00
|
|
|
},
|
|
|
|
"pnpm": {
|
|
|
|
"overrides": {
|
|
|
|
"semver@<7.5.2": ">=7.5.2"
|
|
|
|
}
|
2019-11-12 13:27:39 +00:00
|
|
|
}
|
|
|
|
}
|