Skip to content

Commit 2cea671

Browse files
committed
replace custom CSS with existing variables
1 parent 5436fb3 commit 2cea671

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

web/src/shared/video-tutorials/VideoTutorialsModal.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
box-sizing: border-box;
3131
height: 52px;
3232
padding: var(--spacing-sm) var(--spacing-md) var(--spacing-sm) var(--spacing-xl);
33-
border-bottom: 1px solid var(--border-default);
33+
border-bottom: var(--border-1) solid var(--border-default);
3434
flex-shrink: 0;
3535
}
3636

@@ -123,7 +123,7 @@
123123
.tutorials-modal-video-links {
124124
display: flex;
125125
flex-direction: column;
126-
gap: 12px;
126+
gap: var(--spacing-md);
127127
margin-top: 0;
128128
}
129129

web/src/shared/video-tutorials/components/VideoPlayer/style.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ iframe.loaded ~ .video-player-skeleton {
3939
background-color: var(--bg-emphasis);
4040

4141
// Figma: 48px gap between icon-group and link-group
42-
gap: 48px;
42+
gap: var(--spacing-5xl);
4343
}
4444

4545
.video-player-error-icon-group {
@@ -48,7 +48,7 @@ iframe.loaded ~ .video-player-skeleton {
4848
align-items: center;
4949

5050
// Figma: 20px gap between badge and title
51-
gap: 20px;
51+
gap: var(--spacing-xl);
5252
}
5353

5454
.video-player-error-badge {
@@ -57,10 +57,10 @@ iframe.loaded ~ .video-player-skeleton {
5757
justify-content: center;
5858

5959
// Figma: 32px padding, full pill, drop shadow
60-
padding: 32px;
60+
padding: var(--spacing-3xl);
6161
background-color: var(--bg-default);
6262
border-radius: var(--radius-full);
63-
box-shadow: 0 4px 12px 0 rgb(0 0 0 / 7%);
63+
box-shadow: var(--menu-shadow);
6464
}
6565

6666
.video-player-error-title {
@@ -77,7 +77,7 @@ iframe.loaded ~ .video-player-skeleton {
7777
width: 100%;
7878

7979
// Figma: 8px gap between label and URL
80-
gap: 8px;
80+
gap: var(--spacing-sm);
8181
}
8282

8383
.video-player-error-label {

web/src/shared/video-tutorials/components/modal/VideoList/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
padding: 0;
5656
display: flex;
5757
flex-direction: column;
58-
gap: 4px;
58+
gap: var(--spacing-xs);
5959
}
6060

6161
// Override Fold's default padding-bottom/left that exists to fix a single-button edge case

0 commit comments

Comments
 (0)