Skip to content

Commit b65cc53

Browse files
committed
fix(about): rename variables to new prefix scheme
* Add offwhite variable to new variables stylesheet
1 parent 65b6802 commit b65cc53

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/css/base/variables.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
--color-lightblue: #eff4f8;
77
--color-mutednavy: #444d5c;
88
--color-navy: #292e37;
9+
--color-offwhite: #f0f4fd;
910
--color-purple: #755384;
1011
--color-red: #e14943;
1112
--color-text: #3b3e44;

src/css/pages/about.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434

3535
.page-about__position {
36-
background: var(--offwhite);
36+
background: var(--color-offwhite);
3737
margin: auto;
3838
}
3939

@@ -66,7 +66,7 @@
6666
}
6767

6868
.page-about__history {
69-
background-color: var(--navy);
69+
background-color: var(--color-navy);
7070
margin: auto;
7171
}
7272

@@ -112,7 +112,7 @@
112112
}
113113

114114
.page-about__history__section-two {
115-
background-color: var(--offwhite);
115+
background-color: var(--color-offwhite);
116116
border-radius: 8px;
117117
display: grid;
118118
gap: 48px;
@@ -149,7 +149,7 @@
149149

150150
.page-about__team__header {
151151
h2 {
152-
color: var(--red);
152+
color: var(--color-red);
153153
margin-bottom: 16px;
154154
text-transform: uppercase;
155155
}
@@ -193,7 +193,7 @@
193193

194194
.page-about__team__staff,
195195
.page-about__team__directors {
196-
background-color: var(--offwhite);
196+
background-color: var(--color-offwhite);
197197
border-radius: 8px;
198198
padding: 36px;
199199
}

0 commit comments

Comments
 (0)