From 9f6e4c10e01791b1b9dd62005a13a51c309a6786 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 15 Jul 2023 15:35:50 +0200 Subject: [PATCH] Use consistent woodpecker color scheme --- web/src/components/admin/settings/AdminQueueTab.vue | 2 +- .../components/admin/settings/queue/AdminQueueStats.vue | 2 +- web/src/components/atomic/Button.vue | 2 +- web/src/components/form/Checkbox.vue | 2 +- web/src/components/form/RadioField.vue | 2 +- web/src/components/layout/header/Navbar.vue | 4 +++- web/src/components/repo/pipeline/PipelineItem.vue | 2 +- web/src/components/repo/pipeline/PipelineLog.vue | 2 +- web/src/components/repo/pipeline/PipelineStatusIcon.vue | 2 +- web/src/views/Login.vue | 2 +- web/windi.config.ts | 8 ++++++++ 11 files changed, 20 insertions(+), 10 deletions(-) diff --git a/web/src/components/admin/settings/AdminQueueTab.vue b/web/src/components/admin/settings/AdminQueueTab.vue index b38e849cdcd..a0726711523 100644 --- a/web/src/components/admin/settings/AdminQueueTab.vue +++ b/web/src/components/admin/settings/AdminQueueTab.vue @@ -25,7 +25,7 @@ :name="queueInfo.paused ? 'pause' : 'play'" :class="{ 'text-red-400': queueInfo.paused, - 'text-lime-400': !queueInfo.paused, + 'text-woodpecker-300': !queueInfo.paused, }" /> diff --git a/web/src/components/admin/settings/queue/AdminQueueStats.vue b/web/src/components/admin/settings/queue/AdminQueueStats.vue index 8c32b567fe5..f8886722059 100644 --- a/web/src/components/admin/settings/queue/AdminQueueStats.vue +++ b/web/src/components/admin/settings/queue/AdminQueueStats.vue @@ -81,7 +81,7 @@ const data = computed(() => { label: t('admin.settings.queue.stats.worker_count'), value: props.stats.worker_count, perc: total.value > 0 ? (props.stats.worker_count / total.value) * 100 : 0, - color: 'bg-lime-400', + color: 'bg-woodpecker-300', }, { key: 'running_count', diff --git a/web/src/components/atomic/Button.vue b/web/src/components/atomic/Button.vue index ecdc3f59b5a..1829a681211 100644 --- a/web/src/components/atomic/Button.vue +++ b/web/src/components/atomic/Button.vue @@ -5,7 +5,7 @@ :class="{ 'bg-white hover:bg-gray-200 border-gray-300 text-color dark:bg-dark-gray-600 dark:border-dark-400 dark:hover:bg-dark-gray-800': color === 'gray', - 'bg-lime-600 hover:bg-lime-700 border-lime-800 text-white dark:text-gray-300 dark:bg-lime-900 dark:hover:bg-lime-800': + 'bg-woodpecker-400 hover:bg-woodpecker-500 border-woodpecker-600 text-white dark:text-gray-300 dark:bg-woodpecker-500 dark:hover:bg-woodpecker-400': color === 'green', 'bg-cyan-600 hover:bg-cyan-700 border-cyan-800 text-white dark:text-gray-300 dark:bg-cyan-900 dark:hover:bg-cyan-800': color === 'blue', diff --git a/web/src/components/form/Checkbox.vue b/web/src/components/form/Checkbox.vue index 47f0e3d072a..166bf741c6a 100644 --- a/web/src/components/form/Checkbox.vue +++ b/web/src/components/form/Checkbox.vue @@ -3,7 +3,7 @@ diff --git a/web/src/components/form/RadioField.vue b/web/src/components/form/RadioField.vue index a3d45b4b947..cd22a28cddf 100644 --- a/web/src/components/form/RadioField.vue +++ b/web/src/components/form/RadioField.vue @@ -3,7 +3,7 @@ -