Skip to content

Commit

Permalink
QF-1969 change logo font size in video generator (#2326)
Browse files Browse the repository at this point in the history
* remotion package update

* fix build

* change QDC logo font size

* increase video title top padding on portrait mode
  • Loading branch information
AhmedCodeGuy authored and osamasayed committed Feb 23, 2025
1 parent 28abb2a commit 31e0ab8
Show file tree
Hide file tree
Showing 5 changed files with 1,669 additions and 1,450 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@
"@radix-ui/react-tooltip": "^1.1.2",
"@radix-ui/react-visually-hidden": "^1.1.0",
"@reduxjs/toolkit": "^2.2.7",
"@remotion/bundler": "4.0.206",
"@remotion/cli": "4.0.206",
"@remotion/eslint-plugin": "4.0.206",
"@remotion/lambda": "4.0.206",
"@remotion/player": "4.0.206",
"@remotion/bundler": "4.0.266",
"@remotion/cli": "4.0.266",
"@remotion/eslint-plugin": "4.0.266",
"@remotion/lambda": "4.0.266",
"@remotion/player": "4.0.266",
"@sanity/client": "^5.2.1",
"@sanity/image-url": "^1.0.2",
"@sentry/nextjs": "^7.77.0",
Expand Down Expand Up @@ -110,7 +110,7 @@
"redux-persist": "^6.0.0",
"refresh-fetch": "^0.8.0",
"remark-directive": "^3.0.0",
"remotion": "4.0.206",
"remotion": "^4.0.266",
"swr": "1.2.1",
"xstate": "^4.33.6"
},
Expand Down
12 changes: 6 additions & 6 deletions src/components/MediaMaker/Content/MediaMakerContent.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,31 +58,31 @@ $white: #ffffff;
.watermark {
text-align: center;
color: $white;
font-size: 19px;
font-size: 28px;
font-family: "Figtree" !important;
font-weight: var(--font-weight-bold);
}

.watermarkPortrait {
font-size: 19px;
font-size: 28px;
}

.watermarkLandscape {
font-size: 17px;
font-size: 25px;
}

.logo {
font-weight: 700;
font-size: 29px;
font-size: 42px;
font-family: "PlayfairDisplay" !important;
}

.logoPortrait {
font-size: 29px;
font-size: 42px;
}

.logoLandscape {
font-size: 25px;
font-size: 36px;
}

.space {
Expand Down
2 changes: 1 addition & 1 deletion src/components/MediaMaker/Content/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const MediaMakerContent: React.FC<Props> = ({
<AbsoluteFill
style={{
height: '250px',
paddingTop: isPortrait ? 90 : 40,
paddingTop: isPortrait ? 180 : 40,
backgroundImage: 'linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0))',
}}
>
Expand Down
11 changes: 9 additions & 2 deletions src/components/dls/Button/Button.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
@use "src/styles/utility";
// we are using this mixin ase using the one from utility.scss will break the remotion build
@mixin lighten-background-color {
background-image: linear-gradient(
to right,
var(--color-background-lighten),
var(--color-background-lighten)
);
}

.base {
border: none;
Expand Down Expand Up @@ -130,7 +137,7 @@
color: var(--themed-bg);
&:hover {
background-color: var(--themed-bg);
@include utility.lighten-background-color;
@include lighten-background-color;
}
}
// corner case for secondary ghost button
Expand Down
Loading

0 comments on commit 31e0ab8

Please sign in to comment.