fix: title font style

This commit is contained in:
radishzzz 2025-01-19 03:49:50 +00:00
parent ef79df118f
commit 8eb0876c01
4 changed files with 41 additions and 34 deletions

View file

@ -12,3 +12,24 @@ body {
h1, h2, h3 {
text-rendering: optimizeLegibility;
}
h1 {
--at-apply: 'text-[3.6rem]';
}
h2 {
--at-apply: 'text-[3rem]';
}
h3 {
--at-apply: 'text-[2.4rem]';
}
h4 {
--at-apply: 'text-[2rem]';
}
h5 {
--at-apply: 'text-[1.8rem]';
}
h6 {
--at-apply: 'text-[1.6rem]';
}
:where(p) {
--at-apply: 'text-primary/85';
}