Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V0.3 #15

Merged
merged 9 commits into from
Aug 7, 2023
Next Next commit
add vuei18n preset
  • Loading branch information
lyqht committed Aug 7, 2023
commit db599bd7d710627caea6da5db5df5f14139f2291
28 changes: 28 additions & 0 deletions src/utils/presets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,33 @@ export const uiliciousPreset = {
}
}

export const vuei18nPreset = {
...defaultPresetOptions,
name: 'Vue I18n',
data: 'https://vue-i18n.intlify.dev/',
image:
'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiCiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB4bWxuczpzb2RpcG9kaT0iaHR0cDovL3NvZGlwb2RpLnNvdXJjZWZvcmdlLm5ldC9EVEQvc29kaXBvZGktMC5kdGQiCiAgIHhtbG5zOmlua3NjYXBlPSJodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy9uYW1lc3BhY2VzL2lua3NjYXBlIgogICB3aWR0aD0iMjU2IgogICBoZWlnaHQ9IjIyNC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CiAgICAgICBkPSJNIDQ4Ljk0NzkxNywyNjcuODk1ODEgSCAxOC41MjA4MzcgWiIKICAgICAgIGlkPSJwYXRoNDU5Ni0yIgogICAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIgLz4KICAgIDxwYXRoCiAgICAgICBzdHlsZT0iZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyLjAyMjU0NDg2O3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOm1pdGVyO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBkPSJNIDQ3LjYyNSwyNTkuOTU4MzEgSCAxOS44NDM3NTMgWiIKICAgICAgIGlkPSJwYXRoNDU5Ni0yLTgiCiAgICAgICBpbmtzY2FwZTpjb25uZWN0b3ItY3VydmF0dXJlPSIwIiAvPgogICAgPHBhdGgKICAgICAgIHN0eWxlPSJmaWxsOm5vbmU7c3Ryb2tlOiNmZmZmZmY7c3Ryb2tlLXdpZHRoOjIuMDIyNTQ0ODY7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46bWl0ZXI7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGQ9Ik0gNDcuNjI1LDI3NS4zMDQxNCBIIDE5Ljg0Mzc1MyBaIgogICAgICAgaWQ9InBhdGg0NTk2LTItOC00IgogICAgICAgaW5rc2NhcGU6Y29ubmVjdG9yLWN1cnZhdHVyZT0iMCIgLz4KICA8L2c+Cjwvc3ZnPgo=',
dotsOptions: {
color: '#41b983',
type: 'rounded'
},
cornersSquareOptions: {
color: '#41b983',
type: 'extra-rounded'
},
cornersDotOptions: {
color: '#41b983',
type: 'dot'
},
imageOptions: {
margin: 2
},
style: {
borderRadius: '24px',
background: '#34495e'
}
}

export const pejuangKodePreset = {
...defaultPresetOptions,
name: 'Pejuang Kode Preset',
Expand All @@ -172,5 +199,6 @@ export const allPresets = [
vercelLightPreset,
vercelDarkPreset,
uiliciousPreset,
vuei18nPreset,
pejuangKodePreset
]