Skip to content

Commit f43b1ea

Browse files
committed
chore: Update Tailwind CSS configuration and enhance typography support
1 parent b9a8088 commit f43b1ea

File tree

10 files changed

+36
-35
lines changed

10 files changed

+36
-35
lines changed

app/assets/css/tailwind.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import url("https://rsms.me/inter/inter.css");
2+
13
@tailwind base;
24
@tailwind components;
35
@tailwind utilities;

app/components/Testimonies.vue

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,17 @@
2121
</div>
2222
<div class="flex h-[350px] w-full shrink-0 items-end p-2 md:w-[700px] lg:h-full lg:p-8">
2323
<swiper-container
24-
:autoplay="{ delay: 4000 }"
24+
:autoplay="{ delay: 5000 }"
2525
:speed="800"
2626
loop
2727
grab-cursor
28-
:slides-per-view="1"
28+
style="overflow: hidden; margin-left: 100px;"
2929
:breakpoints="{
3030
640: {
31-
slidesPerView: 1.1,
31+
slidesPerView: 1.01,
3232
spaceBetween: 100,
33-
autoplay: {
34-
delay: 7000,
35-
},
36-
},
33+
}
3734
}"
38-
style="overflow: hidden"
3935
>
4036
<swiper-slide v-for="t in testimonies" :key="t.author">
4137
<div

app/pages/changelogs/[...id].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<div class="xl:grid xl:grid-cols-[1fr,250px] xl:gap-5">
3636
<!-- Page content -->
3737
<div
38-
class="prose prose-lg prose-rose dark:prose-invert lg:prose-base prose-headings:scroll-mt-16 prose-headings:tracking-tight prose-h2:mt-6 prose-h2:border-b prose-h2:pb-3 first:prose-h2:mt-10 prose-a:decoration-primary prose-a:underline-offset-2 hover:prose-a:text-primary prose-pre:text-lg lg:prose-pre:text-base mx-auto w-full min-w-0 max-w-none py-5"
38+
class="prose prose-lg prose-rose mx-auto w-full min-w-0 max-w-none py-5 dark:prose-invert lg:prose-base prose-headings:scroll-mt-16 prose-headings:tracking-tight prose-h2:mt-6 prose-h2:border-b prose-h2:pb-3 first:prose-h2:mt-10 prose-a:decoration-primary prose-a:underline-offset-2 hover:prose-a:text-primary prose-pre:text-lg lg:prose-pre:text-base"
3939
>
4040
<div v-if="page?.image">
4141
<NuxtImg

app/pages/docs/[...slug].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<div class="xl:grid xl:grid-cols-[1fr,250px] xl:gap-5">
1919
<!-- Page content -->
2020
<div
21-
class="prose prose-lg prose-rose dark:prose-invert lg:prose-base prose-headings:scroll-mt-16 prose-headings:tracking-tight prose-h2:mt-6 prose-h2:border-b prose-h2:pb-3 first:prose-h2:mt-10 prose-a:decoration-primary prose-a:underline-offset-2 hover:prose-a:text-primary prose-pre:text-lg lg:prose-pre:text-base mx-auto w-full min-w-0 max-w-none py-5"
21+
class="prose prose-lg prose-rose mx-auto w-full min-w-0 max-w-none py-5 dark:prose-invert lg:prose-base prose-headings:scroll-mt-16 prose-headings:tracking-tight prose-h2:mt-6 prose-h2:border-b prose-h2:pb-3 first:prose-h2:mt-10 prose-a:decoration-primary prose-a:underline-offset-2 hover:prose-a:text-primary prose-pre:text-lg lg:prose-pre:text-base"
2222
>
2323
<div v-if="pagePending">
2424
<UiSkeleton class="h-[calc(100dvh-57px)] w-full" />

app/pages/index.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
style="transform: translate(-20%, 0)"
6969
></div>
7070
<div
71-
class="bg-cider absolute h-[40rem] w-[40rem] rounded-full"
71+
class="absolute h-[40rem] w-[40rem] rounded-full bg-cider"
7272
style="transform: translate(10%, -35%)"
7373
></div>
7474
<div
@@ -109,12 +109,11 @@
109109
:class="[isUwu ? 'md:justify-start md:text-left' : '']"
110110
>
111111
<NuxtLink to="/downloads">
112-
<UiButton size="lg">Get Cider</UiButton>
112+
<UiButton>Get Cider</UiButton>
113113
</NuxtLink>
114114
<NuxtLink to="/learn-more">
115115
<UiButton
116116
type="button"
117-
size="lg"
118117
variant="ghost"
119118
class="learn-more hover:gap-5 hover:bg-transparent hover:underline"
120119
>

app/pages/legal/[...slug].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<div class="flex flex-col">
2424
<!-- <p class="mb-3 font-semibold text-primary">Legal</p> -->
2525
<ContentRenderer
26-
class="prose prose-rose dark:prose-invert max-w-screen-md lg:max-w-screen-lg"
26+
class="prose prose-rose max-w-screen-md dark:prose-invert lg:max-w-screen-lg"
2727
:value="page"
2828
/>
2929
</div>

nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,4 +157,4 @@ export default defineNuxtConfig({
157157
},
158158

159159
compatibilityDate: "2024-11-01",
160-
});
160+
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@morev/vue-transitions": "^3.0.5",
14-
"@nuxt/content": "^2.13.4",
14+
"@nuxt/content": "npm:@nuxt/content-edge@latest",
1515
"@nuxt/fonts": "^0.10.3",
1616
"@nuxt/image": "^1.9.0",
1717
"@nuxtjs/seo": "2.0.3",

pnpm-lock.yaml

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tailwind.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,9 @@ module.exports = {
138138
},
139139
},
140140
},
141-
plugins: [require("tailwindcss-animate"), require("@tailwindcss/forms")({ strategy: "class" })],
141+
plugins: [
142+
require("tailwindcss-animate"),
143+
require("@tailwindcss/forms")({ strategy: "class" }),
144+
require("@tailwindcss/typography"),
145+
],
142146
};

0 commit comments

Comments
 (0)