diff --git a/conf/remoteConfig.go b/conf/remoteConfig.go index f75c7c5..8a098bd 100644 --- a/conf/remoteConfig.go +++ b/conf/remoteConfig.go @@ -14,5 +14,5 @@ type RemoteConfig struct { type UIConfig struct { Name string - PrimaryColor string `valid:"in(|#FF7373|#A5EF00)"` + PrimaryColor string `schema:"Цвет в HEX, примеры: #ff4d4f #fa8c16 #a0d911 #1890ff #722ed1 #d4b106 #e91e63 #ff5722 #795548 #abb8c3 #525252 #689f38"` }