Skip to content

Commit

Permalink
chore: ui styling and added icons
Browse files Browse the repository at this point in the history
  • Loading branch information
zwaardje committed Dec 15, 2023
1 parent 9e70fa1 commit 7c8b2f1
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 9 deletions.
8 changes: 5 additions & 3 deletions packages/styling/src/_global-theme-variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
--str-video__button-primary-active: #005fff;

--str-video__button-secondary-base: #19232d;
--str-video__button-secondary-hover: #4c535b;
--str-video__button-secondary-hover: #dc433b;
--str-video__button-secondary-pressed: #6a3233;
--str-video__button-secondary-active: #dc433b;
--str-video__button-secondary-active: #e0564f;

--str-video__button-tertiary-base: #e0564f;
--str-video__button-tertiary-hover: #dc433b;
Expand Down Expand Up @@ -123,7 +123,9 @@
--str-video__icon--camera: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3IDEwLjVWN0MxNyA2LjQ1IDE2LjU1IDYgMTYgNkg0QzMuNDUgNiAzIDYuNDUgMyA3VjE3QzMgMTcuNTUgMy40NSAxOCA0IDE4SDE2QzE2LjU1IDE4IDE3IDE3LjU1IDE3IDE3VjEzLjVMMTkuMjkgMTUuNzlDMTkuOTIgMTYuNDIgMjEgMTUuOTcgMjEgMTUuMDhWOC45MUMyMSA4LjAyIDE5LjkyIDcuNTcgMTkuMjkgOC4yTDE3IDEwLjVaIiBmaWxsPSIjQjBCNEI3Ii8+Cjwvc3ZnPgo=');
--str-video__icon--camera-off: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3Z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MwMThMMTIuNzQ2NSAxMC40ODg1QzEzLjI3MTUgMTEuMDEzNSAxMi44OTY1IDExLjkxMzUgMTIuMTU0OSAxMS45MTM1SDcuODM4MjFDNy4wOTY1NCAxMS45MTM1IDYuNzI5ODggMTEuMDEzNSA3LjI1NDg4IDEwLjQ4ODVaIiBmaWxsPSIjRTNFNEU1Ii8+Cjwvc3ZnPgo=');
--str-video__icon--chat: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IlN0eWxlPVJvdW5kIj4KPHBhdGggaWQ9IlZlY3RvciIgZD0iTTIwIDZIMTlWMTRDMTkgMTQuNTUgMTguNTUgMTUgMTggMTVINlYxNkM2IDE3LjEgNi45IDE4IDggMThIMThMMjIgMjJWOEMyMiA2LjkgMjEuMSA2IDIwIDZaTTE3IDExVjRDMTcgMi45IDE2LjEgMiAxNSAySDRDMi45IDIgMiAyLjkgMiA0VjE3TDYgMTNIMTVDMTYuMSAxMyAxNyAxMi4xIDE3IDExWiIgZmlsbD0iI0IwQjRCNyIvPgo8L2c+Cjwvc3ZnPgo=');
--str-video__icon--chevron-down: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcuNDEgOC4yOTUwNEwxMiAxMi44NzVMMTYuNTkgOC4yOTUwNEwxOCA5LjcwNTA0TDEyIDE1LjcwNUw2IDkuNzA1MDRMNy40MSA4LjI5NTA0WiIgZmlsbD0iI0IwQjRCNyIvPgo8L3N2Zz4K');
--str-video__icon--chevron-up: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcuNDEgMTUuNzA1TDEyIDExLjEyNUwxNi41OSAxNS43MDVMMTggMTQuMjk1TDEyIDguMjk1MDRMNiAxNC4yOTVMNy40MSAxNS43MDVaIiBmaWxsPSIjRTNFNEU1Ii8+Cjwvc3ZnPgo=');
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react/react-dogfood/components/Lobby.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const Lobby = ({ onJoin, callId, enablePreview = true }: LobbyProps) => {
</div>

<button
className="rd__button rd__button--primary rd__lobby-join"
className="rd__button rd__button--primary rd__button--large rd__lobby-join"
data-testid="join-call-button"
onClick={onJoin}
>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.rd__invite {
display: flex;
flex-direction: column;
margin-top: var(--str-video__spacing-lg);

&__qr {
margin-top: var(--str-video__spacing-lg);
Expand Down
12 changes: 9 additions & 3 deletions sample-apps/react/react-dogfood/style/Link/Link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,16 @@
cursor: pointer;
text-decoration: none;
}
}

&--primary {
background-color: var(--str-video__brand-color1);
}
&--primary {
background-color: var(--str-video__brand-color1);
}

&--large {
font-size: var(--str-video__font-size-md);
padding: var(--str-video__spacing-sm) var(--str-video__spacing-md);
border-radius: var(--str-video__border-radius-md);
}

&__icon {
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react/react-dogfood/style/home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
&-join {
display: flex;
align-items: center;
margin-bottom: var(--str-video__spacing-md);
margin-top: var(--str-video__spacing-lg);
width: 100%;
}

Expand Down

0 comments on commit 7c8b2f1

Please sign in to comment.