From bacca1f3d1d101727d94581db9d65b0ee38eacf6 Mon Sep 17 00:00:00 2001 From: userquin Date: Thu, 29 Jan 2026 21:42:33 +0100 Subject: [PATCH] feat: add RTL support to `PackagePlaygrounds` --- app/components/PackagePlaygrounds.vue | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/app/components/PackagePlaygrounds.vue b/app/components/PackagePlaygrounds.vue index 71523ebecb..35f27acce1 100644 --- a/app/components/PackagePlaygrounds.vue +++ b/app/components/PackagePlaygrounds.vue @@ -7,15 +7,15 @@ const props = defineProps<{ // Map provider id to icon class const providerIcons: Record = { - 'stackblitz': 'i-simple-icons-stackblitz', - 'codesandbox': 'i-simple-icons-codesandbox', - 'codepen': 'i-simple-icons-codepen', - 'replit': 'i-simple-icons-replit', - 'gitpod': 'i-simple-icons-gitpod', - 'vue-playground': 'i-simple-icons-vuedotjs', - 'nuxt-new': 'i-simple-icons-nuxtdotjs', - 'vite-new': 'i-simple-icons-vite', - 'jsfiddle': 'i-carbon-code', + 'stackblitz': 'i-simple-icons:stackblitz', + 'codesandbox': 'i-simple-icons:codesandbox', + 'codepen': 'i-simple-icons:codepen', + 'replit': 'i-simple-icons:replit', + 'gitpod': 'i-simple-icons:gitpod', + 'vue-playground': 'i-simple-icons:vuedotjs', + 'nuxt-new': 'i-simple-icons:nuxtdotjs', + 'vite-new': 'i-simple-icons:vite', + 'jsfiddle': 'i-carbon:code', } // Map provider id to color class @@ -32,7 +32,7 @@ const providerColors: Record = { } function getIcon(provider: string): string { - return providerIcons[provider] || 'i-carbon-play' + return providerIcons[provider] || 'i-carbon:play' } function getColor(provider: string): string { @@ -141,13 +141,13 @@ function focusMenuItem(index: number) { @keydown="handleKeydown" > -