Skip to content

Commit

Permalink
Merge pull request #156 from DaleStudy/sam/update-to-use-css-variable
Browse files Browse the repository at this point in the history
update : convert to use css variable
  • Loading branch information
SamTheKorean authored Dec 24, 2024
2 parents e79c418 + 4a6396b commit 8c9ef6c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/components/NotFound/NotFound.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
color: var(--primary);

& > h1 {
font-weight: 500;
font-weight: var(--font-weight-medium);
font-size: clamp(30px, 4vw, 80px);
line-height: clamp(50px, 4vw, 100px);
}
Expand All @@ -18,7 +18,7 @@
margin: 32px 0 0;
white-space: pre-wrap;
color: var(--text-900);
font-weight: 400;
font-weight: var(--font-weight-regular);
font-size: clamp(12px, 4vw, 16px);
line-height: clamp(18px, 4vw, 28px);
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/ServerError/ServerError.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

h2 {
font-size: 80px;
font-weight: bold;
font-weight: var(--font-weight-bold);
color: var(--primary);
}

p {
font-size: 21px;
font-weight: normal;
font-weight: var(--font-weight-regular);
color: var(--text-900);
}
}
10 changes: 5 additions & 5 deletions src/components/Sidebar/Sidebar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ aside {
left: 50%;
transform: translateX(-50%);
font-size: 14px;
font-weight: bold;
font-weight: var(--font-weight-bold);
color: var(--text-secondary);
}

Expand All @@ -79,7 +79,7 @@ aside {
justify-content: center;
margin-bottom: 35px;
padding-bottom: 31px;
border-bottom: 2px solid #846de9;
border-bottom: 2px solid var(--primary);
}

.currentStatus img {
Expand All @@ -103,7 +103,7 @@ aside {
flex-direction: column;
align-items: center;
font-size: 14px;
font-weight: bold;
font-weight: var(--font-weight-bold);
gap: 5px;
}

Expand All @@ -120,7 +120,7 @@ aside {
}

.gradientText {
background: linear-gradient(to right, #24faca, #846de9);
background: linear-gradient(to right, #24faca, var(--primary));
color: transparent;
background-clip: text;
font-size: 17px;
Expand Down Expand Up @@ -164,7 +164,7 @@ aside {
border-radius: 10px;
color: white !important;
font-size: 14px;
font-weight: bold;
font-weight: var(--font-weight-bold);
text-align: center;
margin-top: 20px;
margin-left: auto;
Expand Down
6 changes: 3 additions & 3 deletions src/pages/Certificate/Certificate.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,21 @@
font-size: 20px;
line-height: 15px;
color: var(--bg-400);
font-weight: 700;
font-weight: var(--font-weight-bold);
margin-top: 30px;
}

& > h3 {
font-size: 20px;
line-height: 25px;
font-weight: 400;
font-weight: var(--font-weight-regular);
margin-top: 10px;
}

& > h4 {
font-size: 40px;
line-height: 50px;
font-weight: 700;
font-weight: var(--font-weight-bold);
color: var(--bg-400);
margin-top: 35px;
}
Expand Down

0 comments on commit 8c9ef6c

Please sign in to comment.