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-11-17 07:09:40 +00:00
|
|
|
"@intlify/unplugin-vue-i18n": "^6.0.0",
|
2024-06-06 13:16:59 +00:00
|
|
|
"@kyvg/vue3-notification": "^3.2.1",
|
2024-07-17 15:13:56 +00:00
|
|
|
"@mdi/js": "^7.4.47",
|
2024-11-30 07:31:28 +00:00
|
|
|
"@vueuse/core": "^12.0.0",
|
2024-01-20 17:27:36 +00:00
|
|
|
"ansi_up": "^6.0.2",
|
2024-11-11 22:34:20 +00:00
|
|
|
"dompurify": "^3.2.0",
|
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-11-11 22:34:20 +00:00
|
|
|
"marked": "^15.0.0",
|
2024-01-20 17:27:36 +00:00
|
|
|
"node-emoji": "^2.1.3",
|
2024-10-05 05:14:16 +00:00
|
|
|
"pinia": "^2.2.1",
|
2022-09-27 09:05:00 +00:00
|
|
|
"prismjs": "^1.29.0",
|
2024-10-05 05:14:16 +00:00
|
|
|
"semver": "^7.6.3",
|
|
|
|
"simple-icons": "^13.5.0",
|
|
|
|
"vue": "^3.4.38",
|
2024-10-06 10:01:04 +00:00
|
|
|
"vue-i18n": "^10.0.3",
|
2024-10-05 05:14:16 +00:00
|
|
|
"vue-router": "^4.4.3"
|
2019-11-12 13:27:39 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-10-05 05:14:16 +00:00
|
|
|
"@antfu/eslint-config": "^3.3.2",
|
|
|
|
"@eslint/js": "^9.9.0",
|
|
|
|
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
|
2024-11-22 08:22:49 +00:00
|
|
|
"@intlify/eslint-plugin-vue-i18n": "3.1.0",
|
2024-06-06 13:16:59 +00:00
|
|
|
"@types/eslint__js": "^8.42.3",
|
2024-10-05 05:14:16 +00:00
|
|
|
"@types/lodash": "^4.17.7",
|
2024-11-17 07:02:24 +00:00
|
|
|
"@types/node": "^22.0.0",
|
2024-06-06 13:16:59 +00:00
|
|
|
"@types/prismjs": "^1.26.4",
|
|
|
|
"@types/semver": "^7.5.8",
|
|
|
|
"@types/tinycolor2": "^1.4.6",
|
2024-10-05 05:14:16 +00:00
|
|
|
"@vitejs/plugin-vue": "^5.1.2",
|
|
|
|
"@vue/compiler-sfc": "^3.4.38",
|
2024-06-06 13:16:59 +00:00
|
|
|
"@vue/test-utils": "^2.4.6",
|
2024-10-05 05:14:16 +00:00
|
|
|
"eslint": "^9.9.0",
|
|
|
|
"eslint-plugin-promise": "^7.1.0",
|
|
|
|
"eslint-plugin-vue-scoped-css": "^2.8.1",
|
2024-09-07 07:51:36 +00:00
|
|
|
"jsdom": "^25.0.0",
|
2024-10-05 05:14:16 +00:00
|
|
|
"prettier": "^3.3.3",
|
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-10-12 17:52:51 +00:00
|
|
|
"typescript": "5.6.3",
|
2024-12-03 14:43:57 +00:00
|
|
|
"vite": "^6.0.0",
|
2024-01-25 06:25:15 +00:00
|
|
|
"vite-plugin-prismjs": "^0.0.11",
|
2024-01-20 17:27:36 +00:00
|
|
|
"vite-plugin-windicss": "^1.9.3",
|
|
|
|
"vite-svg-loader": "^5.1.0",
|
2024-10-05 05:14:16 +00:00
|
|
|
"vitest": "^2.0.5",
|
|
|
|
"vue-tsc": "^2.0.29",
|
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
|
|
|
}
|
|
|
|
}
|