Skip to content

Commit 3205d0d

Browse files
committed
🎉: Update Configs
1 parent b66e2f6 commit 3205d0d

File tree

2 files changed

+38
-5
lines changed

2 files changed

+38
-5
lines changed

‎index.html‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<link rel="apple-touch-icon" sizes="76x76" href="./src/images/apple-touch-icon.png" />
2323
<link rel="icon" type="image/png" sizes="32x32" href="./src/images/favicon-32x32.png" />
2424
<link rel="icon" type="image/png" sizes="16x16" href="./src/images/favicon-16x16.png" />
25-
<link rel="stylesheet" href="https://leatsophat.me/index.css">
25+
<link rel="stylesheet" href="./index.css">
2626
<link rel="preconnect" href="https://fonts.googleapis.com">
2727
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
2828
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
@@ -36,14 +36,12 @@
3636
<script defer="defer" src="./src/index.js" type="module"></script>
3737
<meta name="theme-color" content="#ffffff" />
3838
</head>
39-
<body class="dark:bg-slate-950 overflow-hidden">
39+
<body class="dark:bg-slate-950">
4040

4141
<div class="area">
4242
<ul class="circles"> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li></ul>
4343
</div>
4444

45-
<header id="header" class="sticky top-0 z-20 w-full scroll-smooth backdrop-blur-sm dark:bg-white/5 bg-white/50"></header>
46-
4745
<div data-sidebar-backdrop class="fixed inset-0 z-50 hidden w-full h-full bg-white/70 dark:block/20 backdrop-blur-sm"></div>
4846
<div data-sidebar-target class="fixed z-50 hidden w-full max-w-xs p-6 text-base font-semibold -translate-x-1/2 bg-white rounded-lg shadow-lg top-4 left-1/2 text-slate-900 dark:bg-slate-800 dark:text-slate-400 dark:highlight-white/5">
4947
<button type="button" data-sidebar-toggle class="absolute flex items-center justify-center w-8 h-8 top-5 right-5 text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-slate-300" tabindex="0">

‎tailwind.config.js‎

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,43 @@ module.exports = {
33
content: [
44
"./*.{html,js}"
55
],
6+
darkMode: "class",
67
theme: {
7-
extend: {},
8+
extend: {
9+
screens: {
10+
print: { raw: 'print' },
11+
},
12+
colors: {
13+
primary: {
14+
DEFAULT: "#00886e",
15+
50: "#eafff7",
16+
100: "#cbffeb",
17+
200: "#9dfddc",
18+
300: "#5ef7cc",
19+
400: "#25e9b8",
20+
500: "#00d0a1",
21+
600: "#00a983",
22+
700: "#00886e",
23+
800: "#006b57",
24+
900: "#00584a",
25+
950: "#00322b",
26+
}
27+
},
28+
fontFamily: {
29+
body: ["'Poppins'", "'Open San'", "'Sofia Sans Condensed'", "sans-serif", '"Suwannaphum"', "serif"],
30+
poppins: ['"Poppins"', 'sans-serif', '"Suwannaphum"', "serif"]
31+
},
32+
animation: {
33+
'spin-slow': 'spin 10s linear infinite',
34+
'faded': 'faded 2s linear',
35+
},
36+
keyframes: {
37+
faded: {
38+
'0%': { opacity: 0 },
39+
'100%': { opacity: 1 },
40+
}
41+
}
42+
},
843
},
944
plugins: [],
1045
}

0 commit comments

Comments
 (0)