Skip to content

Commit 2c1b164

Browse files
committed
style: border
1 parent a379138 commit 2c1b164

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/components/UserMenu/UserMenu.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,24 @@
3434
}
3535

3636
.user-menu__icon-container {
37+
box-sizing: border-box;
38+
3739
display: flex;
3840
justify-content: center;
3941
align-items: center;
42+
4043
width: 56px;
4144
height: 56px;
4245
border-radius: 100%;
46+
border: 4px solid var(--light-blue);
47+
4348
background-color: var(--light-blue);
4449

4550
transition: all 0.2s cubic-bezier(0.7, 0.53, 0.17, 0.99);
4651

4752
@media (prefers-color-scheme: dark) {
48-
background-color: var(--dark-blue-4);
53+
border-color: var(--navy-200);
54+
background-color: var(--navy-500);
4955
}
5056
}
5157

src/layouts/Layout.astro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ const lang = getLangFromUrl(Astro.url);
9292
--light-grey-3: #edeff2;
9393
--dark-grey: #939daa;
9494

95+
--navy-200: #586073;
96+
--navy-500: #303745;
97+
9598
color: var(--lightmode-black);
9699
background: var(--lightmode-background);
97100
}

0 commit comments

Comments
 (0)