File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,12 +71,12 @@ export function getVersionClass(info: OutdatedDependencyInfo | undefined): strin
7171 if ( ! info ) return 'text-fg-subtle'
7272 // Green for up-to-date (e.g. "latest" constraint)
7373 if ( info . majorsBehind === 0 && info . minorsBehind === 0 && info . resolved === info . latest ) {
74- return 'text-green-500 cursor-help'
74+ return 'text-green-700 dark:text-green- 500 cursor-help'
7575 }
7676 // Red for major versions behind
77- if ( info . majorsBehind > 0 ) return 'text-red-500 cursor-help'
77+ if ( info . majorsBehind > 0 ) return 'text-#db0000 dark:text- red-500 cursor-help'
7878 // Orange for minor versions behind
79- if ( info . minorsBehind > 0 ) return 'text-orange-500 cursor-help'
79+ if ( info . minorsBehind > 0 ) return 'text-#bf7c01 dark:text- orange-500 cursor-help'
8080 // Yellow for patch versions behind
81- return 'text-yellow-500 cursor-help'
81+ return 'text-#929220 dark:text- yellow-500 cursor-help'
8282}
You can’t perform that action at this time.
0 commit comments