perf: preview fontSize

This commit is contained in:
JOYCEQL
2024-12-05 00:48:29 +08:00
committed by qingchen
parent 474b6b3de7
commit 4af6c4e535
4 changed files with 8 additions and 8 deletions
@@ -46,7 +46,7 @@ export function CustomSection({
<div className="space-y-1">
<div>
<h4
className="font-medium text-gray-800"
className="font-semibold text-gray-800"
style={{
fontSize: `${globalSettings?.subheaderSize || 16}px`
}}
@@ -55,7 +55,7 @@ export function CustomSection({
</h4>
<motion.div
layout
className={"text-gray-600"}
className={"font-medium text-gray-600"}
style={{
fontSize: `${globalSettings?.baseFontSize || 14}px`
}}
@@ -43,7 +43,7 @@ export function EducationSection({
<div className="space-y-1">
<div className="flex items-center gap-2">
<h4
className="font-medium text-gray-800"
className="font-semibold text-gray-800"
style={{
fontSize: `${globalSettings?.subheaderSize || 16}px`
}}
@@ -62,7 +62,7 @@ export function EducationSection({
)}
</div>
<p
className="text-gray-600"
className="font-medium text-gray-600"
style={{
fontSize: `${globalSettings?.baseFontSize || 14}px`
}}
@@ -37,7 +37,7 @@ export function ExperienceSection({
<div className="flex justify-between items-start">
<div>
<h4
className="font-medium text-gray-800"
className="font-semibold text-gray-800"
style={{
fontSize: `${globalSettings?.subheaderSize || 16}px`
}}
@@ -45,7 +45,7 @@ export function ExperienceSection({
{exp.company}
</h4>
<p
className="text-gray-600"
className="font-medium text-gray-600"
style={{
fontSize: `${globalSettings?.baseFontSize || 14}px`
}}
@@ -71,7 +71,7 @@ export function ProjectItem({
<motion.div layout>
<motion.h4
layout
className={cn("font-medium", "text-gray-800")}
className={cn("font-semibold", "text-gray-800")}
style={{
fontSize: `${globalSettings?.subheaderSize || 16}px`
}}
@@ -80,7 +80,7 @@ export function ProjectItem({
</motion.h4>
<motion.div
layout
className={cn("text-gray-600")}
className={cn("font-medium text-gray-600")}
style={{
fontSize: `${globalSettings?.baseFontSize || 14}px`
}}