diff --git a/DNN Platform/Library/Entities/Portals/PortalStyles.cs b/DNN Platform/Library/Entities/Portals/PortalStyles.cs index e51f2141065..9bf0a20d300 100644 --- a/DNN Platform/Library/Entities/Portals/PortalStyles.cs +++ b/DNN Platform/Library/Entities/Portals/PortalStyles.cs @@ -14,200 +14,202 @@ namespace DotNetNuke.Entities.Portals /// public class PortalStyles : IPortalStyles { + private const string Prefix = "DnnCssVars_"; + /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public bool AllowAdminEdits { get; set; } = false; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorPrimary { get; set; } = "00A5E0"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorPrimaryLight { get; set; } = "1AAEE3"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorPrimaryDark { get; set; } = "0091C5"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorPrimaryContrast { get; set; } = "FFFFFF"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorSecondary { get; set; } = "ED3D46"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorSecondaryLight { get; set; } = "EF5059"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorSecondaryDark { get; set; } = "D1363E"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorSecondaryContrast { get; set; } = "FFFFFF"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorTertiary { get; set; } = "0E2936"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorTertiaryLight { get; set; } = "3C7A9A"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorTertiaryDark { get; set; } = "0B1C24"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorTertiaryContrast { get; set; } = "FFFFFF"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorNeutral { get; set; } = "DCDCDC"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorNeutralLight { get; set; } = "F0F0F0"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorNeutralDark { get; set; } = "999999"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorNeutralContrast { get; set; } = "000000"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorBackground { get; set; } = "FFFFFF"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorBackgroundLight { get; set; } = "F5F5F5"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorBackgroundDark { get; set; } = "CCCCCC"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorBackgroundContrast { get; set; } = "000000"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorForeground { get; set; } = "323232"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorForegroundLight { get; set; } = "A2A2A2"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorForegroundDark { get; set; } = "000000"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorForegroundContrast { get; set; } = "FFFFFF"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorInfo { get; set; } = "17A2B8"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorInfoLight { get; set; } = "23B8CF"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorInfoDark { get; set; } = "00889E"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorInfoContrast { get; set; } = "FFFFFF"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorSuccess { get; set; } = "28A745"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorSuccessLight { get; set; } = "49C25D"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorSuccessDark { get; set; } = "00902F"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorSuccessContrast { get; set; } = "FFFFFF"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorWarning { get; set; } = "FFC107"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorWarningLight { get; set; } = "FFD42E"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorWarningDark { get; set; } = "E9AD00"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorWarningContrast { get; set; } = "FFFFFF"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorDanger { get; set; } = "DC3545"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorDangerLight { get; set; } = "F14954"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorDangerDark { get; set; } = "C51535"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorDangerContrast { get; set; } = "FFFFFF"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorSurface { get; set; } = "DDDDDD"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorSurfaceLight { get; set; } = "EEEEEE"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorSurfaceDark { get; set; } = "CCCCCC"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public string ColorSurfaceContrast { get; set; } = "000000"; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public double ControlsRadius { get; set; } = 0; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public double ControlsPadding { get; set; } = 9; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public double BaseFontSize { get; set; } = 16; /// - [PortalSetting] + [PortalSetting(Prefix = Prefix)] public double VariationOpacity { get; set; } = 0.8; ///