-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (48 loc) · 1.51 KB
/
index.html
File metadata and controls
50 lines (48 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!doctype html>
<html lang="th">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Warfarin Calculator</title>
<!-- Fonts: Inter & Prompt -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Prompt:wght@300;400;500;600&display=swap"
rel="stylesheet"
/>
<!-- Tailwind CSS (โหลดผ่าน CDN ) -->
<script src="https://cdn.tailwindcss.com"></script>
<script>
// ตั้งค่า Config ของ Tailwind ให้รู้จักฟอนต์ Prompt
tailwind.config = {
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'Prompt', 'sans-serif'],
display: ['Inter', 'Prompt', 'sans-serif'],
},
colors: {
gray: {
50: '#F9FAFB',
100: '#F3F4F6',
200: '#E5E7EB',
300: '#D1D5DB',
400: '#9CA3AF',
500: '#6B7280',
600: '#4B5563',
700: '#374151',
800: '#1F2937',
900: '#111827',
},
},
},
},
};
</script>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>