fix(home): lighten service tile colors back to palette (white/soft/purple-soft/mint)

This commit is contained in:
Kunthawat Greethong
2026-06-10 10:52:35 +07:00
parent 5ab00efd15
commit f86c9b24c4

View File

@@ -153,7 +153,7 @@ const featuredPortfolio = portfolio.filter(p =>
const tileCopy = [ const tileCopy = [
{ {
eyebrow: 'ที่ปรึกษาด้าน AI', eyebrow: 'ที่ปรึกษาด้าน AI',
surface: 'teal', surface: 'white',
subtitle: 'การนำ AI มาปรับใช้ในองค์กร เพื่อลดต้นทุนและเวลา รวมถึงการรักษาความรู้จากพนักงานที่เชี่ยวชาญ', subtitle: 'การนำ AI มาปรับใช้ในองค์กร เพื่อลดต้นทุนและเวลา รวมถึงการรักษาความรู้จากพนักงานที่เชี่ยวชาญ',
objective: 'รักษาความรู้ขององค์กร ลดต้นทุนและเวลาการทำงาน', objective: 'รักษาความรู้ขององค์กร ลดต้นทุนและเวลาการทำงาน',
bullets: [ bullets: [
@@ -164,7 +164,7 @@ const featuredPortfolio = portfolio.filter(p =>
}, },
{ {
eyebrow: 'วางระบบ Automation', eyebrow: 'วางระบบ Automation',
surface: 'coral', surface: 'soft',
subtitle: 'การออกแบบระบบ Automation สำหรับธุรกิจคุณโดยเฉพาะ', subtitle: 'การออกแบบระบบ Automation สำหรับธุรกิจคุณโดยเฉพาะ',
objective: 'ลดต้นทุนและเวลา', objective: 'ลดต้นทุนและเวลา',
bullets: [ bullets: [
@@ -175,7 +175,7 @@ const featuredPortfolio = portfolio.filter(p =>
}, },
{ {
eyebrow: 'ที่ปรึกษาการตลาดออนไลน์', eyebrow: 'ที่ปรึกษาการตลาดออนไลน์',
surface: 'dark', surface: 'purple-soft',
subtitle: 'ออกแบบและวางกลยุทธ์ตามสถิติ กลุ่มเป้าหมาย และการทำงานขององค์กรคุณ', subtitle: 'ออกแบบและวางกลยุทธ์ตามสถิติ กลุ่มเป้าหมาย และการทำงานขององค์กรคุณ',
objective: 'เพิ่มยอดขาย', objective: 'เพิ่มยอดขาย',
bullets: [ bullets: [
@@ -186,7 +186,7 @@ const featuredPortfolio = portfolio.filter(p =>
}, },
{ {
eyebrow: 'พัฒนาเว็บไซต์', eyebrow: 'พัฒนาเว็บไซต์',
surface: 'purple', surface: 'mint',
subtitle: 'พัฒนาเว็บไซต์ที่สร้างผลลัพธ์ได้จริง สวยงาม และลูกค้าสามารถดูแลได้เอง', subtitle: 'พัฒนาเว็บไซต์ที่สร้างผลลัพธ์ได้จริง สวยงาม และลูกค้าสามารถดูแลได้เอง',
objective: 'เพิ่มยอดขาย และความน่าเชื่อถือให้ธุรกิจ', objective: 'เพิ่มยอดขาย และความน่าเชื่อถือให้ธุรกิจ',
bullets: [ bullets: [
@@ -402,21 +402,7 @@ const featuredPortfolio = portfolio.filter(p =>
opacity: 0.4; opacity: 0.4;
} }
/* Light text on dark service tiles */ /* Light text on dark service tiles — no longer used (kept for safety) */
.surface-teal .mega-subtitle,
.surface-teal .mega-bullets,
.surface-teal .mega-bullets li::before,
.surface-coral .mega-subtitle,
.surface-coral .mega-bullets,
.surface-coral .mega-bullets li::before,
.surface-dark .mega-subtitle,
.surface-dark .mega-bullets,
.surface-dark .mega-bullets li::before,
.surface-purple .mega-subtitle,
.surface-purple .mega-bullets,
.surface-purple .mega-bullets li::before {
color: rgba(255, 255, 255, 0.95);
}
.surface-soft .mega-subtitle { color: var(--color-gray-700); } .surface-soft .mega-subtitle { color: var(--color-gray-700); }
.mega-objective { .mega-objective {
display: inline-flex; display: inline-flex;