Skip to content

Commit

Permalink
Merge pull request #166 from DaleStudy/161-link-component-visited-style
Browse files Browse the repository at this point in the history
λ°©λ¬Έν•œ λ§ν¬λ²„νŠΌ ν…μŠ€νŠΈ 색상 λ³€ν•˜μ§€ μ•Šλ„λ‘ μˆ˜μ •
  • Loading branch information
Sunjae95 authored Jan 2, 2025
2 parents 3ecb6c2 + 7281e12 commit d06c4d1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/components/Link/Link.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

.text {
padding: 7px 5px;
color: var(--text-900);

&:hover {
font-weight: var(--font-weight-bold);
Expand All @@ -14,6 +15,10 @@
&:active {
color: var(--bg-400);
}

&:visited {
color: var(--text-900);
}
}

.primaryButton {
Expand All @@ -38,6 +43,10 @@
text-decoration: underline;
font-weight: var(--font-weight-bold);
}

&:visited {
color: var(--bg-100);
}
}

.secondaryButton {
Expand All @@ -64,4 +73,8 @@
text-decoration: underline;
font-weight: var(--font-weight-bold);
}

&:visited {
color: var(--bg-400);
}
}

0 comments on commit d06c4d1

Please sign in to comment.