package admin import ( "github.com/zitadel/zitadel/internal/domain" admin_pb "github.com/zitadel/zitadel/pkg/grpc/admin" ) func updateLabelPolicyToDomain(policy *admin_pb.UpdateLabelPolicyRequest) *domain.LabelPolicy { return &domain.LabelPolicy{ PrimaryColor: policy.PrimaryColor, BackgroundColor: policy.BackgroundColor, WarnColor: policy.WarnColor, FontColor: policy.FontColor, PrimaryColorDark: policy.PrimaryColorDark, BackgroundColorDark: policy.BackgroundColorDark, WarnColorDark: policy.WarnColorDark, FontColorDark: policy.FontColorDark, HideLoginNameSuffix: policy.HideLoginNameSuffix, DisableWatermark: policy.DisableWatermark, } }