Skip to content

Commit 0a6f80f

Browse files
committed
Define global foreground and background colors only once
1 parent a82e426 commit 0a6f80f

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

layouts/Application/components/Footer/style.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
.AppFooter__Link {
3131
letter-spacing: 1px;
3232

33-
color: var(--c-gray-12);
33+
color: currentColor;
3434
font-weight: 700;
3535
text-decoration: none;
3636
text-transform: uppercase;
@@ -41,7 +41,6 @@
4141
line-height: 1.65;
4242
margin-top: 1em;
4343

44-
color: var(--c-gray-12);
4544
font-family: var(--ff-serif);
4645
}
4746

layouts/Application/components/Header/style.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
.AppHeader {
22
box-sizing: border-box;
33
padding: 1em 0;
4-
5-
color: var(--c-gray-12);
64
}
75

86
.Menu {
@@ -42,7 +40,6 @@
4240
.Menu__Item {
4341
font-size: var(--fs-m);
4442

45-
color: var(--c-gray-12);
4643
cursor: pointer;
4744
font-weight: 700;
4845
}

layouts/Application/style.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
display: flex;
33
flex-direction: column;
44
min-height: 100vh;
5-
6-
background-color: var(--c-gray-1);
7-
color: var(--c-gray-12);
85
}
96

107
.App__Main {

styles/index.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ html,
4747
body {
4848
font-size: var(--fs-m);
4949
width: 100%;
50+
51+
background-color: var(--c-gray-1);
52+
color: var(--c-gray-12);
5053
}
5154

5255
body {

0 commit comments

Comments
 (0)