Skip to content

Commit e308c8d

Browse files
committed
update theme color
1 parent 9164647 commit e308c8d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Masa.Stack.Components/Extensions/ServiceCollectionExtensions.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,13 @@ private static async Task AddMasaStackComponentsServiceAsync(IServiceCollection
8989
options.ConfigureTheme(theme =>
9090
{
9191
theme.Themes.Light.Primary = "#4318FF";
92-
theme.Themes.Light.Accent = "#4318FF";
93-
theme.Themes.Light.Error = "#FF5252";
92+
theme.Themes.Light.Accent = "#006c4f";
93+
theme.Themes.Light.Error = "#ba1a1a";
9494
theme.Themes.Light.Success = "#00B42A";
95-
theme.Themes.Light.Warning = "#FF7D00";
95+
theme.Themes.Light.Warning = "#FF5252";
9696
theme.Themes.Light.Info = "#37A7FF";
9797
theme.Themes.Light.Surface = "#F0F3FA";
98+
theme.Themes.Light.UserDefined["reminder"] = new ColorPairing("#FF7D00", "#FFFFFF");
9899
});
99100
options.Defaults = new Dictionary<string, IDictionary<string, object?>?>
100101
{

0 commit comments

Comments
 (0)