Class
OfficeThemePalette
OfficeIMO
Literal colors defining a document theme palette.
Inheritance
- object
- OfficeThemePalette
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Property OfficeTheme.Palette
- Method OfficeThemePalette.With
Accepted by parameters 3
- Constructor OfficeTheme.OfficeTheme
- Method OfficeTheme.WithPalette
- Method OfficeThemeSurfaces.FromPalette
Constructors
public OfficeThemePalette(OfficeColor background, OfficeColor text, OfficeColor textMuted, OfficeColor accent1, OfficeColor accent2, OfficeColor accent3, OfficeColor accent4, OfficeColor accent5, OfficeColor accent6, OfficeColor success, OfficeColor warning, OfficeColor danger) #Creates immutable literal colors defining a document theme palette.
Parameters
- background OfficeIMO.OfficeColor
- text OfficeIMO.OfficeColor
- textMuted OfficeIMO.OfficeColor
- accent1 OfficeIMO.OfficeColor
- accent2 OfficeIMO.OfficeColor
- accent3 OfficeIMO.OfficeColor
- accent4 OfficeIMO.OfficeColor
- accent5 OfficeIMO.OfficeColor
- accent6 OfficeIMO.OfficeColor
- success OfficeIMO.OfficeColor
- warning OfficeIMO.OfficeColor
- danger OfficeIMO.OfficeColor
Methods
public OfficeThemePalette With(OfficeColor? background = null, OfficeColor? text = null, OfficeColor? textMuted = null, OfficeColor? accent1 = null, OfficeColor? accent2 = null, OfficeColor? accent3 = null, OfficeColor? accent4 = null, OfficeColor? accent5 = null, OfficeColor? accent6 = null, OfficeColor? success = null, OfficeColor? warning = null, OfficeColor? danger = null) #Returns a copy with the supplied replacements; omitted values are retained.
Parameters
- background OfficeIMO.OfficeColor? = null
- text OfficeIMO.OfficeColor? = null
- textMuted OfficeIMO.OfficeColor? = null
- accent1 OfficeIMO.OfficeColor? = null
- accent2 OfficeIMO.OfficeColor? = null
- accent3 OfficeIMO.OfficeColor? = null
- accent4 OfficeIMO.OfficeColor? = null
- accent5 OfficeIMO.OfficeColor? = null
- accent6 OfficeIMO.OfficeColor? = null
- success OfficeIMO.OfficeColor? = null
- warning OfficeIMO.OfficeColor? = null
- danger OfficeIMO.OfficeColor? = null
Returns
OfficeThemePalette