Class ColorScheme
- Namespace
- Dynamicweb.Content.Styles.ColorSchemes
- Assembly
- Dynamicweb.dll
Represents a color scheme
public sealed class ColorScheme
- Inheritance
-
ColorScheme
- Inherited Members
Properties
BackgroundColor
Gets or sets the background color.
public string? BackgroundColor { get; set; }
Property Value
Remarks
The value should be a CSS hexadecimal color. See examples here
CustomColors
Gets or sets the custom colors
public IList<CustomColor> CustomColors { get; init; }
Property Value
ForegroundColor
Gets or sets the foreground color.
public string? ForegroundColor { get; set; }
Property Value
Remarks
The value should be a CSS hexadecimal color. See examples here
GroupId
Gets or sets the color scheme group id.
public required string GroupId { get; set; }
Property Value
Id
Gets or sets the color scheme id.
public required string Id { get; set; }
Property Value
Name
Gets or sets the color scheme name.
public required string Name { get; set; }
Property Value
PrimaryButtonColor
Gets or sets the primary button color.
public string? PrimaryButtonColor { get; set; }
Property Value
Remarks
The value should be a CSS hexadecimal color. See examples here
SecondaryButtonColor
Gets or sets the secondary button color.
public string? SecondaryButtonColor { get; set; }
Property Value
Remarks
The value should be a CSS hexadecimal color. See examples here