43 lines
1.5 KiB
TypeScript
43 lines
1.5 KiB
TypeScript
/**
|
|
* ค่าสีที่ดึงจาก Figma — ใช้กับ inline style เท่านั้น
|
|
* (className ของ Tailwind ต้องเป็น literal ถึงจะถูก compile จึงไม่ทำ interpolation)
|
|
*/
|
|
export const COLORS = {
|
|
background: "#0D0D0D",
|
|
surface: "#1B1B1B",
|
|
surfaceRaised: "#1F1F1F",
|
|
surfaceChip: "#242424",
|
|
surfaceMuted: "#E8E8E8",
|
|
border: "#332B2B",
|
|
borderSubtle: "#303030",
|
|
brand: "#8F0808",
|
|
brandBright: "#A92626",
|
|
brandText: "#D47272",
|
|
brandGlow: "#4C0404",
|
|
textPrimary: "#FFFFFF",
|
|
textMuted: "#B3B3B3",
|
|
textSubtle: "#999999",
|
|
glowSoft: "rgba(143,8,8,0.4)",
|
|
pillGradient:
|
|
"linear-gradient(180deg, rgba(143,8,8,0.3) 0%, rgba(27,27,27,0) 100%)",
|
|
flagGradient:
|
|
"linear-gradient(#A51931 0 17%, #F4F5F8 17% 34%, #2D2A4A 34% 66%, #F4F5F8 66% 83%, #A51931 83%)",
|
|
} as const;
|
|
|
|
/**
|
|
* สเปกโลโก้ — ห้ามเปลี่ยนแปลง (ดู DESIGN.md หัวข้อ "โลโก้")
|
|
* ฟอนต์พิกเซล Jersey 15 เท่านั้น สีแดงแบรนด์คงที่ และมีสองขนาดที่อนุญาต
|
|
*/
|
|
export const LOGO_SPEC = {
|
|
wordmark: "AlterFlixHub",
|
|
fontFamily: "'Jersey 15', sans-serif",
|
|
color: "#8F0808",
|
|
/** header ใช้ md (36px) · footer ใช้ sm (24px) */
|
|
sizes: {
|
|
sm: "text-2xl",
|
|
md: "text-4xl",
|
|
},
|
|
} as const;
|
|
|
|
export type LogoSize = keyof typeof LOGO_SPEC.sizes;
|