customCssInterface

customCssInterface

inline customCSS within the CustomisationsInterface. Use CustomCssVariables or css rules.

Properties🔗

rules_UNSTABLE🔗

rules_UNSTABLE: {[selector: string ] : {[declaration: string ] : string}}

Optional

Can be used to define a custom font face like:

Index Signature Parameters

rules_UNSTABLE?: {
    "@font-face": {
        "font-family": "custom-font",
        "src": url("/path/")
    };
  };

Also, custom css rules outside of variables.

rules_UNSTABLE?: {
    ".thoughtspot_class_name": {
        "border-radius": "10px",
        margin: "20px"
    };
  };

variables🔗

variables: CustomCssVariables

Optional

The custom css variables, which can be set. The allowed list is in the CustomCssVariables interface. Or here: https://try-everywhere.thoughtspot.cloud/resources/static/css/custom_variables.css