Skip to content

Commit 6a5e6b2

Browse files
authored
feat: add marko playground links (#1927)
1 parent af71229 commit 6a5e6b2

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

app/components/Package/Playgrounds.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const providerIcons: Record<string, string> = {
2121
'svelte-playground': 'i-simple-icons:svelte',
2222
'tailwind-playground': 'i-simple-icons:tailwindcss',
2323
'storybook': 'i-simple-icons:storybook',
24+
'marko-playground': 'i-simple-icons:marko',
2425
}
2526
2627
// Map provider id to color class
@@ -39,6 +40,7 @@ const providerColors: Record<string, string> = {
3940
'svelte-playground': 'text-provider-svelte',
4041
'tailwind-playground': 'text-provider-tailwind',
4142
'storybook': 'text-provider-storybook',
43+
'marko-playground': 'text-provider-marko',
4244
}
4345
4446
function getIcon(provider: string): string {

server/utils/readme.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@ const PLAYGROUND_PROVIDERS: PlaygroundProvider[] = [
104104
domains: ['play.tailwindcss.com'],
105105
icon: 'tailwindcss',
106106
},
107+
{
108+
id: 'marko-playground',
109+
name: 'Marko Playground',
110+
domains: ['markojs.com'],
111+
paths: ['/playground'],
112+
icon: 'marko',
113+
},
107114
]
108115

109116
/**

uno.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ export default defineConfig({
107107
svelte: '#FF3E00',
108108
tailwind: '#06B6D4',
109109
storybook: '#FF4785',
110+
marko: '#CC0067',
110111
},
111112
},
112113
animation: {

0 commit comments

Comments
 (0)