diff --git a/continew-common/src/main/java/top/continew/admin/common/constant/UiConstants.java b/continew-common/src/main/java/top/continew/admin/common/constant/UiConstants.java index 48cadc7a..9c681978 100644 --- a/continew-common/src/main/java/top/continew/admin/common/constant/UiConstants.java +++ b/continew-common/src/main/java/top/continew/admin/common/constant/UiConstants.java @@ -25,29 +25,29 @@ package top.continew.admin.common.constant; public class UiConstants { /** - * 主色(极致蓝) + * 主要色(极致蓝) */ - public static final String COLOR_PRIMARY = "arcoblue"; + public static final String COLOR_PRIMARY = "primary"; /** * 成功色(仙野绿) */ - public static final String COLOR_SUCCESS = "green"; + public static final String COLOR_SUCCESS = "success"; /** * 警告色(活力橙) */ - public static final String COLOR_WARNING = "orangered"; + public static final String COLOR_WARNING = "warning"; /** * 错误色(浪漫红) */ - public static final String COLOR_ERROR = "red"; + public static final String COLOR_ERROR = "error"; /** * 默认色(中性灰) */ - public static final String COLOR_DEFAULT = "gray"; + public static final String COLOR_DEFAULT = "default"; private UiConstants() { } diff --git a/continew-webapi/src/main/resources/db/changelog/mysql/main_data.sql b/continew-webapi/src/main/resources/db/changelog/mysql/main_data.sql index f0186076..5aedbad6 100644 --- a/continew-webapi/src/main/resources/db/changelog/mysql/main_data.sql +++ b/continew-webapi/src/main/resources/db/changelog/mysql/main_data.sql @@ -214,13 +214,13 @@ VALUES INSERT INTO `sys_dict_item` (`id`, `label`, `value`, `color`, `sort`, `description`, `status`, `dict_id`, `create_user`, `create_time`) VALUES -(1, '通知', '1', 'blue', 1, NULL, 1, 1, 1, NOW()), -(2, '活动', '2', 'orangered', 2, NULL, 1, 1, 1, NOW()), -(3, '安全消息', '1', 'blue', 1, NULL, 1, 2, 1, NOW()), -(4, '活动消息', '2', 'orangered', 2, NULL, 1, 2, 1, NOW()), -(5, '桌面端', 'PC', 'blue', 1, NULL, 1, 3, 1, NOW()), -(6, '安卓', 'ANDROID', '#148628', 2, NULL, 1, 3, 1, NOW()), -(7, '小程序', 'XCX', '#7930AD', 3, NULL, 1, 3, 1, NOW()); +(1, '通知', '1', 'primary', 1, NULL, 1, 1, 1, NOW()), +(2, '活动', '2', 'success', 2, NULL, 1, 1, 1, NOW()), +(3, '安全消息', '1', 'warning', 1, NULL, 1, 2, 1, NOW()), +(4, '活动消息', '2', 'success', 2, NULL, 1, 2, 1, NOW()), +(5, '桌面端', 'PC', 'primary', 1, NULL, 1, 3, 1, NOW()), +(6, '安卓', 'ANDROID', 'success', 2, NULL, 1, 3, 1, NOW()), +(7, '小程序', 'XCX', 'warning', 3, NULL, 1, 3, 1, NOW()); -- 初始化默认用户和角色关联数据 INSERT INTO `sys_user_role` diff --git a/continew-webapi/src/main/resources/db/changelog/postgresql/main_data.sql b/continew-webapi/src/main/resources/db/changelog/postgresql/main_data.sql index dbbf261c..bc1a2c77 100644 --- a/continew-webapi/src/main/resources/db/changelog/postgresql/main_data.sql +++ b/continew-webapi/src/main/resources/db/changelog/postgresql/main_data.sql @@ -214,13 +214,13 @@ VALUES INSERT INTO "sys_dict_item" ("id", "label", "value", "color", "sort", "description", "status", "dict_id", "create_user", "create_time") VALUES -(1, '通知', '1', 'blue', 1, NULL, 1, 1, 1, NOW()), -(2, '活动', '2', 'orangered', 2, NULL, 1, 1, 1, NOW()), -(3, '安全消息', '1', 'blue', 1, NULL, 1, 2, 1, NOW()), -(4, '活动消息', '2', 'orangered', 2, NULL, 1, 2, 1, NOW()), -(5, '桌面端', 'PC', 'blue', 1, NULL, 1, 3, 1, NOW()), -(6, '安卓', 'ANDROID', '#148628', 2, NULL, 1, 3, 1, NOW()), -(7, '小程序', 'XCX', '#7930AD', 3, NULL, 1, 3, 1, NOW()); +(1, '通知', '1', 'primary', 1, NULL, 1, 1, 1, NOW()), +(2, '活动', '2', 'success', 2, NULL, 1, 1, 1, NOW()), +(3, '安全消息', '1', 'warning', 1, NULL, 1, 2, 1, NOW()), +(4, '活动消息', '2', 'success', 2, NULL, 1, 2, 1, NOW()), +(5, '桌面端', 'PC', 'primary', 1, NULL, 1, 3, 1, NOW()), +(6, '安卓', 'ANDROID', 'success', 2, NULL, 1, 3, 1, NOW()), +(7, '小程序', 'XCX', 'warning', 3, NULL, 1, 3, 1, NOW()); -- 初始化默认用户和角色关联数据 INSERT INTO "sys_user_role"