JSON feature: Accent

Modified on Mon, 5 Oct at 1:54 PM

Code
"Fill": "Accent 1"
"Fill": "Accent 2"

It is now supported that the colors within CT can adhere to the active Office Color Theme. Simply edit the JSON color scheme file and add the values where needed. For instance in the \ColourSchemes\Table\tabletheme.json:

Code
 "HasTotalRow": false,
 "HeaderRowVector": {
 "Hide": false,
 "BaseCell": {
 "BorderColors": [
 {
 "Color": "255;255;255",
 "Position": "EdgeLeft"
 },
 {
 "Color": "255;255;255",
 "Position": "EdgeRight"
 }
 ],
 "Fill": "Accent 1",
 "FontColor": "240;232;232",
 "FormatName": "_Table ION_HeaderRow_BaseCell"
 },
 "FormatName": "_Table ION_HeaderRow",
 "LastCell": {
 "BorderColors": [
 {
 "Color": "255;255;255",
 "Position": "EdgeLeft"
 }
 ],
 "Fill": "Accent 1",
 "FontColor": "240;232;232",
 "FormatName": "_Table ION_HeaderRow_LastCell"
 }
 },

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article