feat: move to unocss

This commit is contained in:
Anthony Fu committed 2022-02-17 20:59:24 +08:00
1 parent 31999466ef
commit 44f6b3fd44
17 files changed
+695 -556

No files matched your search

+7 -7
View File
@@ -15,19 +15,19 @@ const { t } = useI18n()
<template>
<div>
<p class="text-4xl">
<carbon-campsite class="inline-block" />
</p>
<div text-4xl>
<div i-carbon-campsite inline-block />
</div>
<p>
<a rel="noreferrer" href="https://github.com/antfu/vitesse" target="_blank">
Vitesse
</a>
</p>
<p>
<em class="text-sm opacity-75">{{ t('intro.desc') }}</em>
<em text-sm opacity-75>{{ t('intro.desc') }}</em>
</p>
<div class="py-4" />
<div py-4 />
<input
id="input"
@@ -36,7 +36,7 @@ const { t } = useI18n()
:aria-label="t('intro.whats-your-name')"
type="text"
autocomplete="false"
p="x-4 y-2"
p="x4 y2"
w="250px"
text="center"
bg="transparent"
@@ -48,7 +48,7 @@ const { t } = useI18n()
<div>
<button
class="m-3 text-sm btn"
btn m-3 text-sm
:disabled="!name"
@click="go"
>