Skip to content

Commit c5ddec7

Browse files
Merge branch 'main' into feat/download-stats-modal-permalink
2 parents f8dca0e + 78e0188 commit c5ddec7

File tree

16 files changed

+556
-799
lines changed

16 files changed

+556
-799
lines changed

app/components/Compare/ReplacementSuggestion.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const docUrl = computed(() => {
2525
class="flex items-start gap-2 px-3 py-2 rounded-lg text-sm"
2626
:class="
2727
variant === 'nodep'
28-
? 'bg-amber-500/10 border border-amber-600/30 text-amber-700 dark:text-amber-400'
28+
? 'bg-amber-500/10 border border-amber-600/30 text-amber-800 dark:text-amber-400'
2929
: 'bg-blue-500/10 border border-blue-600/30 text-blue-700 dark:text-blue-400'
3030
"
3131
>

app/components/DependencyPathPopup.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function parsePackageString(pkg: string): { name: string; version: string } {
6868
<!-- Path badge button -->
6969
<button
7070
type="button"
71-
class="path-badge font-mono text-3xs px-1.5 py-0.5 rounded bg-amber-500/10 border border-amber-500/30 text-amber-700 dark:text-amber-400 transition-all duration-200 ease-out whitespace-nowrap flex items-center gap-1 hover:bg-amber-500/20 hover:border-amber-500/50"
71+
class="path-badge font-mono text-3xs px-1.5 py-0.5 rounded bg-amber-500/10 border border-amber-500/30 text-amber-800 dark:text-amber-400 transition-all duration-200 ease-out whitespace-nowrap flex items-center gap-1 hover:bg-amber-500/20 hover:border-amber-500/50"
7272
:aria-expanded="isOpen"
7373
@click.stop="togglePopup"
7474
>

app/components/Package/Dependencies.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const numberFormatter = useNumberFormatter()
117117
<LinkBase
118118
v-if="getDeprecatedDepInfo(dep)"
119119
:to="packageRoute(dep, getDeprecatedDepInfo(dep)!.version)"
120-
class="shrink-0 text-purple-500"
120+
class="shrink-0 text-purple-700 dark:text-purple-500"
121121
:title="getDeprecatedDepInfo(dep)!.message"
122122
classicon="i-carbon:warning-hex"
123123
>

app/components/Package/MetricsBadges.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const typesHref = computed(() => {
6363
variant="button-secondary"
6464
size="small"
6565
:to="typesHref"
66-
classicon="i-carbon-checkmark"
66+
classicon="i-carbon:checkmark"
6767
>
6868
{{ $t('package.metrics.types_label') }}
6969
</LinkBase>
@@ -73,10 +73,10 @@ const typesHref = computed(() => {
7373
:tabindex="0"
7474
:classicon="
7575
isLoading
76-
? 'i-carbon-circle-dash motion-safe:animate-spin'
76+
? 'i-carbon:circle-dash motion-safe:animate-spin'
7777
: hasTypes
78-
? 'i-carbon-checkmark'
79-
: 'i-carbon-close'
78+
? 'i-carbon:checkmark'
79+
: 'i-carbon:close'
8080
"
8181
>
8282
{{ $t('package.metrics.types_label') }}
@@ -95,10 +95,10 @@ const typesHref = computed(() => {
9595
:variant="hasEsm && !isLoading ? 'default' : 'ghost'"
9696
:classicon="
9797
isLoading
98-
? 'i-carbon-circle-dash motion-safe:animate-spin'
98+
? 'i-carbon:circle-dash motion-safe:animate-spin'
9999
: hasEsm
100-
? 'i-carbon-checkmark'
101-
: 'i-carbon-close'
100+
? 'i-carbon:checkmark'
101+
: 'i-carbon:close'
102102
"
103103
>
104104
ESM
@@ -113,7 +113,7 @@ const typesHref = computed(() => {
113113
tabindex="0"
114114
:variant="isLoading ? 'ghost' : 'default'"
115115
:classicon="
116-
isLoading ? 'i-carbon-circle-dash motion-safe:animate-spin' : 'i-carbon-checkmark'
116+
isLoading ? 'i-carbon:circle-dash motion-safe:animate-spin' : 'i-carbon:checkmark'
117117
"
118118
>
119119
CJS

app/components/Package/Replacement.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const docPath = computed(() => {
1818

1919
<template>
2020
<div
21-
class="border border-amber-600/40 bg-amber-500/10 rounded-lg px-3 py-2 text-base text-amber-700 dark:text-amber-400"
21+
class="border border-amber-600/40 bg-amber-500/10 rounded-lg px-3 py-2 text-base text-amber-800 dark:text-amber-400"
2222
>
2323
<h2 class="font-medium mb-1 flex items-center gap-2">
2424
<span class="i-carbon-idea w-4 h-4" aria-hidden="true" />

0 commit comments

Comments
 (0)