Fix SCSS deprecation warnings

This commit is contained in:
Foster Hangdaan 2024-09-06 11:15:34 -04:00
parent f35c21a8c0
commit affd485cd0
Signed by: foster
GPG key ID: E48D7F49A852F112

View file

@ -172,30 +172,38 @@ blockquote {
&::before { &::before {
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/info-circle.svg"); background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/info-circle.svg");
} }
& {
color: var(--color-blue); color: var(--color-blue);
border-color: var(--color-blue); border-color: var(--color-blue);
} }
}
&.success { &.success {
&::before { &::before {
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/check.svg"); background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/check.svg");
} }
& {
color: var(--color-success); color: var(--color-success);
border-color: var(--color-success); border-color: var(--color-success);
} }
}
&.warning { &.warning {
&::before { &::before {
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/alert-triangle.svg"); background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/alert-triangle.svg");
} }
& {
color: var(--color-warn); color: var(--color-warn);
border-color: var(--color-warn); border-color: var(--color-warn);
} }
}
&.danger { &.danger {
&::before { &::before {
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/circle-x.svg"); background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/circle-x.svg");
} }
& {
color: var(--color-error); color: var(--color-error);
border-color: var(--color-error); border-color: var(--color-error);
} }
}
> p:first-child { > p:first-child {
margin-top: 0; margin-top: 0;
} }