using BirthList.Domain.Entities; namespace BirthList.Web.Features.Registries; internal sealed class RegistryThemeService { public string GetCssClass(RegistryType registryType, string? themeKey) { var normalized = string.IsNullOrWhiteSpace(themeKey) ? "default" : themeKey.Trim().ToLowerInvariant(); var typeSegment = registryType.ToString().ToLowerInvariant(); return $"theme-{typeSegment}-{normalized}"; } }