diff --git a/SunnyUI/Common/UTranslate.cs b/SunnyUI/Common/UTranslate.cs
index 0d226310..5a652b39 100644
--- a/SunnyUI/Common/UTranslate.cs
+++ b/SunnyUI/Common/UTranslate.cs
@@ -19,7 +19,6 @@
* 2021-07-23: V3.0.5 增加文件说明
******************************************************************************/
-
namespace Sunny.UI
{
public interface ITranslate
diff --git a/SunnyUI/Style/UIStyle.cs b/SunnyUI/Style/UIStyle.cs
index e80f1452..07bb8fc1 100644
--- a/SunnyUI/Style/UIStyle.cs
+++ b/SunnyUI/Style/UIStyle.cs
@@ -113,16 +113,19 @@ namespace Sunny.UI
///
/// LayuiGreen
///
+ [DisplayText("LayuiGreen")]
LayuiGreen = 7,
///
/// LayuiRed
///
+ [DisplayText("LayuiRed")]
LayuiRed = 8,
///
/// LayuiOrange
///
+ [DisplayText("LayuiOrange")]
LayuiOrange = 9,
///
@@ -183,7 +186,7 @@ namespace Sunny.UI
///
/// 灰
///
- private static readonly UIBaseStyle Gray = new UIGrayStyle();
+ public static readonly UIBaseStyle Gray = new UIGrayStyle();
///
/// 绿
@@ -198,17 +201,17 @@ namespace Sunny.UI
///
/// 深蓝
///
- private static readonly UIBaseStyle DarkBlue = new UIDarkBlueStyle();
+ public static readonly UIBaseStyle DarkBlue = new UIDarkBlueStyle();
///
/// 黑
///
- private static readonly UIBaseStyle Black = new UIBlackStyle();
+ public static readonly UIBaseStyle Black = new UIBlackStyle();
///
/// 紫
///
- private static readonly UIBaseStyle Purple = new UIPurpleStyle();
+ public static readonly UIBaseStyle Purple = new UIPurpleStyle();
///
/// 多彩