You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by so...@apache.org on 2022/03/01 05:54:37 UTC
[dolphinscheduler] branch dev updated: [Feature][UI Next][V1.0.0-Alpha] Added theme color modification field.
This is an automated email from the ASF dual-hosted git repository.
songjian pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new eb88d9c [Feature][UI Next][V1.0.0-Alpha] Added theme color modification field.
eb88d9c is described below
commit eb88d9cbd328f5c2aef5f21015b8cfa8f5adc5d6
Author: labbomb <73...@qq.com>
AuthorDate: Tue Mar 1 13:54:33 2022 +0800
[Feature][UI Next][V1.0.0-Alpha] Added theme color modification field.
---
dolphinscheduler-ui-next/src/themes/modules/dark.ts | 14 +++++++++++++-
dolphinscheduler-ui-next/src/themes/modules/light.ts | 14 +++++++++++++-
2 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/dolphinscheduler-ui-next/src/themes/modules/dark.ts b/dolphinscheduler-ui-next/src/themes/modules/dark.ts
index bf0ad51..39b0348 100644
--- a/dolphinscheduler-ui-next/src/themes/modules/dark.ts
+++ b/dolphinscheduler-ui-next/src/themes/modules/dark.ts
@@ -17,7 +17,19 @@
const dark = {
common: {
- // bodyColor: '#28292d',
+ bodyColor: '#141414',
+
+ /**************** Brand color */
+ primaryColor: '#177ddc',
+ primaryColorHover: '#1765ad',
+ primaryColorPressed: '#3c9ae8',
+ primaryColorSuppl: '#177ddc',
+
+ /**************** Function of color */
+ infoColor: '#177ddc',
+ successColor: '#49aa19',
+ warningColor: '#d89614',
+ errorColor: '#a61d24'
}
}
diff --git a/dolphinscheduler-ui-next/src/themes/modules/light.ts b/dolphinscheduler-ui-next/src/themes/modules/light.ts
index d9b8834..11bd6cb 100644
--- a/dolphinscheduler-ui-next/src/themes/modules/light.ts
+++ b/dolphinscheduler-ui-next/src/themes/modules/light.ts
@@ -16,7 +16,19 @@
*/
const light = {
common: {
- bodyColor: '#f8f8fc'
+ bodyColor: '#f8f8fc',
+
+ /**************** Brand color */
+ primaryColor: '#1890ff',
+ primaryColorHover: '#40a9ff',
+ primaryColorPressed: '#096dd9',
+ primaryColorSuppl: '#1890ff',
+
+ /**************** Function of color */
+ infoColor: '#1890ff',
+ successColor: '#52c41a',
+ warningColor: '#faad14',
+ errorColor: '#ff4d4f'
}
}