Skip to content

Commit

Permalink
fix: sass syntax deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter committed Jul 17, 2024
1 parent 132f744 commit a962a93
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/assets/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,21 +98,22 @@ div {
@apply relative no-underline text-text;

&:not(.not-fancy) {
text-decoration-line: underline;
text-decoration-color: transparent;
text-underline-offset: 2px;

transition-property: color, text-decoration-color;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;

&:not(h1 a, h2 a, h3 a, h4 a, h5 a, h6 a) {
@apply text-blue;
}

text-decoration-line: underline;
text-decoration-color: transparent;
text-underline-offset: 2px;

&:hover {
text-decoration-color: currentColor;
}

transition-property: color, text-decoration-color;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
}

Expand Down

0 comments on commit a962a93

Please sign in to comment.