From 3ece904b0082f4d63afe0d795b61c860d0790c83 Mon Sep 17 00:00:00 2001 From: GaoFei Date: Sat, 15 Oct 2022 00:03:49 +0800 Subject: This closes #1369, support set, and get font color with theme and tint (#1370) --- xmlStyles.go | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'xmlStyles.go') diff --git a/xmlStyles.go b/xmlStyles.go index 0000d45..e35dbdd 100644 --- a/xmlStyles.go +++ b/xmlStyles.go @@ -334,14 +334,16 @@ type Border struct { // Font directly maps the font settings of the fonts. type Font struct { - Bold bool `json:"bold"` - Italic bool `json:"italic"` - Underline string `json:"underline"` - Family string `json:"family"` - Size float64 `json:"size"` - Strike bool `json:"strike"` - Color string `json:"color"` - VertAlign string `json:"vertAlign"` + Bold bool `json:"bold"` + Italic bool `json:"italic"` + Underline string `json:"underline"` + Family string `json:"family"` + Size float64 `json:"size"` + Strike bool `json:"strike"` + Color string `json:"color"` + ColorTheme *int `json:"color_theme"` + ColorTint float64 `json:"color_tint"` + VertAlign string `json:"vertAlign"` } // Fill directly maps the fill settings of the cells. -- cgit v1.2.1