Skip to content

Commit 390b016

Browse files
committed
chore: remove custom text tokens
1 parent 0582b46 commit 390b016

3 files changed

Lines changed: 40 additions & 40 deletions

File tree

apps/frontend/app/components/chat/LanguageDropdown.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const { locale, locales, setLocale } = useI18n()
66
<DropdownMenu :modal="true">
77
<DropdownMenuTrigger>
88
<Button
9-
class="font-medium px-2 py-1 h-fit w-11.5 uppercase text-h4!"
9+
class="font-medium px-2 py-1 h-fit w-11.5 uppercase text-xl!"
1010
variant="ghost"
1111
>
1212
{{ locale.substring(0, 2) }}

apps/frontend/app/components/layouts/default/DefaultHeader.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ const convexVueContext = inject<ConvexVueContext>('convex-vue')
66
</script>
77

88
<template>
9-
<header class="text-h4 grid grid-cols-12 h-73px items-center view-transition-header xl:gap-10">
9+
<header class="text-xl grid grid-cols-12 h-73px items-center view-transition-header xl:gap-10">
1010
<div class="text-xl py-4 flex gap-2 col-span-3 h-full items-center justify-start">
11-
<NuxtLink to="https://github.com/NamesMT/starter-monorepo" external target="_blank" class="text-h3 font-black flex gap-3 h-full items-center">
11+
<NuxtLink to="https://github.com/NamesMT/starter-monorepo" external target="_blank" class="text-2xl font-black flex gap-3 h-full items-center">
1212
<Logo class="text-surface-900 h-full dark:text-surface-0" />
1313
<h1 class="whitespace-nowrap max-sm:hidden">
1414
starter-monorepo
@@ -23,20 +23,20 @@ const convexVueContext = inject<ConvexVueContext>('convex-vue')
2323
to="/" class="group flex items-center"
2424
exact-active-class="text-secondary border-b-2px border-secondary"
2525
>
26-
<span class="transition-all group-hover:text-h3 group-hover:text-accent-foreground">{{ $t('pages.home.title') }}</span>
26+
<span class="transition-all group-hover:text-2xl group-hover:text-accent-foreground">{{ $t('pages.home.title') }}</span>
2727
</NuxtLink>
2828
<NuxtLink
2929
to="/test" class="group flex items-center"
3030
exact-active-class="text-secondary border-b-2px border-secondary"
3131
>
32-
<span class="transition-all group-hover:text-h3 group-hover:text-accent-foreground">{{ $t('pages.test.title') }}</span>
32+
<span class="transition-all group-hover:text-2xl group-hover:text-accent-foreground">{{ $t('pages.test.title') }}</span>
3333
</NuxtLink>
3434
<NuxtLink
3535
v-if="convexVueContext?.clientRef?.value"
3636
to="/chat" class="group flex items-center"
3737
exact-active-class="text-secondary border-b-2px border-secondary"
3838
>
39-
<span class="transition-all group-hover:text-h3 group-hover:text-accent-foreground">{{ $t('pages.chat.title') }}</span>
39+
<span class="transition-all group-hover:text-2xl group-hover:text-accent-foreground">{{ $t('pages.chat.title') }}</span>
4040
</NuxtLink>
4141
</div>
4242

apps/frontend/uno.config.ts

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -49,40 +49,40 @@ function commonColorVarsGen(varName: string, additionalVars?: Array<string>) {
4949
export default defineConfig({
5050
outputToCssLayers: true,
5151
theme: {
52-
text: {
53-
h1: {
54-
fontSize: '40px',
55-
lineHeight: '48px',
56-
},
57-
h2: {
58-
fontSize: '32px',
59-
lineHeight: '40px',
60-
},
61-
h3: {
62-
fontSize: '24px',
63-
lineHeight: '32px',
64-
},
65-
h4: {
66-
fontSize: '20px',
67-
lineHeight: '28px',
68-
},
69-
body1: {
70-
fontSize: '18px',
71-
lineHeight: '26px',
72-
},
73-
body2: {
74-
fontSize: '16px',
75-
lineHeight: '24px',
76-
},
77-
body3: {
78-
fontSize: '14px',
79-
lineHeight: '20px',
80-
},
81-
body4: {
82-
fontSize: '12px',
83-
lineHeight: '16px',
84-
},
85-
},
52+
// text: {
53+
// h1: {
54+
// fontSize: '40px',
55+
// lineHeight: '48px',
56+
// },
57+
// h2: {
58+
// fontSize: '32px',
59+
// lineHeight: '40px',
60+
// },
61+
// h3: {
62+
// fontSize: '24px',
63+
// lineHeight: '32px',
64+
// },
65+
// h4: {
66+
// fontSize: '20px',
67+
// lineHeight: '28px',
68+
// },
69+
// body1: {
70+
// fontSize: '18px',
71+
// lineHeight: '26px',
72+
// },
73+
// body2: {
74+
// fontSize: '16px',
75+
// lineHeight: '24px',
76+
// },
77+
// body3: {
78+
// fontSize: '14px',
79+
// lineHeight: '20px',
80+
// },
81+
// body4: {
82+
// fontSize: '12px',
83+
// lineHeight: '16px',
84+
// },
85+
// },
8686
ringWidth: {
8787
DEFAULT: '3px',
8888
},

0 commit comments

Comments
 (0)