diff --git a/apps/portal/src/components/Global.styles.js b/apps/portal/src/components/Global.styles.js
index b9fddfc6afc5..0e20e4db6c0d 100644
--- a/apps/portal/src/components/Global.styles.js
+++ b/apps/portal/src/components/Global.styles.js
@@ -1,7 +1,7 @@
export const GlobalStyles = `
/* Colors
/* ----------------------------------------------------- */
- :root {
+ :host {
--black: #000;
--blackrgb: 0,0,0;
--grey0: #1d1d1d;
@@ -27,28 +27,19 @@ export const GlobalStyles = `
--darkerRed: #C50202;
--yellow: #FFDC15;
--green: #7FC724;
- }
- /* Globals
- /* ----------------------------------------------------- */
- html {
font-size: 62.5%;
- height: 100%;
- }
-
- body {
- margin: 0px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-size: 1.6rem;
- height: 100%;
line-height: 1.6em;
font-weight: 400;
font-style: normal;
color: var(--grey2);
- box-sizing: border-box;
- overflow: hidden;
}
+ /* Globals
+ /* ----------------------------------------------------- */
+
button,
button span {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
diff --git a/apps/portal/src/components/Notification.js b/apps/portal/src/components/Notification.js
index 0fa52523fe41..389883f21ed5 100644
--- a/apps/portal/src/components/Notification.js
+++ b/apps/portal/src/components/Notification.js
@@ -1,5 +1,5 @@
import React from 'react';
-import Frame from './Frame';
+import ShadowRoot from './ShadowRoot';
import AppContext from '../AppContext';
import NotificationStyle from './Notification.styles';
import {ReactComponent as CloseIcon} from '../images/icons/close.svg';
@@ -216,7 +216,7 @@ export default class Notification extends React.Component {
renderFrameStyles() {
const styles = `
- :root {
+ :host {
--brandcolor: ${this.context.brandColor}
}
` + NotificationStyle;
@@ -236,9 +236,9 @@ export default class Notification extends React.Component {
const {type, status, autoHide, duration} = this.state;
if (type && status) {
return (
-
+