Skip to content

Commit 62f4672

Browse files
committed
fix: remove unused CSS classes, replace deprecated color tokens
1 parent 7959e20 commit 62f4672

1 file changed

Lines changed: 6 additions & 16 deletions

File tree

static/css/v3/header.css

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
.header__search-bar,
2929
.header__utilities-latest,
3030
.header__icon-btn,
31-
.header__mobile-logo,
3231
.header__menu-btn,
3332
.header__drawer-nav,
3433
.header__nav-btn,
@@ -69,8 +68,7 @@
6968
border-radius: var(--border-radius-m);
7069
}
7170

72-
.header__logo img,
73-
.header__mobile-logo img {
71+
.header__logo img {
7472
width: 31px;
7573
height: 31px;
7674
display: block;
@@ -84,7 +82,7 @@
8482
color: var(--color-text-primary);
8583
text-decoration: none;
8684
font-size: var(--font-size-small);
87-
font-weight: 400;
85+
font-weight: var(--font-weight-regular);
8886
font-family: var(--font-sans);
8987
line-height: var(--line-height-relaxed);
9088
letter-spacing: var(--letter-spacing-tight);
@@ -107,7 +105,7 @@
107105
/* ── Selected ──────────────────────────────────── */
108106

109107
.header__nav-link--active {
110-
text-decoration: underline !important;
108+
text-decoration: underline;
111109
}
112110

113111
/* ── Unread (notification dot) ─────────────────── */
@@ -333,7 +331,7 @@ html.dark .header__icon--theme-moon {
333331
.header__user-trigger > .avatar {
334332
width: 100%;
335333
height: 100%;
336-
display: block;
334+
display: flex;
337335
border-radius: calc(var(--header-radius) - 2px);
338336
pointer-events: none;
339337
}
@@ -348,8 +346,8 @@ html.dark .header__icon--theme-moon {
348346
padding: var(--space-default) var(--space-medium);
349347
gap: var(--space-s);
350348
border-radius: var(--header-radius);
351-
border: 1px solid var(--color-border);
352-
background: var(--color-bg-secondary);
349+
border: 1px solid var(--color-stroke-mid);
350+
background: var(--color-surface-weak);
353351
z-index: 1000;
354352
}
355353

@@ -372,14 +370,6 @@ html.dark .header__icon--theme-moon {
372370
gap: var(--space-s);
373371
}
374372

375-
.header__mobile-logo {
376-
display: flex;
377-
flex-shrink: 0;
378-
align-items: center;
379-
justify-content: center;
380-
padding: 0 var(--space-large);
381-
}
382-
383373
.header__menu-btn {
384374
display: inline-flex;
385375
align-items: center;

0 commit comments

Comments
 (0)