Skip to content

Style overrides with CSS variables does not work with Angular SDK #240

@amuelli

Description

@amuelli

Slack logo #triage-eng-support thread

Based on the documentation here the following CSS variables can be used to customize elements outside the iframe:

:root {
  --ff-primary-color: #4c48ef !important;
  --ff-secondary-color: #616a7d !important;
  --ff-text-color: #090b2b !important;
  --ff-dialog-border-radius: 4px !important;
  --ff-border-radius: 5px !important;
  --ff-bg-fade: rgba(0, 0, 0, 0.2) !important;
}

This is currently not the case for the Angular SDK as these variables exist only as SASS variables that are initiated with the default values.

$ff-primary-color: #4c48ef;
$ff-secondary-color: #616a7d;
$ff-text-color: #090b2b;
$ff-dialog-border-radius: 4px;
$ff-border-radius: 5px;
$ff-bg-fade: rgba(0, 0, 0, 0.2);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions