File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ const sparklineAreaPoints = computed(() => {
254254 color: t.textSubtle,
255255 lineHeight: '1.6',
256256 }"
257- >TypeScript </span
257+ >Types </span
258258 >
259259 <span
260260 class =" flex items-center"
Original file line number Diff line number Diff line change 11<script setup lang="ts">
2- import { ACCENT_COLOR_TOKENS } from ' #shared/utils/constants'
32
43const props = defineProps <{
54 packageName: string
@@ -16,8 +15,7 @@ const { selectedAccentColor } = useAccentColor()
1615const colorParam = computed (() => {
1716 const id = selectedAccentColor .value as keyof typeof ACCENT_COLOR_TOKENS
1817 if (! id || ! (id in ACCENT_COLOR_TOKENS )) return ' '
19- const hex = ACCENT_COLOR_TOKENS [id ][theme .value ].hex
20- return ` &color=${encodeURIComponent (hex )} `
18+ return ` &color=${encodeURIComponent (id )} `
2119})
2220
2321const cardUrl = computed (
You can’t perform that action at this time.
0 commit comments