[portal] fix Tailwind style ordering issue

This commit is contained in:
Yangshun Tay
2022-10-06 07:42:45 +08:00
parent 3a4183cd48
commit 1f640fda5e
4 changed files with 11 additions and 10 deletions

View File

@ -11,7 +11,6 @@ import AppShell from '~/components/global/AppShell';
import type { AppRouter } from '~/server/router';
import '@tih/ui/styles.css';
import '~/styles/globals.css';
const MyApp: AppType<{ session: Session | null }> = ({

View File

@ -5,7 +5,7 @@ export default function HomePage() {
<main className="flex-1 overflow-y-auto">
<div className="flex h-full items-center justify-center">
<div>
<h1 className="text-center text-4xl font-bold text-red-600">
<h1 className="text-primary-600 text-center text-4xl font-bold">
Homepage
</h1>
<Button label="Button text" size="md" variant="primary" />