Skip to content

Commit 4fcf1a3

Browse files
committed
💄 Update border and separator colors
1 parent d397af6 commit 4fcf1a3

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

src/app/core/components/sidebar/sidebar.component.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
nav {
22
position: fixed;
33
height: 100%;
4-
border-right: 1px solid #c1c1c1;
4+
border-right: var(--border);
55
z-index: 103;
66
transition: 0.5s ease;
77
padding: 0 1rem;
@@ -70,7 +70,7 @@ nav li.mobile {
7070
nav li .tooltip {
7171
background: var(--bg-color-card);
7272
border-radius: 4px;
73-
border: 1px solid #c1c1c1;
73+
border: var(--border);
7474
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
7575
color: var(--font-color-primary);
7676
display: none;
@@ -280,7 +280,7 @@ nav .profile {
280280
transition: none;
281281
background: var(--bg-color);
282282
border-right: none;
283-
border-top: 1px solid #c1c1c1;
283+
border-top: var(--border);
284284
}
285285

286286
nav .profile,

src/app/shared/news-container/news-container.component.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
.details-wrapper .options .separator {
9999
height: 24px;
100100
width: 0.1rem;
101-
background: #c1c1c1;
101+
background: var(--separator-color);
102102
}
103103

104104
.details-wrapper .options .option {

src/app/shared/search-input/search-input.component.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@
44

55
input.icon {
66
background: var(--bg-color-card);
7-
border: var(--border-input);
7+
border: var(--border);
88
border-radius: 30px;
99
height: 45px;
1010
width: 100%;
1111
min-width: 0;
12-
padding: 10px 5px 10px 50px;
12+
padding: 10px 20px 10px 50px;
1313
color: var(--font-color-primary);
1414
font-size: 16px;
15-
transition: 0.2s;
16-
box-shadow: var(--box-shadow);
15+
transition: 0.25s ease;
1716
}
1817

1918
input.icon ~ i {
@@ -27,3 +26,4 @@ input.icon ~ i {
2726
input.icon:focus ~ i {
2827
color: var(--primary-color);
2928
}
29+

src/styles.css

+5-4
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ body.dark {
3434
--bg-skeleton-2: #2e2c2c;
3535
--text-shadow-color: #000000;
3636
--bg-blur: hsla(0, 0%, 10%, 0.6);
37-
--border-input: 1px solid #333639;
37+
--border: 1px solid #3e3e3e;
38+
--separator-color: #3e3e3e;
3839
}
3940

4041
:root {
@@ -54,7 +55,8 @@ body.dark {
5455
--bg-skeleton-2: #cdcdcd;
5556
--text-shadow-color: #e6e6e6;
5657
--bg-blur: hsla(0, 0%, 100%, 0.8);
57-
--border-input: none;
58+
--border: 1px solid #c1c1c1;
59+
--separator-color: #c1c1c1;
5860
}
5961

6062
::-webkit-scrollbar {
@@ -84,8 +86,7 @@ body.dark {
8486
background: var(--bg-color-card);
8587
color: var(--font-color-primary);
8688
border-radius: 1rem;
87-
border: 1px solid #c1c1c1;
88-
/* box-shadow: var(--box-shadow); */
89+
border: var(--border);
8990
}
9091

9192
.btn {

0 commit comments

Comments
 (0)