Skip to content

Commit bb07919

Browse files
committed
Finish BookACallIframe
1 parent 2670478 commit bb07919

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

services/static-webserver/client/source/class/osparc/wrapper/BookACallIframe.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ qx.Class.define("osparc.wrapper.BookACallIframe", {
4444
// Call parent constructor
4545
this.base(arguments, url);
4646

47+
this.setAppearance("iframe-no-border");
48+
49+
// not only once, every time there is a load (e.g. when navigating in the iframe)
4750
this.addListener("load", () => this.__updateStyles(), this);
4851
},
4952

@@ -57,9 +60,8 @@ qx.Class.define("osparc.wrapper.BookACallIframe", {
5760
const iframe = this.getContentElement().getDomElement();
5861
const theme = {
5962
'--bs-body-bg': colorManager.resolve("background-main-1"),
60-
'--osparc-primary': '"red"',
61-
'--osparc-secondary': '"green"',
62-
'--osparc-text': '"black"'
63+
'--osparc-text-color': colorManager.resolve("text"),
64+
'--osparc-primary': colorManager.resolve("product-color"),
6365
};
6466
iframe.contentWindow.postMessage({
6567
type: 'osparc-theme',

0 commit comments

Comments
 (0)