summaryrefslogtreecommitdiff
path: root/xmlStyles.go
diff options
context:
space:
mode:
authorGaoFei <strivek@icloud.com>2022-10-15 00:03:49 +0800
committerGitHub <noreply@github.com>2022-10-15 00:03:49 +0800
commit3ece904b0082f4d63afe0d795b61c860d0790c83 (patch)
treecd747622903878bb6bb4828f56c97cf3c5da76a9 /xmlStyles.go
parent3d02726ad4dc3bc6a92d5b68ef8421ac4db44076 (diff)
This closes #1369, support set, and get font color with theme and tint (#1370)
Diffstat (limited to 'xmlStyles.go')
-rw-r--r--xmlStyles.go18
1 files changed, 10 insertions, 8 deletions
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.