Rajiv commited on
Commit
beb7161
Β·
1 Parent(s): f2ae3c9

Fix SCSS deprecation warnings

Browse files
Frontend/src/features/interview/style/home.scss CHANGED
@@ -1,3 +1,4 @@
 
1
  // ── Variables ────────────────────────────────────────────────────────────────
2
  $bg-page: #0d1117;
3
  $bg-card: #161b22;
@@ -384,7 +385,7 @@ $font-stack: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Robot
384
  align-items: center;
385
  gap: 0.5rem;
386
  padding: 0.75rem 1.5rem;
387
- background: linear-gradient(135deg, $accent 0%, darken($accent, 10%) 100%);
388
  color: #fff;
389
  font-size: 0.9rem;
390
  font-weight: 600;
 
1
+ @use "sass:color";
2
  // ── Variables ────────────────────────────────────────────────────────────────
3
  $bg-page: #0d1117;
4
  $bg-card: #161b22;
 
385
  align-items: center;
386
  gap: 0.5rem;
387
  padding: 0.75rem 1.5rem;
388
+ background: linear-gradient(135deg, $accent 0%, color.adjust($accent, $lightness: -10%) 100%);
389
  color: #fff;
390
  font-size: 0.9rem;
391
  font-weight: 600;
Frontend/src/features/interview/style/interview.scss CHANGED
@@ -1,3 +1,4 @@
 
1
  // ── Shared Variables (mirrors home.scss theme) ────────────────────────────────
2
  $bg-page: #0d1117;
3
  $bg-card: #161b22;
@@ -172,7 +173,7 @@ $severity-low: #3fb950;
172
  transition: border-color 0.2s;
173
 
174
  &:hover {
175
- border-color: lighten($border-color, 8%);
176
  }
177
 
178
  &__header {
@@ -234,7 +235,7 @@ $severity-low: #3fb950;
234
  p {
235
  margin: 0;
236
  font-size: 0.835rem;
237
- color: lighten($text-muted, 15%);
238
  line-height: 1.6;
239
  }
240
  }
@@ -329,7 +330,7 @@ $severity-low: #3fb950;
329
 
330
  p {
331
  margin: 0;
332
- color: lighten($text-muted, 15%);
333
  }
334
 
335
  &--user {
@@ -363,7 +364,7 @@ $severity-low: #3fb950;
363
  ul {
364
  margin: 0.5rem 0 0;
365
  padding-left: 1.25rem;
366
- color: lighten($text-muted, 15%);
367
  font-size: 0.8rem;
368
 
369
  li {
@@ -481,7 +482,7 @@ $severity-low: #3fb950;
481
  align-items: flex-start;
482
  gap: 0.5rem;
483
  font-size: 0.845rem;
484
- color: lighten($text-muted, 12%);
485
  line-height: 1.5;
486
  }
487
  }
 
1
+ @use "sass:color";
2
  // ── Shared Variables (mirrors home.scss theme) ────────────────────────────────
3
  $bg-page: #0d1117;
4
  $bg-card: #161b22;
 
173
  transition: border-color 0.2s;
174
 
175
  &:hover {
176
+ border-color: color.adjust($border-color, $lightness: 8%);
177
  }
178
 
179
  &__header {
 
235
  p {
236
  margin: 0;
237
  font-size: 0.835rem;
238
+ color: color.adjust($text-muted, $lightness: 15%);
239
  line-height: 1.6;
240
  }
241
  }
 
330
 
331
  p {
332
  margin: 0;
333
+ color: color.adjust($text-muted, $lightness: 15%);
334
  }
335
 
336
  &--user {
 
364
  ul {
365
  margin: 0.5rem 0 0;
366
  padding-left: 1.25rem;
367
+ color: color.adjust($text-muted, $lightness: 15%);
368
  font-size: 0.8rem;
369
 
370
  li {
 
482
  align-items: flex-start;
483
  gap: 0.5rem;
484
  font-size: 0.845rem;
485
+ color: color.adjust($text-muted, $lightness: 12%);
486
  line-height: 1.5;
487
  }
488
  }