Skip to content

Commit bce68c6

Browse files
committed
fix(pages/dependencies): add prerelease color
1 parent 3bd7bec commit bce68c6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/pages/dependencies.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function versionDiffClass(packageName: string, version?: string): ReleaseType |
146146
visibility: visible;
147147
}
148148
}
149-
&.patch, &.minor, &.major {
149+
&.patch, &.minor, &.major, &.prerelease {
150150
background-color: color-mix(in srgb, currentcolor 15%, transparent);
151151
}
152152
&.patch {
@@ -158,6 +158,9 @@ function versionDiffClass(packageName: string, version?: string): ReleaseType |
158158
&.major {
159159
color: #f35;
160160
}
161+
&.prerelease {
162+
color: #c4b5fd;
163+
}
161164
}
162165
}
163166
thead th, tbody td {

0 commit comments

Comments
 (0)