Forum Discussion

cdknuth's avatar
cdknuth
Frequent Visitor
8 years ago

theme json file example

Does anyone have a working json file that updates the font and font size? The defaults are horrific. I've tried the theme generator and example from curbal but neither actually work.

6 Replies

    • cdknuth's avatar
      cdknuth
      Frequent Visitor

      Thanks, Xiaoxin. I've tried these formats and neither work.

       


         "name":"Jan 2018 Theme",
         "dataColors":
       [ 
              "#0069aa",
              "#4f8dc2",
              "#9ab7da",
              "#cedaec",
              "#00c762",
              "#fbe7a6",
              "#ff544a",
              "#f89a1c",
              "#545451"
       ],
           "background":"#FFFFFF",
           "foreground":"#545451",
           "tableAccent":"#4f8dc2",

           "visualStyles":{ 
                "*":{ 
                   "*": { 
                       "*": {[ "fontFamily":"Segoe UI"]}
                }
              }
                       }  
      }

       

       


         "name":"Jan 2018 Theme",
         "dataColors":
       [ 
              "#0069aa",
              "#4f8dc2",
              "#9ab7da",
              "#cedaec",
              "#00c762",
              "#fbe7a6",
              "#ff544a",
              "#f89a1c",
              "#545451"
       ],
           "background":"#FFFFFF",
           "foreground":"#545451",
           "tableAccent":"#4f8dc2",

           "visualStyles":{ 
                "*":{ 
                   "*": { 
                       "*": [{ "fontFamily":"Segoe UI"}]
                }
              }
                       }  
      }
          

       

       

      • Anonymous's avatar
        Anonymous
        Not applicable

        HI cdknuth,

         

        You can try to use below json formula and replace bold part with a valid font name.

        {
            "name":"Jan 2018 Theme",
            "dataColors":[
                "#0069aa",
                "#4f8dc2",
                "#9ab7da",
                "#cedaec",
                "#00c762",
                "#fbe7a6",
                "#ff544a",
                "#f89a1c",
                "#545451"
            ],
            "background":"#FFFFFF",
            "foreground":"#545451",
            "tableAccent":"#4f8dc2",
            "visualStyles":{
                "*":{
                    "*":{
                        "*":[
                            {
                                "fontFamily":"Segoe UI"
                            }
                        ]
                    }
                }
            }
        }

         


        Regards,

        Xiaoxin Sheng